Browse Source

WMS bug:HL-5613 生产隔离退料申请中缺少创建标签的按钮

hella_online_20240828
gaojs 3 months ago
parent
commit
f29a9110b6
  1. 24
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

24
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -473,18 +473,18 @@ const buttonTableClick = async (val, row) => {
} else if (val == 'mainHandle') { // } else if (val == 'mainHandle') { //
// //
// let isCreateLabel = false let isCreateLabel = false
// await PackageApi.getPackagePage({ await PackageApi.getPackagePage({
// requestNumber: row.number requestNumber: row.number
// }).then(res => { }).then(res => {
// if (res) { if (res) {
// if (res.list.length > 0) isCreateLabel = true if (res.list.length > 0) isCreateLabel = true
// } }
// }) })
// if (!isCreateLabel) { if (!isCreateLabel) {
// message.warning('') message.warning('请先创建标签')
// return return
// } }
tableObject.loading = true tableObject.loading = true
ProductionreturnRequestMainNoApi.handle(row.masterId).then(() => { ProductionreturnRequestMainNoApi.handle(row.masterId).then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))

Loading…
Cancel
Save