Commit da119cf3 authored by qhr's avatar qhr

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

parent b061f136
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
return { return {
loading: false, loading: false,
currBasicData: null, currBasicData: null,
form: { hasTaxExemption: '否' }, form: { hasTaxExemption:'否' },
formData: [{ formData: [{
title: '基本信息', title: '基本信息',
split: 2, split: 2,
...@@ -857,6 +857,8 @@ export default { ...@@ -857,6 +857,8 @@ export default {
}) })
} }
}) })
// 默认取第一个明细的是否免税状态
this.form.hasTaxExemption = data[0].hasTaxExemption
if (data.length > 0) { if (data.length > 0) {
this.formData[0].data.forEach(item => { this.formData[0].data.forEach(item => {
item.component.disabled = true 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