Przeglądaj źródła

同城分销店拆分、分销店对应多个经销商

zhujindu 11 miesięcy temu
rodzic
commit
3db422fe3b

+ 9 - 1
src/views/signApproval/newStoreApprovalDetail.vue

@@ -201,7 +201,13 @@
           </van-collapse>
         </van-tab>
         <van-tab title="属性信息" name="outsidePlan">
-          <van-field readonly label="属性" v-if="dictTypeFormShow" v-model="list.tcfxName" />
+          <template v-for="(item, index) in TCFXList" v-if="dictTypeFormShow">
+            <van-field
+              readonly
+              label="属性"
+              v-if="item.dictValue == list.tcfxName"
+              v-model="item.text" />
+          </template>
         </van-tab>
       </van-tabs>
       <br />
@@ -444,6 +450,8 @@ export default {
           TCFXList.push({
             text: res.data[t].dictLabel,
             dictCode: res.data[t].dictCode,
+            dictValue: res.data[t].dictValue,
+            remark: res.data[t].remark,
           });
         }
         this.TCFXList = TCFXList;

+ 2 - 2
src/views/storeManagement/storeDetail.vue

@@ -295,8 +295,8 @@
               readonly
               label="属性"
               v-if="item.dictValue == list.tcfxName"
-              v-model="item.text"
-          /></template>
+              v-model="item.text" />
+          </template>
         </van-tab>
       </van-tabs>
       <!--省、市、区、街道-->