Commit 0f6d49a4 by lichengming

修改了样品拆分编号显示

parent 19b64c13
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
></Input> ></Input>
</div> </div>
<div v-else-if="item.key==='sampleCode'"> <div v-else-if="item.key==='sampleCode'">
{{scope.row[item.key]}}{{'--'+scope.row.index}} {{scope.row[item.key]+'--'}}{{Number(scope.row.index)+1}}
</div> </div>
<span v-else> <span v-else>
{{ scope.row[item.key] }} {{ scope.row[item.key] }}
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
this.getPage.records[i].sampleCode = this.getPage.records[i].sampleCode =
this.getPage.records[i].sampleCode + this.getPage.records[i].sampleCode +
'-' + '-' +
this.getPage.records[i].index (this.getPage.records[i].index + 1)
console.log(this.getPage.records[i]) console.log(this.getPage.records[i])
this._addSample(this.getPage.records[i]) this._addSample(this.getPage.records[i])
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment