给单据录入界面增加品牌和制造商的展示

This commit is contained in:
jishenghua
2024-10-10 00:57:26 +08:00
parent b049f10557
commit 5ea46cccf4
15 changed files with 38 additions and 0 deletions

View File

@@ -606,6 +606,8 @@ export const BillModalMixin = {
standard: mInfo.standard,
model: mInfo.model,
color: mInfo.color,
brand: mInfo.brand,
mfrs: mInfo.mfrs,
materialOther: mInfo.materialOther,
unit: mInfo.commodityUnit,
sku: mInfo.sku,
@@ -621,6 +623,8 @@ export const BillModalMixin = {
changeColumnHide() {
this.changeFormTypes(this.materialTable.columns, 'model', 0)
this.changeFormTypes(this.materialTable.columns, 'color', 0)
this.changeFormTypes(this.materialTable.columns, 'brand', 0)
this.changeFormTypes(this.materialTable.columns, 'mfrs', 0)
this.changeFormTypes(this.materialTable.columns, 'materialOther', 0)
this.changeFormTypes(this.materialTable.columns, 'sku', 0)
},
@@ -632,6 +636,12 @@ export const BillModalMixin = {
if(info.color) {
this.changeFormTypes(this.materialTable.columns, 'color', 1)
}
if(info.brand) {
this.changeFormTypes(this.materialTable.columns, 'brand', 1)
}
if(info.mfrs) {
this.changeFormTypes(this.materialTable.columns, 'mfrs', 1)
}
if(info.materialOther) {
this.changeFormTypes(this.materialTable.columns, 'materialOther', 1)
}