Commit 7c08aa1b authored by xioln's avatar xioln

采购入库外购成品添加明细

parent 171765b7
......@@ -1387,6 +1387,25 @@ export default {
default:
break
}
// 外购成品添加明细时
if (this.header.materialTypeName.label === '外购成品' && !childrenAddOrEdit) {
this.formFileds[0].data.push(
{
title: '是否虚拟件',
key: 'isVirtual',
component: {
clearable: true,
name: 'el-select',
placeholder: '请选择是否虚拟件',
options: [
{ label: '否', value: false },
{ label: '是', value: true }
]
}
}
)
}
// 添加子明细时
if (childrenAddOrEdit) {
this.formFileds[0].data.push(
{
......@@ -1398,6 +1417,19 @@ export default {
placeholder: '请输入批次号'
}
},
{
title: '子件附件',
key: 'smallType',
component: {
clearable: true,
name: 'el-select',
placeholder: '请选择子件附件',
options: [
{ label: '子件', value: '子件' },
{ label: '附件', value: '附件' }
]
}
}
)
}
this.getBasicData()
......
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