| | |
| | | <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; |
| | |
| | | > |
| | | 选择 |
| | | </button> |
| | | </text> |
| | | </view> |
| | | </u-cell> |
| | | </u-cell-group> |
| | | </view> |
| | |
| | | <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> |
| | |
| | | <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" |
| | |
| | | > |
| | | 选择 |
| | | </button> |
| | | </text> |
| | | </view> |
| | | </u-cell> |
| | | </u-cell-group> |
| | | </view> |
| | |
| | | |
| | | // 价格参数赋值 |
| | | 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() { |