Mr.Shi
2023-09-11 239c5308af49780bf45a09a05c519e669caec939
minipro_standard/pages_adjust/pages/reportingForWork/reportingForWork.vue
@@ -2,7 +2,7 @@
   <view class="bg">
      <view class="bg_plan" @click="selectPlan">
         <view class="bg_plan_label" v-if="!from.processPlan">
            <text><b>*</b>工序生产计划</text>
            <text><text>*</text>工序生产计划</text>
         </view>
         <view class="bg_plan_nr" v-else>
            <text>{{ from.processPlan.materialName }} | {{ from.processPlan.materialCode }} | {{ from.processPlan.produceName }}</text>
@@ -109,7 +109,7 @@
            <view class="bg_list_item_h">
               <view class="bg_list_item_num">
                  <view class="bg_list_item_num_item">
                     <text><b>*</b>良品数</text>
                     <text><text>*</text>良品数</text>
                     <view class="bg_list_item_num_item_sr">
                        <u--input
                            placeholder="请输入"
@@ -143,7 +143,8 @@
               </view>
               <view class="bg_list_item_num" v-if="from.undesirable > 0">
                  <view class="bg_list_item_num_item" @click="openBL">
                     <text><b>*</b>不良项</text>
                     <!-- <text>*</text> -->
                     <text>不良项</text>
                     <view class="bg_list_item_num_item_sr">
                        <text class="wulll" :style="{color: from.defectiveName ? '#305ED5' : ''}">{{from.defectiveName ? from.defectiveName : '设置'}}</text>
                        <image src="@/static/ic_ar@2x.png" alt="" />
@@ -161,7 +162,7 @@
               <image src="@/static/ic_ar@2x.png" alt="" />
            </view>
         </view>
         <view class="bg_list_item" v-if="arrType && arrType.length > 0">
         <view class="bg_list_item" v-if="arrType && arrType.length > 0 && from.duration > 0">
            <view class="bg_list_item_top">
               <view class="bg_list_item_top_left">
                  <view class="bg_list_item_top_left_x"></view>
@@ -258,9 +259,9 @@
               processPlan: null,
               deviceId: '',
               deviceName: '',
               // userId: store.state.userInfo.id,
               // userId: userInfo.id,
               userId: '',
               // userName: store.state.userInfo.companyUser.name,
               // userName: userInfo.companyUser.name,
               userName: '',
               qualified: '',  // 良品数
               undesirable: '', // 不良数
@@ -333,8 +334,13 @@
         }
      },
      onReady() {
         this.from.userId = this.userInfo.id
         this.form.userName = this.userInfo.realname
         let timer = setInterval(() => {
            if (this.userInfo) {
               this.from.userId = this.userInfo.id
               this.from.userName = this.userInfo.realname
               clearInterval(timer)
            }
         }, 500)
      },
      onLoad() {
         let arr = []
@@ -722,7 +728,7 @@
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: #222222;
            b {
            text {
               color: red;
            }
         }
@@ -932,9 +938,9 @@
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        b {
                        text {
                           font-size: 30rpx;
                           color: red;
                           color: red !important;
                           margin-right: 5rpx;
                        }
                        .warning {