| | |
| | | <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> |
| | |
| | | <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="请输入" |
| | |
| | | </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="" /> |
| | |
| | | <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> |
| | |
| | | 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: '', // 不良数 |
| | |
| | | } |
| | | }, |
| | | 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 = [] |
| | |
| | | font-family: PingFangSC-Regular, PingFang SC; |
| | | font-weight: 400; |
| | | color: #222222; |
| | | b { |
| | | text { |
| | | color: red; |
| | | } |
| | | } |
| | |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | b { |
| | | text { |
| | | font-size: 30rpx; |
| | | color: red; |
| | | color: red !important; |
| | | margin-right: 5rpx; |
| | | } |
| | | .warning { |