Browse Source

装配收货记录功能

hella_online_20240829
wangyufei 5 months ago
parent
commit
816ecad73f
  1. 15
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

15
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

@ -241,8 +241,23 @@ const butttondata = (row,$index) => {
const buttonTableClick = async (val, row) => {
if (val == 'point') { //
labelPrint(row)
}else if(val == 'inspectRequest'){//
handleCreateInspectRequest(row.number)
}
}
/** 生成到货检验申请按钮操作 */
const handleCreateInspectRequest = async (number:string) => {
try{
await message.confirm(t('ts.确认生成到货检验申请吗?'))
tableObject.loading = true
await ProductreceiptRecordMainApi.createInspectRequest(number)
message.success(t('ts.到货检验申请生成成功'))
await getList()
}catch{}finally{
tableObject.loading = false
}
}
const searchTableRef = ref()
const labelType = ref('') //
const labelPrint = async (row) => {

Loading…
Cancel
Save