ソースを参照

adm:feat > 台账详情删除系统,竖井

shaun-sheep 4 年 前
コミット
d29105caf3

+ 1 - 1
src/components/ledger/handsontables/system.vue

@@ -492,7 +492,7 @@ export default {
         let params = tools.differenceArr(this.tableData, this.copyMain)
         let param = []
         params.map(item => {
-          param.push({ SysID: item.SysID })
+          param.push({ id: item.id })
         })
         this.removeSys(param)
       }).catch(() => {

+ 1 - 1
src/views/ledger/cenotelist/cenoteDetail/index.vue

@@ -272,7 +272,7 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        deleteCenoteTableData([{ ShaftID: this.params.ShaftID }], res => {
+        deleteCenoteTableData([{ id: this.params.ShaftID }], res => {
           this.$message.success('删除成功')
           this.goBack()
         })

+ 1 - 1
src/views/ledger/system/systemDetail/index.vue

@@ -501,7 +501,7 @@ export default {
         type: 'warning'
       }).then(() => {
         let pa = [{
-          SysID: this.exampleData.SysID
+          id: this.exampleData.id
         }]
         this.removeSys(pa)
       }).catch(() => {