付延余
2023-03-16 5355011b9d5e4f32a8751d1c2e600b2601fd8967
1
<view class="customer-index data-v-6b49f575"><view class="customer-index-body data-v-6b49f575"><block wx:if="{{$root.g0==0}}"><u-empty vue-id="04158b9e-1" mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" class="data-v-6b49f575" bind:__l="__l"></u-empty></block><block wx:for="{{orderPlanData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><card vue-id="{{'04158b9e-2-'+index}}" name="{{item.id}}" data-event-opts="{{[['^click',[['cardBodyClick']]]]}}" bind:click="__e" class="data-v-6b49f575" bind:__l="__l" vue-slots="{{['left','right-top','right-bottom']}}"><view slot="left"><view class="card-left__top data-v-6b49f575"><text class="data-v-6b49f575">{{item.carNum}}</text>张</view><view class="card-left__utils data-v-6b49f575"><block wx:if="{{item.cars==item.cars2?false:true}}"><u-button vue-id="{{('04158b9e-3-'+index)+','+('04158b9e-2-'+index)}}" text="领取" type="primary" shape="circle" data-event-opts="{{[['^tap',[['receiveClick',['$0'],[[['orderPlanData','',index]]]]]]]}}" catch:tap="__e" class="data-v-6b49f575" bind:__l="__l"></u-button></block><u-button vue-id="{{('04158b9e-4-'+index)+','+('04158b9e-2-'+index)}}" text="转发" type="primary" shape="circle" data-event-opts="{{[['^tap',[['forwardClick',['$0'],[[['orderPlanData','',index]]]]]]]}}" catch:tap="__e" class="data-v-6b49f575" bind:__l="__l"></u-button></view></view><view class="right-top data-v-6b49f575" slot="right-top"><view class="card-right-top-row data-v-6b49f575"><view class="data-v-6b49f575"><text class="data-v-6b49f575">{{item.compName||''}}</text></view><view class="data-v-6b49f575"><text class="data-v-6b49f575">{{item.coalName}}</text></view></view><view class="card-right-top-row data-v-6b49f575"><view class="data-v-6b49f575"><text class="data-v-6b49f575">{{"已领取"+item.cars2+"张"}}</text></view></view><view class="card-right-top-row data-v-6b49f575"><block wx:if="{{item.cars==item.cars2?false:true}}"><view class="data-v-6b49f575">{{"剩余"+(item.carNum-item.cars2)+"张"}}</view></block><block wx:else><view class="data-v-6b49f575">已领完</view></block></view></view><view class="code data-v-6b49f575" slot="right-bottom"><text class="data-v-6b49f575">{{"编号:"+(item.code||'')}}</text></view></card></block></view><u-popup vue-id="04158b9e-5" show="{{show}}" mode="center" round="10" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" class="data-v-6b49f575" bind:__l="__l" vue-slots="{{['default']}}"><view class="receiverPopup data-v-6b49f575"><view class="receiverPopup__title data-v-6b49f575"><text class="data-v-6b49f575">确认领取数量</text></view><view class="receiverPopup__input data-v-6b49f575"><u--input vue-id="{{('04158b9e-6')+','+('04158b9e-5')}}" placeholder="请输入内容" type="number" border="surround" value="{{receiveNum}}" data-event-opts="{{[['^change',[['change']]],['^input',[['__set_model',['','receiveNum','$event',[]]]]]]}}" bind:change="__e" bind:input="__e" class="data-v-6b49f575" bind:__l="__l"></u--input></view><view class="receiverPopup__btn data-v-6b49f575"><u-button vue-id="{{('04158b9e-7')+','+('04158b9e-5')}}" text="确定" type="primary" data-event-opts="{{[['^click',[['popupDetermineClick']]]]}}" bind:click="__e" class="data-v-6b49f575" bind:__l="__l"></u-button></view></view></u-popup></view>