|
@@ -256,7 +256,7 @@
|
|
|
<el-table-column align="center" label="税率" prop="taxRate" min-width="100" show-overflow-tooltip />
|
|
|
<el-table-column align="center" label="操作" width="100" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="text" @click="deleteItem(scope.$index,scope.row.id)">删除</el-button>
|
|
|
+ <el-button type="text" @click="deleteItem(scope.$index,scope.row.cid)">删除</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -533,6 +533,7 @@ export default {
|
|
|
this.examineStatus = data.examineStatus
|
|
|
data.items.forEach(item => {
|
|
|
item.cantDel = true
|
|
|
+ item.cid = item.id
|
|
|
})
|
|
|
this.goodsList = data.items
|
|
|
})
|
|
@@ -754,7 +755,7 @@ export default {
|
|
|
|
|
|
this.goodsList = this.goodsList.concat(this.rightGoodsList)
|
|
|
this.goodsList.forEach(k => {
|
|
|
- k.id = ''
|
|
|
+ k.cid = ''
|
|
|
})
|
|
|
this.isShowGoodsDialog = false
|
|
|
this.leftGoodsList = []
|