修改
This commit is contained in:
parent
fa3d09daa7
commit
f5dbdd3a82
@ -63,7 +63,14 @@
|
|||||||
<el-button v-if="scope.row.orderStatus == 'WAIT_PAY'">待付款</el-button>
|
<el-button v-if="scope.row.orderStatus == 'WAIT_PAY'">待付款</el-button>
|
||||||
<el-button type="primary" v-if="scope.row.orderStatus == 'PAY'">待发货</el-button>
|
<el-button type="primary" v-if="scope.row.orderStatus == 'PAY'">待发货</el-button>
|
||||||
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'">已取消</el-button>
|
<el-button type="danger" v-if="scope.row.orderStatus == 'CANCEL'">已取消</el-button>
|
||||||
<el-button type="primary" v-if="scope.row.orderStatus == 'WAIT_RECEIVED_GOODS'">待收货</el-button>
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
v-if="scope.row.orderStatus == 'WAIT_RECEIVED_GOODS'&&scope.row.orderType !='HEALTH_CONSULTATION'"
|
||||||
|
>待收货</el-button>
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
v-if="scope.row.orderStatus == 'WAIT_RECEIVED_GOODS'&&scope.row.orderType =='HEALTH_CONSULTATION'"
|
||||||
|
>待咨询</el-button>
|
||||||
<el-button type="primary" v-if="scope.row.orderStatus == 'RECEIVED_GOODS'">待评价</el-button>
|
<el-button type="primary" v-if="scope.row.orderStatus == 'RECEIVED_GOODS'">待评价</el-button>
|
||||||
<el-button type="success" v-if="scope.row.orderStatus == 'EVALUATED'">交易完成</el-button>
|
<el-button type="success" v-if="scope.row.orderStatus == 'EVALUATED'">交易完成</el-button>
|
||||||
<el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_REFUND'">退款中</el-button>
|
<el-button type="warning" v-if="scope.row.orderStatus == 'WAIT_REFUND'">退款中</el-button>
|
||||||
@ -877,17 +884,17 @@ export default {
|
|||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
updateGoodsOrder(this.form).then(response => {
|
updateGoodsOrder(this.form).then(response => {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
addGoodsOrder(this.form).then(response => {
|
addGoodsOrder(this.form).then(response => {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user