更新
This commit is contained in:
@@ -837,13 +837,24 @@ export default {
|
||||
this.getSelect(initMaterialVariety, ['物料品种', '物料品种流水号'], 'MaterialVariety1', this.form.物料类别流水号)
|
||||
},
|
||||
handleEdit(row) {
|
||||
this.title = '编辑'
|
||||
this.supplierValue1 = ''
|
||||
this.MaterialCategory1 = []
|
||||
this.MaterialVariety1 = []
|
||||
this.supplierValue1 = row.供货商流水号
|
||||
this.dialogFormVisible1 = true
|
||||
this.form.物料流水号 = row.物料流水号
|
||||
this.form.物料类别流水号 = row.物料类别流水号
|
||||
this.form.物料品种流水号 = row.物料品种流水号
|
||||
this.form.物料名称 = row.物料名称
|
||||
this.form.物料全名 = row.物料全名
|
||||
this.form.物料规格 = row.物料规格
|
||||
this.form.物料型号 = row.物料型号
|
||||
this.form.计量单位流水号 = row.计量单位流水号
|
||||
this.form.物料来源流水号 = row.物料来源流水号
|
||||
this.form.GonghuoshangValue = parseInt(row.供货商流水号)
|
||||
this.getSelect(initMaterialCategory, ['物料类别', '物料类别流水号'], 'MaterialCategory1')
|
||||
this.getSelect(initMaterialVariety, ['物料品种', '物料品种流水号'], 'MaterialVariety1', row.物料类别流水号)
|
||||
this.editForm(row, 'form', [this.title = '编辑', this.dialogFormVisible1 = true])
|
||||
},
|
||||
submitEdit() {
|
||||
this.editTable(editData, [this.form.物料流水号, this.form.物料品种流水号, this.form.物料名称, this.form.物料全名, this.form.物料规格, this.form.物料型号, this.form.计量单位流水号, this.form.物料来源流水号, this.form.GonghuoshangValue], 'form', function() {
|
||||
|
||||
Reference in New Issue
Block a user