Browse Source

创建标签不校验是否传质检报告

master_hella_20240701
zhaoxuebing 5 months ago
parent
commit
8d034b7b47
  1. 23
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

23
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -496,22 +496,13 @@ const buttonTableClick = async (val, row) => {
// //
handleDelete(row.masterId) handleDelete(row.masterId)
} else if (val == 'ssbq') { } else if (val == 'ssbq') {
await SupplierdeliverRequestMainApi.selfCheckReport(row.masterId).then(async (res) => { //
if(!res){ detatableData.params = {
message.warning(t('ts.请先上传自检报告!')) masterId:row.masterId
return }
}else{ genLabelId.value = row.masterId
// await getDetailList()
detatableData.params = { formLabelRef.value.open('create', row, null,'createLabel')// createLabel
masterId:row.masterId
}
genLabelId.value = row.masterId
await getDetailList()
formLabelRef.value.open('create', row, null,'createLabel')// createLabel
}
}).catch(err => {
console.log("自检报告校验异常",err)
})
} else if (val == 'point') { } else if (val == 'point') {
// //
labelPrint(row) labelPrint(row)

Loading…
Cancel
Save