Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
zhaoxuebing 6 months ago
parent
commit
3a71946df2
  1. 7
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  2. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

7
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -678,7 +678,12 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
value:'productionLineCode',
message: '请填写生产线代码!',
isMainValue: true
}]
},{
key: 'businessTypeCode',
value: 'Issue',
isMainValue: false
}
]
},
form: {
// labelMessage: '信息提示说明!!!',

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

@ -725,7 +725,6 @@ const handleTur = async (id: number) => {
/** 处理按钮操作 */
const genRecords = async (id: number) => {
let getLoading = null
try {
await SupplierdeliverRequestMainApi.selfCheckReport(id).then(async res => {
if(!res){
message.warning(t('ts.请先上传自检报告!'))
@ -741,18 +740,21 @@ const genRecords = async (id: number) => {
//
SupplierdeliverRequestMainApi.genRecordsSupplierdeliverRequestMain(id).then(res => {
message.success(t('ts.处理成功!'))
console.log('resresresresres',res)
//
getList()
console.log('刷新列表')
getLoading?.close()
//
handleDocumentPrint(res)
})
}
}).catch(err => {
console.log("自检报告校验异常",err)
getLoading?.close()
})
} catch {}finally{
getLoading?.close()
}
}
/** 导出按钮操作 */

Loading…
Cancel
Save