|
@@ -158,7 +158,15 @@
|
|
|
"
|
|
|
></el-tag>
|
|
|
</template>
|
|
|
-
|
|
|
+ <template #order_type="{ scope }">
|
|
|
+ <el-tag
|
|
|
+ :size="tablebtnSize"
|
|
|
+ v-text="
|
|
|
+ (xs_order_type_options.find((item) => item.id == scope.row.order_type) || {})
|
|
|
+ .label || '--'
|
|
|
+ "
|
|
|
+ ></el-tag>
|
|
|
+ </template>
|
|
|
<template #operation="{ scope }">
|
|
|
<el-tooltip effect="dark" content="详情" placement="top">
|
|
|
<i
|
|
@@ -177,7 +185,7 @@ import { mapGetters } from "vuex";
|
|
|
import urlConfig from "@/apis/url-config";
|
|
|
import asyncRequest from "@/apis/sellOutOrder";
|
|
|
import { columns } from "./columns";
|
|
|
-
|
|
|
+import { xs_order_type_options } from "@/assets/js/statusList";
|
|
|
export default {
|
|
|
name: "sellOutOrder",
|
|
|
mixins: [mixinPage, resToken],
|
|
@@ -253,7 +261,8 @@ export default {
|
|
|
total: 0,
|
|
|
},
|
|
|
// 表格 - 列参数
|
|
|
- columns: columns,
|
|
|
+ columns,
|
|
|
+ xs_order_type_options,
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|