| | |
| | | size="mini" |
| | | class="tags" |
| | | @click="checkRadio(2)"></u-tag> |
| | | <u-tag text="拒绝" |
| | | :type="radio==3?'primary':'info'" |
| | | plain |
| | | size="mini" |
| | | class="tags" |
| | | @click="checkRadio(3)"></u-tag> |
| | | </view> |
| | | <view class="huodai-list"> |
| | | <view class="buylist"> |
| | | <view v-for="(item, index) in BuyCardData" :key="index" class="buylists"> |
| | | <view v-for="(item, index) in BuyCardData" :key="index" class="buylists" @click=addGouMai(item)> |
| | | <view >{{item.productName}}</view> |
| | | <view >{{item.buyTotal}}/{{item.surplus}}</view> |
| | | <view >{{item.endDate}}</view> |
| | | <view >{{item.status==0?'待生效':item.status==1?'生效':'废弃'}}</view> |
| | | <view >{{item.status==0?'待生效':item.status==1?'生效':item.status==2?'废弃':'拒绝'}}</view> |
| | | </view> |
| | | </view> |
| | | <!-- <u-swipe-action> |
| | |
| | | }); |
| | | }, |
| | | // 添加购买证 |
| | | addGouMai(){ |
| | | uni.navigateTo({ |
| | | url: '/subPages/addTo-freightForwarder-purchasePermit/addTo-freightForwarder-purchasePermit' |
| | | }); |
| | | addGouMai(data){ |
| | | if(data){ |
| | | if(data.status==3){ |
| | | uni.navigateTo({ |
| | | url: '/subPages/addTo-freightForwarder-purchasePermit/addTo-freightForwarder-purchasePermit?data='+encodeURIComponent(JSON.stringify(data)) |
| | | }); |
| | | } |
| | | }else{ |
| | | uni.navigateTo({ |
| | | url: '/subPages/addTo-freightForwarder-purchasePermit/addTo-freightForwarder-purchasePermit' |
| | | }); |
| | | } |
| | | }, |
| | | // 添加车队 |
| | | addFleet() { |
| | |
| | | } |
| | | } |
| | | .chage{ |
| | | width: 280rpx; |
| | | width: 400rpx; |
| | | height: 50rpx; |
| | | display: flex; |
| | | justify-content: space-between; |