|
|
@ -63,6 +63,11 @@ |
|
|
|
import { |
|
|
|
getBusinessType, |
|
|
|
} from '@/common/record.js'; |
|
|
|
import { |
|
|
|
goHome, |
|
|
|
updateTitle, |
|
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
@ -88,7 +93,7 @@ |
|
|
|
businessTypeCode: "UnplannedReceipt", |
|
|
|
reason: "", |
|
|
|
reasonList: [], |
|
|
|
fromType:"" |
|
|
|
fromType: "" |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
@ -101,13 +106,18 @@ |
|
|
|
this.tolocationTypeList = res.tolocationTypeList; |
|
|
|
this.openScanPopup(); |
|
|
|
} else { |
|
|
|
this.$refs.comMessage.showBreakMessage(res.message ); |
|
|
|
this.$refs.comMessage.showBreakMessage(res.message); |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
onLoad(option) { |
|
|
|
this.fromType = option.fromType |
|
|
|
this.fromType = option.fromType |
|
|
|
if (this.fromType == "requestType") { |
|
|
|
updateTitle("计划外入库申请") |
|
|
|
} else { |
|
|
|
updateTitle("计划外入库记录") |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
@ -175,7 +185,7 @@ |
|
|
|
detail.inventoryStatus = "kcztOK" |
|
|
|
detail.stdPackQty = pack.stdPackQty; |
|
|
|
detail.stdPackUnit = pack.stdPackUnit; |
|
|
|
label.inventoryStatus="kcztOK"; |
|
|
|
label.inventoryStatus = "kcztOK"; |
|
|
|
detail.package = pack; |
|
|
|
detail.label = label; |
|
|
|
return detail; |
|
|
|