给单据增加颜色字段的展示

This commit is contained in:
季圣华
2021-10-11 23:57:57 +08:00
parent 60cefec95e
commit d2226876fa
18 changed files with 70 additions and 63 deletions

View File

@@ -132,6 +132,7 @@
{ title: '名称', key: 'name', width: '6%', type: FormTypes.input, readonly: true },
{ title: '规格', key: 'standard', width: '5%', type: FormTypes.input, readonly: true },
{ title: '型号', key: 'model', width: '5%', type: FormTypes.input, readonly: true },
{ title: '颜色', key: 'color', width: '5%', type: FormTypes.input, readonly: true },
{ title: '扩展信息', key: 'materialOther', width: '5%', type: FormTypes.input, readonly: true },
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.input, readonly: true },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.input, readonly: true },
@@ -169,7 +170,7 @@
methods: {
//调用完edit()方法之后会自动调用此方法
editAfter() {
this.changeFormTypes(this.materialTable.columns, 'sku', 0)
this.changeColumnHide()
if (this.action === 'add') {
this.addInit(this.prefixNo)
this.fileList = []