|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div v-if="pageStatus == 0">配置加载中...</div>
|
|
|
<div v-else-if="pageStatus == 1">此页面不对此账号开放</div>
|
|
|
- <div v-else-if="pageStatus == 2">权限已下放到站点,请登录站点账号配置</div>
|
|
|
+ <div v-else-if="pageStatus == 2">没有此页内容的配置权限,请检查集团上的配置</div>
|
|
|
<div v-else-if="pageStatus == 3">加载发生错误</div>
|
|
|
<div v-else-if="pageStatus == 4" class="app-container">
|
|
|
<el-form :model="sumForm">
|
|
@@ -180,7 +180,6 @@ export default {
|
|
|
|
|
|
let timeString = "";
|
|
|
const discountTimeType = this.sumForm.discountTimeType;
|
|
|
- console.log("time", this.sumForm.discountTime);
|
|
|
|
|
|
if (discountTimeType == 1) {
|
|
|
timeString += "每周的";
|
|
@@ -208,7 +207,8 @@ export default {
|
|
|
init() {
|
|
|
selectCustomerCardSetting().then((response) => {
|
|
|
this.sumForm = response.data;
|
|
|
- this.sumForm.cardOilsType = this.sumForm.cardOilsType
|
|
|
+ const cardOilsType = this.sumForm.cardOilsType == null ? "" : this.sumForm.cardOilsType
|
|
|
+ this.sumForm.cardOilsType = cardOilsType
|
|
|
.split(",")
|
|
|
.filter((ele) => {
|
|
|
return ele != "";
|
|
@@ -222,9 +222,6 @@ export default {
|
|
|
this.sumForm.cardOilsType.map((ele, index) => {
|
|
|
this.sumForm.cardOilsType[index] = oilType[ele];
|
|
|
});
|
|
|
- console.log(this.sumForm);
|
|
|
-
|
|
|
-
|
|
|
|
|
|
if (
|
|
|
this.sumForm.discountTimeType == "1" ||
|