Browse Source

增加已创建标签校验

master
zhaoxuebing 11 months ago
parent
commit
a5e51dd488
  1. 13
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

13
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -277,6 +277,19 @@ const buttonTableClick = async (val, row) => {
} else if (val == 'delete') { //
handleDelete(row.id)
} else if( val == 'cjbq'){//
//
let isCreateLabel = false
await PackageApi.getPackagePage({
requestNumber: row.number
}).then(res => {
if (res) {
if (res.list.length > 0) isCreateLabel = true
}
})
if (isCreateLabel) {
message.warning('已创建过标签!!!')
return
}
console.log("列表-操作按钮事件-创建标签")
detatableData.params = {
masterId:row.id

Loading…
Cancel
Save