|
@@ -7,15 +7,24 @@
|
|
|
@resetColumn="resetColumnTwo('crud', 'option', 'optionList', 269)"
|
|
|
@saveColumn="saveColumnTwo('crud', 'option', 'optionList', 269)" :page.sync="page">
|
|
|
<template slot-scope="{ row }" slot="status">
|
|
|
- <span v-for="item in orderStatusList" :style="{ background: item.colour }" class="bottomBox"
|
|
|
- v-if="item.dictKey == row.status">
|
|
|
- {{ item.dictValue }}
|
|
|
+ <span v-for="(item, index) in orderStatusList" :key="index">
|
|
|
+ <span v-if="item.dictKey == row.status" :style="{ background: item.colour }" class="bottomBox">
|
|
|
+ {{ item.dictValue }}
|
|
|
+ </span>
|
|
|
</span>
|
|
|
</template>
|
|
|
<template slot-scope="{ row }" slot="actualPaymentStatus">
|
|
|
- <span v-for="item in actualStatusList" :style="{ background: item.colour }" class="bottomBox"
|
|
|
- v-if="item.dictKey == row.actualPaymentStatus">
|
|
|
- {{ item.dictValue }}
|
|
|
+ <span v-for="(item, index) in actualStatusList" :key="index">
|
|
|
+ <span v-if="item.dictKey == row.actualPaymentStatus" :style="{ background: item.colour }" class="bottomBox">
|
|
|
+ {{ item.dictValue }}
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{ row }" slot="returnsStatus">
|
|
|
+ <span v-for="(item, index) in returnStatusList" :key="index">
|
|
|
+ <span v-if="item.dictKey == row.returnsStatus" :style="{ background: item.colour }" class="bottomBox">
|
|
|
+ {{ item.dictValue }}
|
|
|
+ </span>
|
|
|
</span>
|
|
|
</template>
|
|
|
<!--actualPaymentStatus-->
|
|
@@ -33,7 +42,7 @@
|
|
|
<crop-select v-model="search.corpId" corpType="KH" :refresh="false"></crop-select>
|
|
|
</template>
|
|
|
<template slot="notCompleteSearch">
|
|
|
- <el-checkbox v-model="search.notComplete" true-label="1" ></el-checkbox>
|
|
|
+ <el-checkbox v-model="search.notComplete" true-label="1"></el-checkbox>
|
|
|
</template>
|
|
|
<template slot-scope="{type,size,row,$index}" slot="menuLeft">
|
|
|
<el-button icon="el-icon-plus" type="primary" :size="size" @click="detailsOpen = true">新建订单</el-button>
|
|
@@ -70,6 +79,7 @@ export default {
|
|
|
detailsOpen: false,
|
|
|
orderStatusList: [],
|
|
|
actualStatusList: [],
|
|
|
+ returnStatusList: [],
|
|
|
loading: false,
|
|
|
search: {},
|
|
|
form: {},
|
|
@@ -336,6 +346,11 @@ export default {
|
|
|
// value: "dictKey"
|
|
|
// }
|
|
|
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '退货状态',
|
|
|
+ prop: "returnsStatus",
|
|
|
+ overHidden: true,
|
|
|
}, {
|
|
|
label: '应结日期',
|
|
|
prop: "dueDate",
|
|
@@ -473,6 +488,9 @@ export default {
|
|
|
this.getWorkDicts("settlement_Status").then(res => {
|
|
|
this.actualStatusList = res.data.data
|
|
|
});
|
|
|
+ this.getWorkDicts("return_Status").then(res => {
|
|
|
+ this.returnStatusList = res.data.data
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
// 导出
|