Browse Source

隔离退料申请与生产退料申请打印标签修改

hella_online_20250306
赵雪冰 1 month ago
parent
commit
ac9e256bdd
  1. 8
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
  2. 8
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

8
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -538,19 +538,19 @@ const buttonTableClick = async (val, row) => {
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailLabelRules.productionLineCodePackage[0].required = false
}
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = true
itemColumns.tableForm.disabled = false
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = true
ProductionreturnRequestDetailLabelRules.supplierCode[0].required = true
}
})
} else {
// tableform
detailListTableColumns.tableFormColumns.map(itemColumns => {
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = false
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = false
ProductionreturnRequestDetailLabelRules.supplierCode[0].required = false
}
if(itemColumns.field == 'productionLineCodePackage') {
item.productionLineCodePackage = item.productionLineCode

8
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -527,19 +527,19 @@ const buttonTableClick = async (val, row) => {
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailNoLabelRules.productionLineCodePackage[0].required = false
}
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = true
itemColumns.tableForm.disabled = false
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = true
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = true
}
})
} else {
// tableform
detailListTableColumns.tableFormColumns.map(itemColumns => {
if(itemColumns.field == 'supplierItemCode') {
if(itemColumns.field == 'supplierCode') {
itemColumns.tableForm.isInpuFocusShow = false
itemColumns.tableForm.disabled = true
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = false
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = false
}
if(itemColumns.field == 'productionLineCodePackage') {
item.productionLineCodePackage = item.productionLineCode

Loading…
Cancel
Save