yangan
2024-09-26 0eab6dcc163bec041d44bc27c9c89ef9c6ec988d
pages/loadUnload-page/orderPlanList/index.vue
@@ -4,7 +4,7 @@
                  <view style="display:flex;" class="top">
               <combined-title title="当前查询收发单:">
               </combined-title>
               <u-tag :text="isYuyue === 1 ? '未入场' : '已入场'" class="topTag" @click="todoShow"></u-tag>
               <u-tag :text="isYuyue === 1 ? '未入场' : '全部'" class="topTag" @click="todoShow"></u-tag>
               </view>   
               <scroll-view :scroll-top="scrollTop"
                  scroll-y="true"
@@ -51,7 +51,7 @@
                  <view class="third-line">
                     <view class="time-icon">
                        <view
                           style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                           style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover">
                        </view>
                     </view>
                     <view class="send-date">{{ item.sendDate }}</view>
@@ -75,13 +75,16 @@
                  
                   <uni-th align="center" width='120'>车牌号</uni-th>
                   <uni-th align="center" width='200'>产品</uni-th>
                  <uni-th align="center" width='140'>仓库</uni-th>
                  <uni-th align="center" width='80'>产品等级</uni-th>
                  <uni-th align="center" width='80'>包装类型</uni-th>
                  <uni-th align="center" width='90'>计划量</uni-th>
                  <uni-th align="center" width='80'>实际量</uni-th>
                  <!-- <uni-th align="center" width='100'>皮重</uni-th>
                  <uni-th align="center" width='100'>毛重</uni-th>
                  <uni-th align="center" width='100'>净重</uni-th>
                  <uni-th align="center" width='100'>数量</uni-th> -->
                   <!-- <uni-th align="center">仓库</uni-th> -->
                  <uni-th align="center">状态</uni-th>
                  <uni-th align="center" width='100'>状态</uni-th>
                  
               </uni-tr>
               <uni-tr v-for="(subItem, index2) in item.tmTaskCoalList" :key="index2" 
@@ -92,14 +95,17 @@
                     <view>{{ subItem.carNo }}</view></uni-td>
               <uni-td align="center">
                     <view>{{ subItem.productName }}</view></uni-td>
               <uni-td align="center">
                  <view>{{ subItem.bunkerName }}</view>
               </uni-td>
                     <uni-td align="center">
                     <view>{{ subItem.productGrade }}</view></uni-td>
                     <uni-td align="center">
                     <view>{{proType[subItem.packingType]}}</view></uni-td>
                     <uni-td align="center">
                     <view>{{ subItem.planMeasure }}</view></uni-td>
                     <uni-td align="center">
                     <view>{{ subItem.realityMeasure }}</view></uni-td>
               
                 <uni-td align="center">
               <view  class="name">{{ subItem.statusView }}</view></uni-td>
            {{ subItem.statusView }}</uni-td>
                
            </uni-tr>
            </uni-table>
@@ -112,7 +118,7 @@
               </scroll-view>
            </view>
   <u-action-sheet :actions="list" @close='showClose'  closeOnClickOverlay  :show="show"  @select="selectClick"></u-action-sheet>
    <tab-bar :current="1"></tab-bar>
    <tab-bar :current="2"></tab-bar>
    </div>  
</template>
@@ -121,19 +127,21 @@
    data() {
        return {
            orderPlanList:[],
         proType:['散装','液氯瓶装','罐装','PVC25','PVC80','PVC1150','PVc1200'],
         show:false,
         pageLoading:false,
         isYuyue :1, //入场,未入场
         isYuyue :0, //入场,未入场
            scrollTop:0,
         list:[
            {
               name: '全部',
               value:0
            },
            {
               name:'未入场',
               value:1
            },
            {
               name: '已入场',
               value:0
            }
         ],
             historyCoalData: [],
            // 表格加载状态
@@ -160,7 +168,7 @@
        init(){
         console.log('init',localStorage.getItem('bunkerIds'))
         uni.showLoading({ title: '加载中...' })
            this.$reqGet('getMyPlanListByBunkerId',{bunkerIds:localStorage.getItem('bunkerIds'),isYuyue:this.isYuyue}).then((res) => {
            this.$reqGet('getMyPlanListByBunkerId',{bunkerIds:localStorage.getItem('bunkerIds'),isYuyue:this.isYuyue,productIds:uni.getStorageSync('productIds') }).then((res) => {
                console.log(res,'res')
                this.orderPlanList = res.data;
            uni.hideLoading();
@@ -245,7 +253,6 @@
   flex-direction: column;
   .collection-form-item{
      width: 95%;
      height: 400rpx;
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
      margin: 20rpx 0;
      .formTop{