| | |
| | | <view class="left">检验员</view> |
| | | <view class="right"> |
| | | <uni-combox :candidates="GyFirstCheckEmpNameList" placeholder="请选择检验员" |
| | | :v-model="hform.HFirstCheckEmpName" |
| | | v-model="hform.HFirstCheckEmpName" |
| | | @update:modelValue="HFirstCheckEmpChange"></uni-combox> |
| | | </view> |
| | | </view> |
| | |
| | | HMaterNumber: "", |
| | | HMaterID: "0", |
| | | HMaterName: "", |
| | | HFirstCheckEmpName: "", |
| | | HFirstCheckEmp: 0, |
| | | HFirstCheckEmpName: getUserInfo().HEmpName, |
| | | HFirstCheckEmp: getUserInfo().HEmpID, |
| | | HQCSchemeName: "", |
| | | HQCSchemeID: "0", |
| | | HBatchNo: "", |
| | |
| | | calcHResult(item) { |
| | | // 非抽检条件下判断结论 |
| | | console.log('item: ', item); |
| | | if (item.HSampleSchemeID) { |
| | | if (!item.HSampleSchemeID) { |
| | | return |
| | | } |
| | | |
| | | if (item.HInspectValQ >= item.HDownLimit && item.HInspectValQ <= item.HUpLimit) { |
| | | this.checkItems[item.num].HResult = true |
| | | this.checkItems[item.num].HResult = 1 |
| | | return |
| | | } |
| | | |
| | | this.checkItems[item.num].HResult = false |
| | | this.checkItems[item.num].HResult = 2 |
| | | }, |
| | | // 源单类型选择 |
| | | HSourceBillTypeNameChange(e) { |
| | |
| | | } |
| | | try { |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: "/Web/GetCheckItemByCheckProjectID", |
| | | url: "/Web/GetCheckItemByCheckProjectID_Sec", |
| | | data: { |
| | | CheckProjectID: this.hform.HQCSchemeID || 0, |
| | | HBatchQty: this.hform.HProcExchQty || 0, |
| | |
| | | async onLoad(e) { |
| | | this.operationType = e.operationType || 1; |
| | | this.hform.HInterID = e.linterid || 0; |
| | | |
| | | console.log(this.hform.HFirstCheckEmp) |
| | | if (this.operationType == 1) { |
| | | await this.getMaxBillNo(); |
| | | } else if (this.operationType == 2) {} else if (this.operationType == 3) { |