| | |
| | | ></u-icon> |
| | | </view> |
| | | </view> |
| | | <view class="packing-registration-param-item param-extra"> |
| | | <!-- <view class="packing-registration-param-item param-extra"> |
| | | <view class="packing-registration-param-item-left"> |
| | | <text class="item-one">工单</text> |
| | | </view> |
| | |
| | | size="28" |
| | | ></u-icon> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="packing-registration-param-item param-extra"> |
| | | <view class="packing-registration-param-item-left"> |
| | | <text class="item-one">取消下发记录:</text> |
| | |
| | | uni.$off("scan"); // 每次进来先 移除全局自定义事件监听器 |
| | | uni.$on("scan", function (data) { |
| | | console.log("onscan"); |
| | | if (that.registerInfo.workstationId == "") { |
| | | uni.showToast({ |
| | | icon: "none", |
| | | title: "请先选择机台!", |
| | | duration: 2 * 1000, |
| | | }); |
| | | return; |
| | | } |
| | | // if (that.registerInfo.workstationId == "") { |
| | | // uni.showToast({ |
| | | // icon: "none", |
| | | // title: "请先选择机台!", |
| | | // duration: 2 * 1000, |
| | | // }); |
| | | // return; |
| | | // } |
| | | if (data.code) { |
| | | //扫码成功后的回调,你可以写自己的逻辑代码在这里 |
| | | console.log("扫码结果:", data.code); |
| | |
| | | return; |
| | | } |
| | | // 处理确认逻辑 |
| | | this.$u.api.WorkshopOrderCancellationIssued.feeding([ |
| | | this.modalList, |
| | | ]).then((res) => { |
| | | this.$u.api.WorkshopOrderCancellationIssued.rejectPDA( |
| | | this.modalList |
| | | ).then((res) => { |
| | | console.log("res", res); |
| | | if (res.code === 0) { |
| | | this.$u.toast("提交成功"); |
| | |
| | | feedingWorkstationId: workstationId, |
| | | operationTaskId: operationTaskId, |
| | | }; |
| | | this.$u.api.WorkshopOrderCancellationIssued.checkReturnPartPDA(obj).then( |
| | | (res) => { |
| | | console.log("res", res); |
| | | if (res.code === 0) { |
| | | this.getHandymanItem(obj); |
| | | } |
| | | } |
| | | ); |
| | | this.getReturnInfo(obj); |
| | | // this.$u.api.WorkshopOrderCancellationIssued.checkReturnPartPDA(obj).then( |
| | | // (res) => { |
| | | // console.log("res", res); |
| | | // if (res.code === 0) { |
| | | // this.getHandymanItem(obj); |
| | | // } |
| | | // } |
| | | // ); |
| | | }, |
| | | // 获取基本信息 |
| | | getReturnInfo(obj) { |
| | |
| | | |
| | | .packing-registration-param-item-left { |
| | | .item-one { |
| | | font-size: 30rpx; |
| | | color: #666666; |
| | | font-size: small; |
| | | color: #232222; |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .item-two { |
| | | font-size: 30rpx; |
| | | font-size: small; |
| | | color: #a6b4cc; |
| | | margin-right: 6rpx; |
| | | } |
| | |
| | | |
| | | ._label-name { |
| | | margin-left: 11rpx; |
| | | font-size: 26rpx; |
| | | font-size: small; |
| | | font-weight: 500; |
| | | color: #666666; |
| | | } |
| | |
| | | flex: 1.5; |
| | | text-align: right; |
| | | color: #909399; |
| | | font-size: 24rpx; |
| | | font-size: small; |
| | | } |
| | | |
| | | .row-list .s1 { |