This commit is contained in:
qsh
2025-03-04 17:28:13 +08:00
parent 6baa78a94f
commit 3ec039050f
3 changed files with 42 additions and 22 deletions

View File

@@ -228,6 +228,16 @@ const rules = ref({
function addDiscount() {
showDialog.value = true
form.value = {
discountType: '1',
subject: '1',
param1: undefined,
param2: undefined,
discount: undefined,
duration: undefined,
unit: '1',
description: undefined
}
}
function editDiscount(row) {

View File

@@ -164,7 +164,17 @@ const rules = ref({
function addVip() {
showDialog.value = true
form.value.carTypeId = searchForm.value.carTypeId
form.value.carTypeId = {
memberName: '',
carTypeId: searchForm.value.carTypeId,
subjects: [],
price: '',
discount: '',
duration: '',
unit: 1,
useTypes: [1]
}
}
function editVip(row) {