Jelajahi Sumber

feature_20250722_金牌店档案收集

zhujindu 4 bulan lalu
induk
melakukan
0bae208a9d
1 mengubah file dengan 112 tambahan dan 0 penghapusan
  1. 112 0
      src/views/deviceWithin/addStoreVisit.vue

+ 112 - 0
src/views/deviceWithin/addStoreVisit.vue

@@ -624,6 +624,32 @@
                         v-if="childitem.collectionOptionList[0].collectionOption"
                         v-html="childitem.collectionOptionList[0].collectionOption"></p>
                     </div>
+                    <div v-if="childitem.answerType == 'nyr'" class="formLabel z-cell">
+                      <van-cell>
+                        <template #title>
+                          <span v-if="childitem.isMust == 0" class="van-f-red">*</span>
+                          {{ childitem.collectionName }}
+                        </template>
+                      </van-cell>
+                      <van-field
+                        v-model="childitem.collectionOptionList[0].answerValue"
+                        :placeholder="childitem.text"
+                        readonly
+                        @click="
+                          getNyr(childitem, childitem.collectionOptionList[0].answerValue)
+                        "></van-field>
+                      <p
+                        style="
+                          color: red;
+                          font-size: 14px;
+                          margin: 0;
+                          padding: 10px 0;
+                          text-align: right;
+                        "
+                        v-if="childitem.collectionOptionList[0].collectionOption">
+                        {{ childitem.collectionOptionList[0].collectionOption }}
+                      </p>
+                    </div>
                     <div v-if="childitem.answerType == 'wb'" class="formLabel z-cell">
                       <van-cell>
                         <template #title>
@@ -1526,6 +1552,47 @@
                                             :photoIdentifyType="photoIdentifyType"
                                             :imgs="child33item1.fileInfoList"></delete-upload-img>
                                         </div>
+                                        <div
+                                          v-if="child33item1.answerType == 'nyr'"
+                                          class="formLabel z-cell">
+                                          <van-cell>
+                                            <template #title>
+                                              <span
+                                                v-if="child33item1.isMust == 0"
+                                                class="van-f-red"
+                                                >*</span
+                                              >
+                                              {{ child33item1.collectionName }}
+                                            </template>
+                                          </van-cell>
+                                          <van-field
+                                            v-model="
+                                              child33item1.collectionOptionList[0].answerValue
+                                            "
+                                            :placeholder="child33item1.text"
+                                            readonly
+                                            @click="
+                                              getNyr(
+                                                child33item1,
+                                                child33item1.collectionOptionList[0].answerValue
+                                              )
+                                            "></van-field>
+                                          <p
+                                            style="
+                                              color: red;
+                                              font-size: 14px;
+                                              margin: 0;
+                                              padding: 10px 0;
+                                              text-align: right;
+                                            "
+                                            v-if="
+                                              child33item1.collectionOptionList[0].collectionOption
+                                            ">
+                                            {{
+                                              child33item1.collectionOptionList[0].collectionOption
+                                            }}
+                                          </p>
+                                        </div>
                                         <div
                                           v-if="child33item1.answerType == 'sz'"
                                           class="formLabel z-cell">
@@ -2155,6 +2222,51 @@
                                                         child44item1.fileInfoList
                                                       "></delete-upload-img>
                                                   </div>
+                                                  <div
+                                                    v-if="child44item1.answerType == 'nyr'"
+                                                    class="formLabel z-cell">
+                                                    <van-cell>
+                                                      <template #title>
+                                                        <span
+                                                          v-if="child44item1.isMust == 0"
+                                                          class="van-f-red"
+                                                          >*</span
+                                                        >
+                                                        {{ child44item1.collectionName }}
+                                                      </template>
+                                                    </van-cell>
+                                                    <van-field
+                                                      v-model="
+                                                        child44item1.collectionOptionList[0]
+                                                          .answerValue
+                                                      "
+                                                      :placeholder="child44item1.text"
+                                                      readonly
+                                                      @click="
+                                                        getNyr(
+                                                          child44item1,
+                                                          child44item1.collectionOptionList[0]
+                                                            .answerValue
+                                                        )
+                                                      "></van-field>
+                                                    <p
+                                                      style="
+                                                        color: red;
+                                                        font-size: 14px;
+                                                        margin: 0;
+                                                        padding: 10px 0;
+                                                        text-align: right;
+                                                      "
+                                                      v-if="
+                                                        child44item1.collectionOptionList[0]
+                                                          .collectionOption
+                                                      ">
+                                                      {{
+                                                        child44item1.collectionOptionList[0]
+                                                          .collectionOption
+                                                      }}
+                                                    </p>
+                                                  </div>
                                                   <div
                                                     v-if="child44item1.answerType == 'sz'"
                                                     class="formLabel z-cell">