|
|
@ -196,6 +196,7 @@ import { usePageLoading } from '@/hooks/web/usePageLoading' |
|
|
|
import {exportProductreceiptRequestMainPredict} from "@/api/wms/productreceiptRequestMain"; |
|
|
|
import * as ItemPackageApi from "@/api/wms/itempackage"; |
|
|
|
import * as ruleApi from '@/api/wms/rule/index' |
|
|
|
import { cloneDeep } from 'lodash-es' |
|
|
|
const { loadStart, loadDone } = usePageLoading() |
|
|
|
// 制品收货申请 |
|
|
|
// 预生产收货申请 |
|
|
@ -635,6 +636,11 @@ const buttonTableClick = async (val, row) => { |
|
|
|
ProductreceiptRequestLabelRules.supplierItemCode[0].required = true |
|
|
|
} |
|
|
|
}) |
|
|
|
item.tableFormRules = cloneDeep(ProductreceiptRequestLabelRules) |
|
|
|
item.tableFormRules.productionLineCodePackage=[ |
|
|
|
{ required: true, message: '品番非可制造件无生产线', trigger:['change','blur'] } |
|
|
|
] |
|
|
|
console.log(111,item.tableFormRules) |
|
|
|
} else { |
|
|
|
// 修改 tableform 属性 |
|
|
|
detailListTableColumns.tableFormColumns.map((itemColumns) => { |
|
|
@ -650,6 +656,7 @@ const buttonTableClick = async (val, row) => { |
|
|
|
ProductreceiptRequestLabelRules.productionLineCodePackage[0].required = true |
|
|
|
} |
|
|
|
}) |
|
|
|
item.tableFormRules = cloneDeep(ProductreceiptRequestLabelRules) |
|
|
|
} |
|
|
|
} else { |
|
|
|
message.warning('没有查询到品番:【' + item.itemCode + '】') |
|
|
|