Commit da119cf3 authored by qhr's avatar qhr

优化采购入库界面编辑功能

parent b061f136
......@@ -64,7 +64,7 @@ export default {
return {
loading: false,
currBasicData: null,
form: { hasTaxExemption: '否' },
form: { hasTaxExemption:'否' },
formData: [{
title: '基本信息',
split: 2,
......@@ -857,6 +857,8 @@ export default {
})
}
})
// 默认取第一个明细的是否免税状态
this.form.hasTaxExemption = data[0].hasTaxExemption
if (data.length > 0) {
this.formData[0].data.forEach(item => {
item.component.disabled = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment