优化单据中仓库、账户之类的下拉框
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
dataSource: [],
|
||||
columns: [
|
||||
{ title: '仓库名称', key: 'depotId', width: '8%', type: FormTypes.select, placeholder: '请选择${title}', options: [],
|
||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||
allowSearch:true, validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||
},
|
||||
{ title: '条码', key: 'barCode', width: '10%', type: FormTypes.popupJsh, multi: false,
|
||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||
@@ -259,6 +259,10 @@
|
||||
let url = this.readOnly ? this.url.detailList : this.url.detailList;
|
||||
this.requestSubTableData(url, params, this.materialTable);
|
||||
}
|
||||
this.initCustomer()
|
||||
this.initSalesman()
|
||||
this.initDepot()
|
||||
this.initAccount()
|
||||
},
|
||||
//提交单据时整理成formData
|
||||
classifyIntoFormData(allValues) {
|
||||
|
||||
Reference in New Issue
Block a user