给所有的单据加上可自定义展示的字段

This commit is contained in:
jishenghua
2025-03-26 23:01:50 +08:00
parent c1b7b0bae7
commit a0a1daac58
18 changed files with 202 additions and 60 deletions

View File

@@ -156,7 +156,9 @@
{ title: '颜色', key: 'color', width: '5%', type: FormTypes.normal },
{ title: '品牌', key: 'brand', width: '6%', type: FormTypes.normal },
{ title: '制造商', key: 'mfrs', width: '6%', type: FormTypes.normal },
{ title: '扩展信息', key: 'materialOther', width: '5%', type: FormTypes.normal },
{ title: '扩展1', key: 'otherField1', width: '4%', type: FormTypes.normal },
{ title: '扩展2', key: 'otherField2', width: '4%', type: FormTypes.normal },
{ title: '扩展3', key: 'otherField3', width: '4%', type: FormTypes.normal },
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal },
@@ -225,6 +227,7 @@
this.initDepot()
this.initPlatform()
this.initQuickBtn()
this.handleChangeOtherField()
},
//提交单据时整理成formData
classifyIntoFormData(allValues) {