|
|
@ -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 |
|
|
@ -734,7 +734,7 @@ const submitFormLabel = async (formType, submitData) => { |
|
|
|
|
|
|
|
let flag = true |
|
|
|
detatableData.tableList.forEach(item => { |
|
|
|
if(!item.supplierItemCode){ |
|
|
|
if(!item.supplierCode){ |
|
|
|
flag = false |
|
|
|
} |
|
|
|
}); |
|
|
@ -859,7 +859,7 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) |
|
|
|
window.open(src.value+'&asn_number='+res) |
|
|
|
} else { |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/922729953438072832?token=' + getAccessToken()) |
|
|
|
const src = ref(BASE_URL + '/jmreport/view/922734157577715712?token=' + getAccessToken()) |
|
|
|
window.open(src.value+'&asn_number='+res) |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|