Browse Source

供应商发货申请注释自检报告

master
chenfang 9 months ago
parent
commit
51a07a22de
  1. 18
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

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

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

Loading…
Cancel
Save