| | |
| | | }, |
| | | userCheckboxChange(val) { |
| | | this.userCheckBoxValue = val.join(',') |
| | | this.operSheetValue = this.userCheckBoxValue |
| | | }, |
| | | |
| | | //获取开工信息 |
| | |
| | | // that.scanContent = res.result; |
| | | |
| | | uni.navigateTo({ |
| | | url: './scbg2?orderstep=' + res.result |
| | | url: './sjjy1?orderstep=' + res.result |
| | | }) |
| | | |
| | | }, |
| | |
| | | <view>样本数量:</view> |
| | | </view> |
| | | <view class="flex_column contentFont"> |
| | | <view>{{processObj.checkstandname}}</view> |
| | | |
| | | <view @click='operSheetClick' class="custominputClass"> |
| | | <view v-show='processObj.checkstandname===""' style="color: rgb(192, 196, 204);">请选择 |
| | | </view> |
| | | <view v-show='processObj.checkstandname!==""' class="ellipsis" |
| | | style="width: 390rpx;"> |
| | | {{processObj.checkstandname}} |
| | | </view> |
| | | |
| | | <u-icon :name="!operSheetShow?'arrow-down-fill':'arrow-up-fill'"></u-icon> |
| | | </view> |
| | | |
| | | |
| | | |
| | | <view>{{processObj.sampmethod==='FIXED'?'固时抽检':'比例抽检'}}</view> |
| | | <view>{{processObj.good_qty}}</view> |
| | | |
| | |
| | | |
| | | |
| | | |
| | | |
| | | <u-picker :show="operSheetShow" :columns="chekstandArr" :itemHeight='55' :closeOnClickOverlay='true' |
| | | @close='operSheetShow=false' @confirm='operPickerConfirm' @cancel='operSheetShow=false'> |
| | | </u-picker> |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | |
| | | |
| | | checkNumber: 1, //检验项目中的检验数量 现在处于第几个 |
| | | chekstandAll: [], // |
| | | chekstandArr: [], // |
| | | |
| | | operSheetShow: false, |
| | | |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | mounted() { |
| | | this.init() |
| | | |
| | | // this.getStepCheckSearch('MO-2025-10-0008_1;001') |
| | | // this.getStepCheckSearch('MO-2025-11-0002_6;ZP005') |
| | | |
| | | }, |
| | | methods: { |
| | | init() { |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | |
| | | operSheetClick() { |
| | | this.operSheetShow = true |
| | | }, |
| | | async operPickerConfirm(val) { |
| | | this.processObj.checkstandname = val.value[0] |
| | | this.operSheetShow = false |
| | | |
| | | let t = this.chekstandAll.find(i => i.checkstandname === this.processObj.checkstandname) |
| | | this.processObj.checkstandcode = t.checkstandcode |
| | | this.processObj.sampmethod = t.sampmethod |
| | | this.processObj.sampscare = t.sampmethod === 'FIXED' ? t.sampscare : Math.ceil(this |
| | | .processObj.good_qty * t.sampscare / 100) |
| | | this.processObj.sampscare = this.processObj.sampscare <= this.processObj.good_qty ? this.processObj |
| | | .sampscare : this.processObj.good_qty |
| | | |
| | | await this.getStepCheckItemList(this.processObj.checkstandcode) |
| | | |
| | | }, |
| | | |
| | | async getStepCheckSearch(orderstepqrcode) { |
| | |
| | | |
| | | |
| | | if (res.code === '200') { |
| | | this.chekstandAll = res.data.chekstand |
| | | this.chekstandArr = [this.chekstandAll.map(i => i.checkstandname)] |
| | | |
| | | |
| | | this.processObj = { |
| | | wo_code: res.data.labcont[0].wo_code, |
| | | partcode: res.data.labcont[0].partcode, |
| | |
| | | ::v-deep .u-number-box__plus { |
| | | height: 50rpx !important; |
| | | } |
| | | |
| | | |
| | | .custominputClass { |
| | | width: 412rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | border: 3rpx #eff0f1 solid; |
| | | border-radius: 10rpx; |
| | | padding: 0 16rpx; |
| | | |
| | | } |
| | | |
| | | .ellipsis { |
| | | text-overflow: ellipsis; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | } |
| | | </style> |
| | |
| | | // that.scanContent = res.result; |
| | | |
| | | uni.navigateTo({ |
| | | url: './scbg2?orderstep=' + res.result |
| | | url: './wgjy1?orderstep=' + res.result |
| | | }) |
| | | |
| | | }, |
| | |
| | | <view>样本数量:</view> |
| | | </view> |
| | | <view class="flex_column contentFont"> |
| | | <view>{{processObj.checkstandname}}</view> |
| | | <view @click='operSheetClick' class="custominputClass"> |
| | | <view v-show='processObj.checkstandname===""' style="color: rgb(192, 196, 204);">请选择 |
| | | </view> |
| | | <view v-show='processObj.checkstandname!==""' class="ellipsis" |
| | | style="width: 390rpx;"> |
| | | {{processObj.checkstandname}} |
| | | </view> |
| | | |
| | | <u-icon :name="!operSheetShow?'arrow-down-fill':'arrow-up-fill'"></u-icon> |
| | | </view> |
| | | <view>{{processObj.sampmethod==='FIXED'?'固时抽检':'比例抽检'}}</view> |
| | | <view>{{processObj.good_qty}}</view> |
| | | |
| | |
| | | </view> |
| | | |
| | | |
| | | <u-picker :show="operSheetShow" :columns="chekstandArr" :itemHeight='55' :closeOnClickOverlay='true' |
| | | @close='operSheetShow=false' @confirm='operPickerConfirm' @cancel='operSheetShow=false'> |
| | | </u-picker> |
| | | |
| | | |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | |
| | | |
| | | |
| | | checkNumber: 1, //检验项目中的检验数量 现在处于第几个 |
| | | chekstandAll: [], // |
| | | chekstandArr: [], // |
| | | |
| | | operSheetShow: false, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | init() { |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | operSheetClick() { |
| | | this.operSheetShow = true |
| | | }, |
| | | async operPickerConfirm(val) { |
| | | this.processObj.checkstandname = val.value[0] |
| | | this.operSheetShow = false |
| | | |
| | | let t = this.chekstandAll.find(i => i.checkstandname === this.processObj.checkstandname) |
| | | this.processObj.checkstandcode = t.checkstandcode |
| | | this.processObj.sampmethod = t.sampmethod |
| | | this.processObj.sampscare = t.sampmethod === 'FIXED' ? t.sampscare : Math.ceil(this |
| | | .processObj.good_qty * t.sampscare / 100) |
| | | this.processObj.sampscare = this.processObj.sampscare <= this.processObj.good_qty ? this.processObj |
| | | .sampscare : this.processObj.good_qty |
| | | |
| | | await this.getStepCheckItemList(this.processObj.checkstandcode) |
| | | |
| | | }, |
| | | async getStepCheckSearch(orderstepqrcode) { |
| | | console.log('执行了') |
| | | // 检验方式FirstCheck(首检) PatroCheck(巡检) EndCheck(完工检) |
| | |
| | | |
| | | |
| | | if (res.code === '200') { |
| | | this.chekstandAll = res.data.chekstand |
| | | this.chekstandArr = [this.chekstandAll.map(i => i.checkstandname)] |
| | | this.processObj = { |
| | | wo_code: res.data.labcont[0].wo_code, |
| | | partcode: res.data.labcont[0].partcode, |
| | |
| | | ::v-deep .u-number-box__plus { |
| | | height: 50rpx !important; |
| | | } |
| | | |
| | | .custominputClass { |
| | | width: 412rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | border: 3rpx #eff0f1 solid; |
| | | border-radius: 10rpx; |
| | | padding: 0 16rpx; |
| | | |
| | | } |
| | | |
| | | .ellipsis { |
| | | text-overflow: ellipsis; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | } |
| | | </style> |
| | |
| | | // that.scanContent = res.result; |
| | | |
| | | uni.navigateTo({ |
| | | url: './scbg2?orderstep=' + res.result |
| | | url: './xjjy1?orderstep=' + res.result |
| | | }) |
| | | |
| | | }, |
| | |
| | | <view>样本数量:</view> |
| | | </view> |
| | | <view class="flex_column contentFont"> |
| | | <view>{{processObj.checkstandname}}</view> |
| | | <view @click='operSheetClick' class="custominputClass"> |
| | | <view v-show='processObj.checkstandname===""' style="color: rgb(192, 196, 204);">请选择 |
| | | </view> |
| | | <view v-show='processObj.checkstandname!==""' class="ellipsis" |
| | | style="width: 390rpx;"> |
| | | {{processObj.checkstandname}} |
| | | </view> |
| | | |
| | | <u-icon :name="!operSheetShow?'arrow-down-fill':'arrow-up-fill'"></u-icon> |
| | | </view> |
| | | <view>{{processObj.sampmethod==='FIXED'?'固时抽检':'比例抽检'}}</view> |
| | | <view>{{processObj.good_qty}}</view> |
| | | |
| | |
| | | </view> |
| | | |
| | | |
| | | <u-picker :show="operSheetShow" :columns="chekstandArr" :itemHeight='55' :closeOnClickOverlay='true' |
| | | @close='operSheetShow=false' @confirm='operPickerConfirm' @cancel='operSheetShow=false'> |
| | | </u-picker> |
| | | |
| | | |
| | | </view> |
| | | </template> |
| | |
| | | |
| | | |
| | | checkNumber: 1, //检验项目中的检验数量 现在处于第几个 |
| | | chekstandAll: [], // |
| | | chekstandArr: [], // |
| | | |
| | | operSheetShow: false, |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | init() { |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | operSheetClick() { |
| | | this.operSheetShow = true |
| | | }, |
| | | async operPickerConfirm(val) { |
| | | this.processObj.checkstandname = val.value[0] |
| | | this.operSheetShow = false |
| | | |
| | | let t = this.chekstandAll.find(i => i.checkstandname === this.processObj.checkstandname) |
| | | this.processObj.checkstandcode = t.checkstandcode |
| | | this.processObj.sampmethod = t.sampmethod |
| | | this.processObj.sampscare = t.sampmethod === 'FIXED' ? t.sampscare : Math.ceil(this |
| | | .processObj.good_qty * t.sampscare / 100) |
| | | this.processObj.sampscare = this.processObj.sampscare <= this.processObj.good_qty ? this.processObj |
| | | .sampscare : this.processObj.good_qty |
| | | |
| | | await this.getStepCheckItemList(this.processObj.checkstandcode) |
| | | |
| | | }, |
| | | async getStepCheckSearch(orderstepqrcode) { |
| | | console.log('执行了') |
| | | // 检验方式FirstCheck(首检) PatroCheck(巡检) EndCheck(完工检) |
| | |
| | | |
| | | |
| | | if (res.code === '200') { |
| | | this.chekstandAll = res.data.chekstand |
| | | this.chekstandArr = [this.chekstandAll.map(i => i.checkstandname)] |
| | | this.processObj = { |
| | | wo_code: res.data.labcont[0].wo_code, |
| | | partcode: res.data.labcont[0].partcode, |
| | |
| | | ::v-deep .u-number-box__plus { |
| | | height: 50rpx !important; |
| | | } |
| | | |
| | | .custominputClass { |
| | | width: 412rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | border: 3rpx #eff0f1 solid; |
| | | border-radius: 10rpx; |
| | | padding: 0 16rpx; |
| | | |
| | | } |
| | | |
| | | .ellipsis { |
| | | text-overflow: ellipsis; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | } |
| | | </style> |