feat: 已完成&售后

This commit is contained in:
2025-10-18 17:31:15 +08:00
parent 7214c8dc6f
commit c1c03ba390
2 changed files with 35 additions and 32 deletions
+6 -3
View File
@@ -475,25 +475,28 @@ export default {
// 删除
deleteOrder(item) {
console.log("删除", item);
console.log("删除", item, this.form.type);
this.deleteShow = true;
this.deleteInfo = item;
},
async againDeleteOrder() {
let params;
if (this.deleteInfo.status === 4) {
if (this.form.type === 4 && (this.deleteInfo.status === 4 || this.deleteInfo.status === 5 || this.deleteInfo.status === 6 || this.deleteInfo.status === 7)) {
params = {
orderId: this.deleteInfo.id,
type: 1
}
}
if (this.deleteInfo.status === 7) {
if (this.form.type === 5 && this.deleteInfo.status === 7) {
params = {
orderId: this.deleteInfo.afterId,
type: 2
}
}
console.log("删除-1", params);
if(!params.orderId){
return;
}
const res = await deleteOrderQuery(params);
if (res.bizcode == 100) {
this.$refs.uToastRef.show({