|
|
@@ -172,8 +172,8 @@ export default {
|
|
|
// 解析 value 对应的 status 和 reason
|
|
|
const mapping = {
|
|
|
1: { status: 0, reason: 0 }, // 正常
|
|
|
- 2: { status: 1, reason: 1 }, // 过期
|
|
|
- 3: { status: 1, reason: 2 }, // 损坏
|
|
|
+ 2: { status: 1, reason: 2 }, // 过期
|
|
|
+ 3: { status: 1, reason: 1 }, // 损坏
|
|
|
};
|
|
|
|
|
|
row.status = mapping[row.value].status;
|