diff --git a/src/components/recharge/index.vue b/src/components/recharge/index.vue
index 89a2cb9..a295567 100644
--- a/src/components/recharge/index.vue
+++ b/src/components/recharge/index.vue
@@ -1,89 +1,89 @@
-
-
-
-
-
-
- {{ "" }}
-
-
-
-
-
-
-
- {{scope.row.type==0?'赠送卡':scope.row.type==1?'折扣卡':'活动卡'}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ "" }}
+
+
+
+
+
+
+
+ {{scope.row.type==0?'赠送卡':scope.row.type==1?'折扣卡':'活动卡'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/recharge/type/index.vue b/src/components/recharge/type/index.vue
index e153d67..3d6ad17 100644
--- a/src/components/recharge/type/index.vue
+++ b/src/components/recharge/type/index.vue
@@ -1,124 +1,129 @@
-
-
-
-
-
-
- {{ "" }}
-
-
-
-
-
-
-
- {{scope.row.type==0?'赠送卡':scope.row.type==1?'折扣卡':'活动卡'}}
-
-
-
- {{scope.row.firstAmount?scope.row.firstAmount:'无首充'}}
-
-
-
-
- {{scope.row.giftMoney?scope.row.giftMoney:'无赠送'}}
-
-
- {{scope.row.discountFreeAmount?scope.row.discountFreeAmount:'无折扣'}}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ "" }}
+
+
+
+
+
+
+
+ {{scope.row.type==0?'赠送卡':scope.row.type==1?'折扣卡':'活动卡'}}
+
+
+
+ {{scope.row.firstAmount?scope.row.firstAmount:'无首充'}}
+
+
+
+
+
+ 固
+ 比
+ {{scope.row.giftMoney}}
+ %
+
+
+
+ {{scope.row.discountFreeAmount?scope.row.discountFreeAmount:'无折扣'}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/eashier/refundCourse/refundCourse.vue b/src/pages/eashier/refundCourse/refundCourse.vue
index 3c9b80d..37b05eb 100644
--- a/src/pages/eashier/refundCourse/refundCourse.vue
+++ b/src/pages/eashier/refundCourse/refundCourse.vue
@@ -75,7 +75,7 @@
-->
-
+
@@ -643,37 +643,17 @@ export default {
detailData(v) {
this.getOrder();
},
- endRefundMoney() {
- let money =
- (this.refund.courseConsumeCount * this.refund.price).toFixed(2) * 1;
- if (this.refund.courseRefundMoney * 1 > money) {
- this.$alert("退款金额不能大于: " + money, "提示", {
- confirmButtonText: "确定",
- confirmButtonClass: "confirmbtnFalses",
- type: "warning",
- center: true,
- callback: (action) => {},
- });
- this.refund.courseRefundMoney = money;
+ endRefundMoney() {},
+ endNum() {
+ if (this.refund.refundNumber > this.refund.courseConsumeCount) {
+ this.refund.refundNumber = this.refund.courseConsumeCount;
+ this.refund.courseRefundMoney = this.refund.courseConsumePrice;
} else {
- this.refund.refundNumber =
- (this.refund.courseRefundMoney / this.refund.price).toFixed(2) * 1;
- this.refund.refundNumber = parseInt(this.refund.refundNumber);
- this.upNum = this.refund.refundNumber;
- let form = { ...this.refund };
- this.refund = JSON.parse(JSON.stringify(form));
+ this.refund.courseRefundMoney =
+ (this.refund.price * this.refund.refundNumber).toFixed(2) * 1;
}
},
- endNum() {
- this.refund.refundNumber =
- (this.refund.courseRefundMoney / this.refund.price).toFixed(2) * 1;
- this.refund.refundNumber = parseInt(this.refund.refundNumber);
- this.upNum = this.refund.refundNumber;
- },
- endMoney() {
- let money =
- (this.refund.courseConsumeCount * this.refund.price).toFixed(2) * 1;
- },
+
close() {
this.refDialogVisible = false;
this.openCollNumber = 0;
@@ -969,7 +949,6 @@ export default {
);
that.refund = Object.assign(that.refund, that.radioValueList);
that.refund.refundNumber = null;
-
let page = {
memberId: that.radioValueList.memberId,
storeId: that.radioValueList.storeId,
diff --git a/src/pages/storeManage/rechargeType/components/edit.vue b/src/pages/storeManage/rechargeType/components/edit.vue
index 2ae4e92..4fd04fb 100644
--- a/src/pages/storeManage/rechargeType/components/edit.vue
+++ b/src/pages/storeManage/rechargeType/components/edit.vue
@@ -1,205 +1,213 @@
-
-
-
-
-
-
-
-
- 折扣卡
- 赠送卡
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 折扣卡
+ 赠送卡
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 固定赠送
+ 比例赠送
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/storeManage/rechargeType/rechargeType.vue b/src/pages/storeManage/rechargeType/rechargeType.vue
index 38d8f94..617617a 100644
--- a/src/pages/storeManage/rechargeType/rechargeType.vue
+++ b/src/pages/storeManage/rechargeType/rechargeType.vue
@@ -35,7 +35,14 @@
-
+
+
+ 固
+ 比
+ {{scope.row.giftMoney}}
+ %
+
+
diff --git a/src/pages/storeManage/storeParameters/storeParameters.vue b/src/pages/storeManage/storeParameters/storeParameters.vue
index fafdb7e..5872309 100644
--- a/src/pages/storeManage/storeParameters/storeParameters.vue
+++ b/src/pages/storeManage/storeParameters/storeParameters.vue
@@ -33,7 +33,6 @@
-
@@ -61,6 +60,14 @@
+
+
+
+ 补单日期
+ 录单日期
+
+
+
不控制有效时间
@@ -341,6 +348,7 @@ export default {
allowdebt: false, //疗程欠款
debtUsable: null, //疗程欠款可用
memberPay: null, //支付确认
+ replacementOderChia: null, //补单日期计算
useRecharge: null, //时效控制
memberIntegral: false, //是否有积分
cashier: false, //收银使用积分
@@ -491,6 +499,10 @@ export default {
if (item.paramentName == "memberPay") {
dataList.memberPay = item.paramentValue * 1;
}
+ if (item.paramentName == "replacementOderChia") {
+ dataList.replacementOderChia = item.paramentValue * 1;
+ }
+
if (item.paramentName == "expMoneyByIntegral") {
dataList.expMoneyByIntegral = item.paramentValue;
}
@@ -901,6 +913,9 @@ export default {
dataList.memberPay +
"|" +
"0确认支付密码,1签名确认,2支付密码加签名确认";
+ dataList.replacementOderChia =
+ dataList.replacementOderChia + "|" + "0补单日期计算,1录单日期计算";
+
dataList.serviceTicke =
dataList.serviceTicke + "|" + "数字服务单可以作废控制的天数";
dataList.editOrderNum =