feat: 代客下单优惠券更新,挂账更新

This commit is contained in:
2025-03-06 11:27:01 +08:00
parent ed9a3335c8
commit dda4db24e0
22 changed files with 1219 additions and 300 deletions

View File

@@ -295,7 +295,25 @@ export default {
methods: {
reset() {
this.$refs.form.resetFields();
this.form = this.resetForm;
this.form = {
id: "",
shopId: "",
type: "1",
title: "",
fullAmount: null,
discountAmount: null,
validityType: "fixed",
validStartTime: "",
validEndTime: "",
userDays: [],
validDays: "",
useTimeType: "all",
useStartTime: "",
useEndTime: "",
proId: "",
proName: "",
number: "",
};
this.form.type = 1;
},
async open(data) {