Преглед на файлове

feature_20250722_金牌店档案收集

zhujindu преди 4 месеца
родител
ревизия
6ece1591a7
променени са 2 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. 5 5
      src/views/home/bottomBtn.vue
  2. 3 1
      src/views/storeManagement/JPattributeEditor.vue

+ 5 - 5
src/views/home/bottomBtn.vue

@@ -91,11 +91,11 @@
       >
     </div>
     <!-- <p class="updataTime" v-if="type != 4 && tabVal != '-1'">更新时间:{{ updataTime }}</p> -->
-    <div class="ownerBirthdayRemind" v-if="ownerBirthdayBoxFlag">
+    <div class="ownerBirthdayReminds" v-if="ownerBirthdayBoxFlag">
       <div class="ownerBirthdayBox">
         <div class="title"><img :src="require('@/assets/hua.png')" />金牌店生日提醒</div>
         <div class="content">
-          {{ this.reportInfoData.ownerBirthdayRemind }}将在3日后生日,请及时送上生日祝福!
+          {{ this.reportInfoData.ownerBirthdayReminds }}将在3日后生日,请及时送上生日祝福!
         </div>
         <img class="dangao" :src="require('@/assets/dangao.png')" />
       </div>
@@ -165,9 +165,9 @@ export default {
           this.approvalPendingNum = res.data.approvalPendingNum;
           this.type = res.data.userType;
           // 金牌店老板生日提醒
-          if (res.data.ownerBirthdayRemind && res.data.ownerBirthdayRemind.length) {
+          if (res.data.ownerBirthdayReminds && res.data.ownerBirthdayReminds.length) {
             this.ownerBirthdayBoxFlag = true;
-            this.reportInfoData.ownerBirthdayRemind = res.data.ownerBirthdayRemind.join(',');
+            this.reportInfoData.ownerBirthdayReminds = res.data.ownerBirthdayReminds.join(',');
           } else {
             this.ownerBirthdayBoxFlag = false;
           }
@@ -211,7 +211,7 @@ export default {
 </script>
 <style scoped lang="scss">
 .bottomBtn {
-  .ownerBirthdayRemind {
+  .ownerBirthdayReminds {
     width: 100%;
     height: 100%;
     position: fixed;

+ 3 - 1
src/views/storeManagement/JPattributeEditor.vue

@@ -137,7 +137,9 @@ export default {
         this.toastLoading().clear();
         if (res.code == 200) {
           //   let copyData = JSON.parse(JSON.stringify(res.data));
-          res.data.mainProductCategorys = res.data.mainProductCategorys.split(',');
+          res.data.mainProductCategorys = res.data.mainProductCategorys
+            ? res.data.mainProductCategorys.split(',')
+            : [];
           this.detail = res.data;
           this.verificationPassedPhoneNum = this.detail.ownerMobile;
         }