付延余
2022-07-29 a0f333ef7944e2964e6807e86fd6ebe50f66402f
pages/new-application-form-data/new-application-form-data.vue
@@ -70,9 +70,8 @@
                  <view class="searchResultList">
                     <u-cell-group :right-icon="false">
                        <u-cell v-for="(item, index) in customerData" :title="item.customerFullName" :arrow="false">
                           <text slot="value" class="u-slot-value">
                           <view slot="value" class="u-slot-value">
                              <button
                                 class="mini-btn"
                                 type="default"
                                 size="mini"
                                 style="background: #007aff;
@@ -87,7 +86,7 @@
                              >
                                 选择
                              </button>
                           </text>
                           </view>
                        </u-cell>
                     </u-cell-group>
                  </view>
@@ -392,7 +391,7 @@
                                       <view :style="tdStyle">{{ item.compName }}</view>
                                    </uni-td>
                                    <uni-td align="left">
                                       <view :style="tdStyle">{{ item.remark }}</view>
                                       <view :style="tdStyle">{{ item.remark == null ? '' : item.remark }}</view>
                                    </uni-td>
                                 </uni-tr>
                              </uni-table>
@@ -444,7 +443,7 @@
                           <view class="searchResultList">
                              <u-cell-group :right-icon="false">
                                 <u-cell v-for="(item, index) in customerData" :title="item.customerFullName" :arrow="false">
                                    <text slot="value" class="u-slot-value">
                                    <view slot="value" class="u-slot-value">
                                       <button
                                          class="mini-btn"
                                          type="default"
@@ -461,7 +460,7 @@
                                       >
                                          选择
                                       </button>
                                    </text>
                                    </view>
                                 </u-cell>
                              </u-cell-group>
                           </view>
@@ -1228,24 +1227,12 @@
         // 价格参数赋值
         this.getNewPriceData.type = e.type;
         // 选定合同详情
         uni
            .request({
               url: `/yunxiao/contractitem/getByContractId/${e.id}`,
               method: 'GET',
               header: {
                  'TENANT-ID': 5,
                  Authorization: 'Bearer ' + uni.getStorageSync('access_token'),
                  VERSION: 'zzl'
               }
            })
            .then(res => {
               this.contractDetails = res[1].data.data;
               console.log('合同详情', res, this.contractDetails);
            })
            .catch(err => {
               console.log(err);
            });
            // 选定合同详情
         this.$reqGet('getByContractId',{},e.id).then(res=>{
               this.contractDetails = res.data
         }).catch(err=>{
            console.log(err);
         })
      },
      // 添加合同按钮
      addContractClick() {