wk
2024-06-29 bc283f3277c5da93684864e8fbd9f3aee262ca7a
pages/loadUnload-page/loadUnload-detail/loadUnload-detail.vue
@@ -126,11 +126,11 @@
            <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>
@@ -224,6 +224,19 @@
      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) {