yangan
2024-07-16 654934b8f1cf31017a4d5b397c12393e8a38a4e5
pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue
@@ -230,14 +230,14 @@
                  
                  <u-form-item prop='contactPicture'>
                     <view class="label-text">
                        <text style="color: #f56c6c;">*</text>原发磅单
                        <text style="color: #f56c6c;">*</text>原发单据
                     </view>
                     <u-upload :fileList="fileList1"
                        @afterRead="afterRead"
                        @delete="deletePic"
                        name="1"
                        multiple
                        :maxCount="2"
                        :maxCount="fileList1.length ? fileList1.length  : 2"
                        width="250"
                        height="150"
                        :previewFullImage="true"
@@ -298,7 +298,7 @@
      <!-- <view class="completeOutSale">
         <u-modal :show="completeOutSaleShow"
            title="确认"
            content="是否完成外销提煤单"
            content="是否完成外销收发单"
            :showCancelButton="true"
            @confirm="completeOutSaleConfirm"
            @cancel="completeOutSaleCancel"></u-modal>
@@ -324,13 +324,13 @@
         combinedTitle,
      },
      onPullDownRefresh() {
         this.getTakeCoal(); //获取提煤单详情
         this.getTakeCoal(); //获取收发单详情
         // uni.stopPullDownRefresh();
      },
      onLoad(value) {
         this.orderPlanId = value.id;
         // this.yyId = value.yyId;
         // this.originInfoVisible = value.orderType === '外购'
         this.originInfoVisible = value.orderType === '外购'
         // if (value.overTmWaixiao) {
         //    this.overTmWaixiao = value.overTmWaixiao
         //    this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao
@@ -339,7 +339,7 @@
         this.changeglobalIsFirstWeighing(1)
         if (this.globalIsFirstWeighing === 1) {
            console.log('获取详情 onload');
            this.getTakeCoal(); //获取提煤单详情
            this.getTakeCoal(); //获取收发单详情
         }
         this.init(); //获取日志
      },
@@ -347,7 +347,7 @@
         this.coalDayPage(); //获取日志 定时任务
         if (this.globalIsFirstWeighing === 2) {
            console.log('获取详情 onShow');
            this.getTakeCoal(); //获取提煤单详情
            this.getTakeCoal(); //获取收发单详情
         }
      },
      onHide() {
@@ -381,8 +381,8 @@
            },
            coalDetailsData: {
               tmTaskCoalList:[]
            }, // 提煤单详情
            currentPageCoalStatus: 0, // 当前页面提煤单状态
            }, // 收发单详情
            currentPageCoalStatus: 0, // 当前页面收发单状态
            // 获取所在磅房参数
            getWeightHouseObj: {
               deptId: '',
@@ -594,7 +594,7 @@
               }
            });
         },
         // 获取提煤单详情
         // 获取收发单详情
         getTakeCoal() {
            uni.showLoading({
               title: '加载中'
@@ -602,7 +602,7 @@
            this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => {
               if (res.code == 0) {
                  uni.hideLoading();
                  console.log(res, '提煤单详情');
                  console.log(res, '收发单详情');
                  this.coalDetailsData = res.data;
                  this.orderType = this.coalDetailsData.orderType;
                  // 
@@ -625,7 +625,7 @@
                  // 获取客服openId参数赋值
                  this.getServiceOpenid.deptId = this.coalDetailsData.deptId;
                  this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
                  // 获取提煤单状态
                  // 获取收发单状态
                  this.currentPageCoalStatus = this.coalDetailsData.status;
                  // 获取原发信息
                  this.primarySkin = this.coalDetailsData.skinTwo;