yangan
2024-07-10 5c7d78e847739fbd4af4aa28359fc3ee36763a19
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>
@@ -141,7 +141,7 @@
         </view>
      </view>
      <u-modal :show="loadShow"
         :title="'确认装卸此提煤单?'"
         :title="'确认装卸此收发单?'"
         :showCancelButton="true"
         @confirm="confirmUnload"
         @cancel="cancelUnload">
@@ -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) {