You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
2.0 KiB
135 lines
2.0 KiB
2 years ago
|
//出库原因
|
||
|
export function getIssueReasonArray() {
|
||
|
let array = [{
|
||
|
text: '原因1',
|
||
|
value: '1'
|
||
|
}, {
|
||
|
text: '原因2',
|
||
|
value: '2'
|
||
|
}, {
|
||
|
text: '原因3',
|
||
|
value: '3'
|
||
|
}];
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
|
||
|
//入库原因
|
||
|
export function getReceiptReasonArray() {
|
||
|
let array = [{
|
||
|
text: '原因1',
|
||
|
value: '1'
|
||
|
}, {
|
||
|
text: '原因2',
|
||
|
value: '2'
|
||
|
}, {
|
||
|
text: '原因3',
|
||
|
value: '3'
|
||
|
}];
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
|
||
|
// 检验任务,不合格原因
|
||
|
export function getFailedReasonArray() {
|
||
|
let array = [{
|
||
|
text: '外观不良',
|
||
|
value: '外观不良'
|
||
|
}, {
|
||
|
text: '尺寸超差',
|
||
|
value: '尺寸超差'
|
||
|
}, {
|
||
|
text: '功能失效',
|
||
|
value: '功能失效'
|
||
|
}, {
|
||
|
text: '标签不符',
|
||
|
value: '标签不符'
|
||
|
}, {
|
||
|
text: '检验报告异常',
|
||
|
value: '检验报告异常'
|
||
|
}, {
|
||
|
text: '其他',
|
||
|
value: '其他'
|
||
|
}]
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
// 检验任务,下一步动作
|
||
|
export function getNextStepArray() {
|
||
|
let array = [{
|
||
|
text: '整批不合格',
|
||
|
value: 1
|
||
|
}, {
|
||
|
text: '挑选',
|
||
|
value: 2
|
||
|
}, {
|
||
|
text: '部分合格',
|
||
|
value: 3
|
||
|
}]
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
// 库存状态字典项
|
||
|
export function getInventoryStatusArray() {
|
||
|
let array = [{
|
||
|
text: '待检',
|
||
|
value: 1
|
||
|
}, {
|
||
|
text: '合格',
|
||
|
value: 2
|
||
|
}, {
|
||
|
text: '不合格',
|
||
|
value: 3
|
||
|
}, {
|
||
|
text: '隔离',
|
||
|
value: 4
|
||
|
}, {
|
||
|
text: '报废',
|
||
|
value: 5
|
||
|
}, {
|
||
|
text: '冻结',
|
||
|
value: 6
|
||
|
}]
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
//隔离库存处理操作
|
||
|
export function getHoldStatusArray() {
|
||
|
let array = [{
|
||
|
text: '隔离转合格',
|
||
|
value: 1
|
||
|
}, {
|
||
|
text: '隔离出库',
|
||
|
value: 2
|
||
|
}, {
|
||
|
text: '合格转隔离',
|
||
|
value: 3
|
||
|
}]
|
||
|
return array;
|
||
|
}
|
||
|
|
||
|
|
||
|
// 检验任务,不合格原因
|
||
|
export function getReturnReasonArray() {
|
||
|
let array = [{
|
||
|
text: '外观不良',
|
||
|
value: '外观不良'
|
||
|
}, {
|
||
|
text: '尺寸超差',
|
||
|
value: '尺寸超差'
|
||
|
}, {
|
||
|
text: '功能失效',
|
||
|
value: '功能失效'
|
||
|
}, {
|
||
|
text: '标签不符',
|
||
|
value: '标签不符'
|
||
|
}, {
|
||
|
text: '检验报告异常',
|
||
|
value: '检验报告异常'
|
||
|
}, {
|
||
|
text: '其他',
|
||
|
value: '其他'
|
||
|
}]
|
||
|
return array;
|
||
|
}
|