| | |
| | | <view class='btnBottom'> |
| | | <u-button plain |
| | | type="primary" |
| | | text="确定装卸" |
| | | :text="subItem.orderTye === '外销' ? '确定卸货' :'确定装货'" |
| | | shape="circle" |
| | | @click.stop="loadOrder(subItem.id,item)" |
| | | :loading="loading" |
| | | v-if='!subItem.ableDischar&&subItem.isContainLoginUser' |
| | | v-if="isBtnShow(subItem)" |
| | | loadingText="确认" |
| | | ></u-button> |
| | | </view> |
| | |
| | | computed: { |
| | | userId() { |
| | | return uni.getStorageSync('userId') |
| | | }, |
| | | isBtnShow(){ |
| | | return function (item){ |
| | | if(item.productName === 'EDC'){ |
| | | if(item.status === 15){ |
| | | return true |
| | | }else{ |
| | | return false |
| | | } |
| | | }else{ |
| | | return true |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | onLoad(params) { |