|
|
@ -186,9 +186,9 @@ const butttondata = (row,$index) => { |
|
|
|
return [] |
|
|
|
} |
|
|
|
return [ |
|
|
|
// defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 |
|
|
|
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 |
|
|
|
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:purchasereceipt-job-main:close'}), // 关闭 |
|
|
|
// defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 |
|
|
|
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 |
|
|
|
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 |
|
|
|
] |
|
|
|
} |
|
|
@ -199,10 +199,14 @@ const buttonTableClick = async (val, row) => { |
|
|
|
console.log('列表-操作按钮事件-执行') |
|
|
|
} else if (val == 'mainJobAba') { // 放弃 |
|
|
|
console.log('列表-操作按钮事件-放弃') |
|
|
|
await PurchasereturnJobMainApi.abandonPurchasereturnJobMain(row.masterId) |
|
|
|
getList() |
|
|
|
} else if (val == 'mainJobClo') { // 关闭 |
|
|
|
handleClose(row.masterId) |
|
|
|
} else if (val == 'mainJobAcc') { // 承接 |
|
|
|
console.log('列表-操作按钮事件-承接') |
|
|
|
await PurchasereturnJobMainApi.acceptPurchasereturnJobMain(row.masterId) |
|
|
|
getList() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|