Explorar el Código

feature_20250903_金牌店联络簿增加工地资源信息

zhujindu hace 3 meses
padre
commit
6e856c90d8

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

@@ -75,16 +75,16 @@
           type="number"
           @blur="emergencyContactBlur(detail.emergencyContactMobile)"
           label="紧急联系人电话" />
-        <van-field label="是否有工地资源">
+        <van-field label="是否有工地资源(支持工地配送,承接工地双包等)">
           <template #input>
-            <van-radio-group v-model="detail.aaa" direction="horizontal">
+            <van-radio-group v-model="detail.constructionResource" direction="horizontal">
               <van-radio name="是">是</van-radio>
               <van-radio name="否">否</van-radio>
             </van-radio-group>
           </template>
         </van-field>
         <van-field
-          v-if="detail.aaa && detail.aaa == '是'"
+          v-if="detail.constructionResource == '是'"
           v-model="detail.constructionYearNum"
           type="number"
           label="年工地数量" />

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

@@ -382,9 +382,12 @@
                 readonly
                 v-model="list.storeArchives.emergencyContactMobile"
                 label="紧急联系人电话" />
-              <van-field readonly v-model="list.storeArchives.aaa" label="是否有工地资源" />
               <van-field
-                v-if="list.storeArchives.aaa && list.storeArchives.aaa == '是'"
+                readonly
+                v-model="list.storeArchives.constructionResource"
+                label="是否有工地资源(支持工地配送,承接工地双包等)" />
+              <van-field
+                v-if="list.storeArchives.constructionResource == '是'"
                 readonly
                 v-model="list.storeArchives.constructionYearNum"
                 label="年工地数量" />