| | |
| | | <view class="right disabled"> |
| | | <input type="text" :value="hform.HICMOBillNo" disabled /> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | |
| | | <view class="form-item"> |
| | |
| | | <view class="right disabled"> |
| | | <input type="text" :value="hform.HProcExchBillNo" disabled /> |
| | | </view> |
| | | |
| | | |
| | | </view> |
| | | <view class="form-item"> |
| | | <view class="left">取样单号</view> |
| | |
| | | <input type="text" disabled :value="hform.HMaterNumber" /> |
| | | </view> |
| | | <view class="icon-wrapper-big"> |
| | | |
| | | :disabled="hasSourceBill" @click="showSelectorModule(hform, 4)"></uni-icons> |
| | | <uni-icons type="search" size="20" @click="showSelectorModule(hform, 4)"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="form-item"> |
| | |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: "/Gy_Employee/list", |
| | | data: { |
| | | |
| | | sWhere: ` and 组织名称 = '${uni.getStorageSync("Organization")}' and 禁用标记 = ''and 审核人 !='' `, |
| | | user: getUserInfo()["Czymc"], |
| | | Organization: uni.getStorageSync("Organization"), |
| | | }, |
| | |
| | | try { |
| | | console.log('this.$refs: ', this.$refs); |
| | | // 检查是否有未切换的检验值模块(是否包含set_SaveValue方法),如果有,则运行一次保存检验值的方法,根据检验值是否保存成功再执行下一步 |
| | | if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules.length > |
| | | if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules |
| | | .length > |
| | | 0) { |
| | | // 加载有检验值模块 |
| | | await this.$refs.InspectValueModules[0].set_SaveValue(); |
| | |
| | | checkItemsArray.push(checkItem); |
| | | } |
| | | console.log('checkItemsArray: ', checkItemsArray); |
| | | |
| | | |
| | | console.log("this.checkItems: ", this.checkItems); |
| | | |
| | | let res = await CommonUtils.doRequest2Sync({ |
| | |
| | | }); |
| | | } else if (res.cancel) { |
| | | console.log("用户点击取消"); |
| | | setTimeout(() => { |
| | | uni.navigateBack(); |
| | | }, 50) |
| | | setTimeout(() => { |
| | | uni.navigateBack(); |
| | | }, 50) |
| | | } |
| | | }, |
| | | }); |
| | |
| | | this.hform.HInterID = e.linterid || 0; |
| | | if (this.operationType == 1) { |
| | | await this.getMaxBillNo(); |
| | | |
| | | if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") { |
| | | this.HSourceBillType = "工序出站汇报单"; // 显示名称 |
| | | this.hform.HSourceBillType = "3791"; // 对应的值 |
| | | } |
| | | } else if (this.operationType == 2) { |
| | | //有源单下推 |
| | | await this.getMaxBillNo(); |
| | |
| | | if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") { |
| | | this.HSourceBillType = "取样单"; // 显示名称 |
| | | this.hform.HSourceBillType = "7521"; // 对应的值 |
| | | this.hform.HSourceBillNo = e.HBillNo; |
| | | } |
| | | this.hform.HTakeSampleCheckBillNo = e.HBillNo; |
| | | this.hform.HTakeSampleCheckBillID = e.linterid; |
| | |
| | | } else if (this.operationType == 3) { |
| | | await this.RoadBillMain(); |
| | | } |
| | | if (uni.getStorageSync('Organization') == "宁波市华舟包装有限公司") { |
| | | this.HSourceBillType = "工序出站汇报单"; // 显示名称 |
| | | this.hform.HSourceBillType = "3791"; // 对应的值 |
| | | } |
| | | |
| | | await this.InitHSource(); |
| | | await this.InitHWorkShift(); |
| | | await this.InitHEmp(); |
| | |
| | | } |
| | | |
| | | .btn-c { |
| | | background-color: #FFA500; |
| | | background-color: #FFA500; |
| | | color: #fff; |
| | | // position: absolute; |
| | | // right: 120rpx; |