|
@@ -40,18 +40,10 @@
|
|
|
|
|
|
|
|
<template v-slot:status="{ row }">
|
|
<template v-slot:status="{ row }">
|
|
|
<el-tag
|
|
<el-tag
|
|
|
- :type="
|
|
|
|
|
- row.status == '0' ? 'danger' : row.status == '1' ? '' : 'success'
|
|
|
|
|
- "
|
|
|
|
|
|
|
+ :type="['danger', 'success', 'warning', 'danger'][row.status]"
|
|
|
effect="dark"
|
|
effect="dark"
|
|
|
>{{
|
|
>{{
|
|
|
- row.status == '0'
|
|
|
|
|
- ? '未领料'
|
|
|
|
|
- : row.status == '1'
|
|
|
|
|
- ? '领料中'
|
|
|
|
|
- : row.status == '2'
|
|
|
|
|
- ? '已出库'
|
|
|
|
|
- : ''
|
|
|
|
|
|
|
+ statusList[row.status]
|
|
|
}}</el-tag
|
|
}}</el-tag
|
|
|
>
|
|
>
|
|
|
</template>
|
|
</template>
|
|
@@ -121,7 +113,11 @@
|
|
|
detailedShow: false,
|
|
detailedShow: false,
|
|
|
detailedObj: null,
|
|
detailedObj: null,
|
|
|
|
|
|
|
|
- selfDetailedShow: false
|
|
|
|
|
|
|
+ selfDetailedShow: false,
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ statusList: ['未领料', '领料中', '已出库', '已驳回'],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|