|
|
@ -1,7 +1,5 @@ |
|
|
|
|
|
|
|
|
|
|
|
let jobStatusList = []; |
|
|
|
let itemStatusList =[]; |
|
|
|
let itemStatusList = []; |
|
|
|
let locationTypeList = []; |
|
|
|
let uomList = []; |
|
|
|
let inventoryStatusList = []; |
|
|
@ -13,6 +11,7 @@ let unplannedIssueReasonList = []; |
|
|
|
let unplannedIissueReason = []; |
|
|
|
let scrapReasonList = []; |
|
|
|
let inspectFailedReasonList = []; |
|
|
|
let inspectResultList = []; |
|
|
|
let nextActionList = []; |
|
|
|
let inspectTypeList = []; |
|
|
|
let sampleMethodList = []; |
|
|
@ -21,6 +20,8 @@ let countStageList = []; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取业务类型字典项
|
|
|
|
export function getBusinessTypeDesc(type) { |
|
|
|
if (type == "SupplierDeliver") { |
|
|
@ -37,7 +38,7 @@ export function getBusinessTypeDesc(type) { |
|
|
|
//获取字典信息
|
|
|
|
export function clearCacheData() { |
|
|
|
jobStatusList = []; |
|
|
|
itemStatusList =[]; |
|
|
|
itemStatusList = []; |
|
|
|
locationTypeList = []; |
|
|
|
uomList = []; |
|
|
|
inventoryStatusList = []; |
|
|
@ -45,15 +46,16 @@ export function clearCacheData() { |
|
|
|
packUnitList = []; |
|
|
|
requestStatusList = []; |
|
|
|
unplannedReceiptReasonList = []; |
|
|
|
unplannedIssueReasonList=[]; |
|
|
|
unplannedIssueReasonList = []; |
|
|
|
unplannedIissueReason = []; |
|
|
|
scrapReasonList = []; |
|
|
|
inspectFailedReasonList = []; |
|
|
|
inspectResultList = []; |
|
|
|
nextActionList = []; |
|
|
|
inspectTypeList = []; |
|
|
|
sampleMethodList =[]; |
|
|
|
sampleMethodList = []; |
|
|
|
transferModeList = []; |
|
|
|
countStageList =[]; |
|
|
|
countStageList = []; |
|
|
|
} |
|
|
|
|
|
|
|
//获取字典信息
|
|
|
@ -375,6 +377,20 @@ export function getInspectFailedReasonList(value) { |
|
|
|
return inspectFailedReasonList |
|
|
|
} |
|
|
|
|
|
|
|
//获取检验结果
|
|
|
|
export function getInspectResultList(value) { |
|
|
|
if (inspectResultList.length == 0) { |
|
|
|
inspectResultList = getDirectoryInfo("inspect_result") |
|
|
|
} |
|
|
|
inspectResultList.forEach(res => { |
|
|
|
res.text = res.label; |
|
|
|
res.value = res.value |
|
|
|
}) |
|
|
|
return inspectResultList |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取下一步动作
|
|
|
|
export function getNextActionList(value) { |
|
|
|
if (nextActionList.length == 0) { |
|
|
@ -455,12 +471,3 @@ export function getCountStageName(value) { |
|
|
|
} |
|
|
|
return resultInfo |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|