yangan
2024-12-30 3a57b78e4de42dbb934d3ecf12006c47f1ff52de
subPages/allocaTetonnage/index.vue
@@ -1,14 +1,6 @@
<template>
 <view class="warp">
<view>
               <u-empty mode="data"
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                        v-if="!pageList.length"
                  ></u-empty>
            </view>
                <view
         class="notice-bar">
         <u-notice-bar :text="text"
@@ -18,6 +10,15 @@
            style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/notice.png') no-repeat;background-size: cover; width: 42rpx;height: 42rpx;">
         </view>
      </view>
        <view>
               <u-empty mode="data"
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                        v-if="!pageList.length"
                  ></u-empty>
            </view>
        <view class="tableCon"   v-if="pageList.length">
            <uni-table border
                  stripe
@@ -37,6 +38,7 @@
                                 <u--input
                                    placeholder="请输入吨数"
                                    border="surround"
                                    type='digit'
                                    @change="(val)=>inpChange(val,item.planMeasure)"
                                    v-model="item.planMeasure"
                                ></u--input>
@@ -81,7 +83,7 @@
        this.customerId = params.customerId;
        this.pvcPlanMeasure = params.pvcPlanMeasure
      
        if(params.status === '0'){
        if(params.status === '1'){
            this.status = params.status
        }else{
              this.status = '';
@@ -89,6 +91,7 @@
        if(params.fleetId){
                 this.fleetId = params.fleetId
        }
        
@@ -115,7 +118,9 @@
                    if(res.code === 0){
                        this.$u.toast('操作成功');
                        setTimeout(()=>{
                            uni.navigateBack()
                         uni.navigateBack({
                                delta: 2
                            });
                        },500)
                    }else{
                        this.$u.toast(res.msg ? res.msg :'操作成功');