|
@@ -12,11 +12,13 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="订单状态" prop="orderStatus">
|
|
|
<el-select v-model="queryParams.orderStatus" placeholder="请选择订单状态" clearable style="width: 180px">
|
|
|
+ <el-option key="5" label="待入厂" value="5" />
|
|
|
<el-option key="6" label="清洗中" value="6" />
|
|
|
<el-option key="7" label="已上挂" value="7" />
|
|
|
<el-option key="8" label="待送衣" value="8" />
|
|
|
<el-option key="9" label="送衣中" value="9" />
|
|
|
<el-option key="11" label="已完成" value="11" />
|
|
|
+ <el-option key="-1" label="已取消" value="-1" />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="订单条码" prop="orderNo">
|
|
@@ -53,7 +55,7 @@
|
|
|
{{ scope.row.orderNo }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="衣服数量" align="center" width="150">
|
|
|
+ <el-table-column label="衣服数量" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.orderClothCount }}件
|
|
|
</template>
|
|
@@ -64,7 +66,7 @@
|
|
|
{{ scope.row.sysOrg.name }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="客户姓名" align="center" width="150">
|
|
|
+ <el-table-column label="客户姓名" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="customer-name">
|
|
|
<i class="el-icon-user"></i>
|
|
@@ -80,30 +82,45 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="订单金额" align="center" width="120">
|
|
|
+ <el-table-column label="支付方式" align="center" width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if=" scope.row.payType === '0'">微信</span>
|
|
|
+ <span v-if=" scope.row.payType === '1'">支付宝</span>
|
|
|
+ <span v-if=" scope.row.payType === '2'">现金</span>
|
|
|
+ <span v-if=" scope.row.payType === '3'">会员余额</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="订单金额" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="value">¥{{ scope.row.payAmount }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="支付方式" align="center" width="200">
|
|
|
+ <el-table-column label="收款类型" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.payTimeType === '0' ? '收衣付款' : '取衣付款' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="订单状态" align="center" width="200">
|
|
|
+ <el-table-column label="订单状态" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="status-group">
|
|
|
<dict-tag :options="dict.type.cloth_order_status" :value="scope.row.orderStatus" />
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="支付状态" align="center" width="200">
|
|
|
+ <el-table-column label="支付状态" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="status-group">
|
|
|
<dict-tag :options="dict.type.pay_status" :value="scope.row.payStatus" />
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="退款状态" align="center" width="200">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div class="status-group">
|
|
|
+ <dict-tag :options="dict.type.goods_order_refund_status" :value="scope.row.refundStatus" />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="下单时间" align="center" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="time-info">
|
|
@@ -112,11 +129,11 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" align="center" min-width="180" fixed="right">
|
|
|
+ <el-table-column label="操作" align="center" min-width="240" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" icon="el-icon-s-order" size="mini" @click="handleDetail(scope.row)"> 订单详情 </el-button>
|
|
|
<el-button type="text" icon="el-icon-printer" size="mini" @click="btn_lodop(scope.row)" v-if="userInfoVO.userType != '00'"> 打印订单 </el-button>
|
|
|
- <el-button type="text" icon="el-icon-close" size="mini" @click="handleClose(scope.row)" v-if="scope.row.orderStatus != '10' && scope.row.orderStatus != '11' && scope.row.orderStatus != '4'"> 撤销 </el-button>
|
|
|
+ <el-button type="text" icon="el-icon-close" size="mini" @click="handleClose(scope.row)" v-if="scope.row.refundStatus == '0' && scope.row.orderStatus != '10' && scope.row.orderStatus != '11' && scope.row.orderStatus != '4'"> 撤销 </el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</Page>
|
|
@@ -175,8 +192,8 @@
|
|
|
<el-table-column label="衣物照片" align="center" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="cloth-photos" v-if="scope.row.pics">
|
|
|
- <el-image
|
|
|
- v-for="(pic, index) in scope.row.pics.split(',')"
|
|
|
+ <el-image
|
|
|
+ v-for="(pic, index) in scope.row.pics.split(',')"
|
|
|
:key="index"
|
|
|
:src="pic"
|
|
|
:preview-src-list="scope.row.pics.split(',')"
|
|
@@ -229,12 +246,12 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="洗衣速度" align="center" prop="clothSpeedName" width="120" />
|
|
|
-
|
|
|
+
|
|
|
<el-table-column label="备注" align="center" min-width="150">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-tooltip
|
|
|
- :content="scope.row.remark"
|
|
|
- placement="top"
|
|
|
+ <el-tooltip
|
|
|
+ :content="scope.row.remark"
|
|
|
+ placement="top"
|
|
|
:disabled="!scope.row.remark || scope.row.remark.length <= 20"
|
|
|
>
|
|
|
<span class="remark-text">{{ scope.row.remark || '暂无备注' }}</span>
|
|
@@ -473,12 +490,15 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.pointerInfo = row
|
|
|
-
|
|
|
+ console.log()
|
|
|
+ const _ = this
|
|
|
listOrderClothItem({ pageSize: 99999, pageNum: 1, orderNo: row.orderNo }).then((res) => {
|
|
|
- this.pointerInfo.orderClothDetails = res.data.records
|
|
|
+ console.log("AAAAA", res)
|
|
|
+ this.pointerInfo.orderClothDetails = res.rows
|
|
|
+ this.pointerType = true
|
|
|
})
|
|
|
|
|
|
- this.pointerType = true
|
|
|
+
|
|
|
},
|
|
|
setPointer(type) {
|
|
|
if (!this.LODOP) {
|