Commit 1b5f66b5 authored by jingnan's avatar jingnan 👀

领用出库增加非上机材料领用

parent 96cacae7
......@@ -72,6 +72,7 @@ export default {
switch (val) {
case 'useAO' :
case 'materialUse':
case 'NoMachineMaterialUse':
this.amountItemLabel = '申领数量'
this.$set(this.cmpOptions, 'layKey', `outStorageUseMaterial_Add_${val}`)
break
......
......@@ -119,6 +119,8 @@ export default {
if (val && val.useRequestType) {
if (val.useRequestType === 'noAO' || val.useRequestType === 'testUse' || val.useRequestType === 'FOUse') {
this.$set(this.cmpOptions, 'layKey', `add_outStorageUseItem_noAO`)
} else if (val.useRequestType === 'materialUse' || val.useRequestType === 'NoMachineMaterialUse') {
this.$set(this.cmpOptions, 'layKey', `add_outStorageUseItem_materialUse`)
} else {
this.$set(this.cmpOptions, 'layKey', `add_outStorageUseItem_${val.useRequestType}`)
}
......
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