|
@@ -80,6 +80,21 @@
|
|
|
<el-option :label="item.name" :value="item.id" v-for="(item, index) in SupplierList" :key="index" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="订单来源" prop="payType">
|
|
|
+ <el-select
|
|
|
+ v-model="queryParams.payType"
|
|
|
+ placeholder="请选择订单来源"
|
|
|
+ style="width: 100%"
|
|
|
+ size="small"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ @change="handleQuery"
|
|
|
+ >
|
|
|
+ <el-option label="全部" value=""></el-option>
|
|
|
+ <el-option label="微信" value="2"></el-option>
|
|
|
+ <el-option label="支付宝" value="1"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button
|
|
|
type="primary"
|
|
@@ -120,7 +135,6 @@
|
|
|
>批量发货
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
-<!-- =====================================================================================================================================================================================-->
|
|
|
<el-col :span="1.5">
|
|
|
<el-button
|
|
|
type="infor"
|
|
@@ -225,6 +239,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="订单来源" min-width="95">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <div v-if="row.payType == '2'">微信</div>
|
|
|
+ <div v-else-if="row.payType == '1' || row.payType == '10'">支付宝</div>
|
|
|
+ <div v-else>--</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="80">
|
|
|
<template slot-scope="{ row }">
|
|
|
<div>
|
|
@@ -329,6 +350,7 @@ export default {
|
|
|
status: "",
|
|
|
tel: "",
|
|
|
supplierId: "",
|
|
|
+ payType: "",
|
|
|
},
|
|
|
// 分页
|
|
|
pageParams: {
|
|
@@ -518,6 +540,7 @@ export default {
|
|
|
status: "",
|
|
|
tel: "",
|
|
|
supplierId: "",
|
|
|
+ payType: "",
|
|
|
};
|
|
|
this.state = "no"
|
|
|
this.tradeTimeArr = [];
|
|
@@ -607,7 +630,7 @@ export default {
|
|
|
handleExportDraw() {
|
|
|
let data = {
|
|
|
...this.queryParams,
|
|
|
- resource: this.queryParams.resource == "" ? this.queryParams.resource: Number(this.queryParams.resource)
|
|
|
+ resource: this.queryParams.resource == '' ? this.queryParams.resource : Number(this.queryParams.resource),
|
|
|
}
|
|
|
this.$confirm("是否确认导出订单?", "提示", {
|
|
|
confirmButtonText: "确定",
|