Browse Source

完善采购渠道--作废

zhanglei
yunuo970428 1 year ago
parent
commit
247f384efa
  1. 8
      anrui-scm/anrui-scm-ui/src/views/purchasingchannels/caigouqudaotobeselected.vue

8
anrui-scm/anrui-scm-ui/src/views/purchasingchannels/caigouqudaotobeselected.vue

@ -206,6 +206,7 @@ export default {
tableKey: 0,
list: [],
sids: [],
sid_list: [],
orgDept_list: [],
purchaseOrderType_list: [],
purchaseSystem_list: [],
@ -333,6 +334,7 @@ export default {
},
handleSelectionChange(row) {
const aa = []
const bb = []
row.forEach((element) => {
aa.push({
sid: element.sid,
@ -343,8 +345,10 @@ export default {
purchaseSystemSid: '',
purchaseSystemName: ''
})
bb.push(element.sid)
})
this.sids = aa
this.sid_list = bb
},
//
getList() {
@ -370,8 +374,8 @@ export default {
}
},
doCancellation() {
if (this.sids.length > 0) {
req.cancel(this.sids).then((res) => {
if (this.sid_list.length > 0) {
req.cancel(this.sid_list).then((res) => {
if (res.success) {
this.$message({ showClose: true, type: 'success', message: '作废成功' })
this.getList()

Loading…
Cancel
Save