This commit is contained in:
lixuan
2023-02-27 16:53:38 +08:00
parent cba8576e30
commit d3a85324d1
4 changed files with 17 additions and 9 deletions

View File

@@ -229,6 +229,8 @@ export default {
// this.$set(this.billData.list,this.billData.index,this.billAddData)
this.$message.success(res.msg)
this.dialogDelivery = false
this.$forceUpdate()
this.$emit("closeWindow")
}
})
},
@@ -248,6 +250,7 @@ export default {
// this.$set(this.billData.list,index,this.billAddData)
this.$message.success(res.msg)
this.dialogBillAdd = false
this.$emit("closeWindow");
}
})
})
@@ -367,8 +370,8 @@ export default {
closeWindow() {
this.$emit("closeWindow");
this.form = {};
this.$refs.form.clearValidate();
this.controlWindows.bill = false;
this.$refs.form.clearValidate();
},
},
};

View File

@@ -134,7 +134,7 @@
<el-link type="primary" :underline="false" @click="detail(row)"
>详情</el-link
>
<el-link v-show="row.orderStatus!=='SUBMITED'&&row.orderStatus!=='ORDER_LOCKED'" type="primary" :underline="false" @click="billOfLading(row)"
<el-link v-show="row.orderStatus!=='SUBMITED'&&row.orderStatus!=='ORDER_LOCKED'&&row.payStatus!=='REFUNDED'" type="primary" :underline="false" @click="billOfLading(row)"
>提货单</el-link
>
<el-popconfirm
@@ -151,7 +151,7 @@
icon-color="red"
@confirm="orderCencle(row)"
>
<el-link v-show="row.orderStatus!=='CANCELED'" slot="reference" type="primary" :underline="false"
<el-link v-show="row.orderStatus!=='CANCELED'&&row.payStatus!=='REFUNDED'" slot="reference" type="primary" :underline="false"
>{{row.orderStatus=='SUBMITED'||row.orderStatus=='ORDER_LOCKED'?'订单取消':'订单退款'}}</el-link
>
</el-popconfirm>