Commit 763b030a authored by xioln's avatar xioln

fix:采购入库

parent 9b0bda57
...@@ -1562,6 +1562,7 @@ export default { ...@@ -1562,6 +1562,7 @@ export default {
value: item.defCode value: item.defCode
} }
}) })
this.$set(this.form, 'airModel', AIRMODEL.component.options[0].label)
}) })
}, },
// 根据机型带出架次 // 根据机型带出架次
......
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
}, },
icon: '/icons/components/new/add.png', icon: '/icons/components/new/add.png',
showFun: (row) => { showFun: (row) => {
const value = row.extMaterial ? row.extMaterial.resType2.typeName : '' const value = row.extMaterial ? row.extMaterial.resType2.typeName : row.materialTypeName
if (!row.isRoot || value !== '外购成品') { if (!row.isRoot || value !== '外购成品') {
return false return false
} }
......
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