|
@@ -234,6 +234,13 @@
|
|
|
</span>
|
|
|
</template>
|
|
|
|
|
|
+ <template #cgd_status="{ scope }">
|
|
|
+ <el-tag size="mini">
|
|
|
+ <template v-if="String(scope.row.order_type) === '1'">--</template>
|
|
|
+ <template v-else>{{(purchaseStatusOptions.find(({value}) => value === scope.row.cgd_status) || {}).label || '--'}}</template>
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+
|
|
|
<template #status="{ scope }">
|
|
|
<el-tag
|
|
|
:size="tablebtnSize"
|
|
@@ -359,6 +366,14 @@ export default {
|
|
|
{ id: "2", label: "发货已完成" },
|
|
|
{ id: "3", label: "订单已取消" },
|
|
|
],
|
|
|
+ /* 采购单状态 **/
|
|
|
+ purchaseStatusOptions:[
|
|
|
+ { value: '0', label: '待与供应商确认' },
|
|
|
+ { value: '1', label: '待入库' },
|
|
|
+ { value: '2', label: '部分入库' },
|
|
|
+ { value: '3', label: '入库完成' },
|
|
|
+ { value: '4', label: '已取消订单'}
|
|
|
+ ],
|
|
|
xs_order_type_options,
|
|
|
xs_order_source_options,
|
|
|
loading: false,
|