Commit 74263a1c authored by qhr's avatar qhr

入库单增加免税字段

parent 412d9a12
...@@ -114,6 +114,18 @@ export default { ...@@ -114,6 +114,18 @@ export default {
options: [] options: []
} }
}, },
{
title: "是否免税",
key: "hasTax",
component: {
clearable: true,
name: "el-select",
options: [
{ value: "Y", label: "是" },
{ value: "N", label: "否" },
],
},
},
{ {
title: '供应商', title: '供应商',
key: 'extDxSipplierId', key: 'extDxSipplierId',
...@@ -209,6 +221,13 @@ export default { ...@@ -209,6 +221,13 @@ export default {
message: '请填写表单信息', message: '请填写表单信息',
trigger: ['blur', 'change'] trigger: ['blur', 'change']
} }
],
hasTax: [
{
required: true,
message: '请填写表单信息',
trigger: ['blur', 'change']
}
] ]
}, },
tools: [ tools: [
...@@ -559,7 +578,20 @@ export default { ...@@ -559,7 +578,20 @@ export default {
}, },
isSignApproval() { isSignApproval() {
return this.$route && this.$route.name === 'TaskCenterHome' return this.$route && this.$route.name === 'TaskCenterHome'
},
invisibleHasTax:function() {
let filterData = this.formData[0].data;
if (this.form.billType === "OutSource") {
filterData = this.formData[0].data.filter((item) => item.key !== "hasTax");
} }
return [
{
title: "基本信息",
split: 2,
data: filterData || [],
},
];
},
}, },
watch: { watch: {
}, },
......
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