sc
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user