| | |
| | | <view class="_label-name">净重:</view> |
| | | </view> |
| | | <view class="_content"> |
| | | {{ item.NW }} |
| | | {{ item.KW }} |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="packing-registration-param-item-right"> |
| | | <text class="item-one item-two">{{ |
| | | detailedList.NW |
| | | detailedList.KW |
| | | }}</text> |
| | | </view> |
| | | </view> |
| | |
| | | }); |
| | | }, |
| | | methods: { |
| | | cancel() { |
| | | // 处理取消逻辑 |
| | | this.showModal = false; |
| | | }, |
| | | // 回显扫码的信息 |
| | | saveForm(val) { |
| | | this.detailedList = val; |
| | | this.showModal = true; |
| | | }, |
| | | confirm() { |
| | | // // 处理确认逻辑 |
| | | // this.$u.api.shiftingParking |
| | | // .hasScanSn({ |
| | | // ...this.detailedList, |
| | | // }) |
| | | // .then((res) => { |
| | | // this.hasScanSnList.push(this.detailedList); |
| | | // console.log("记录", this.hasScanSnList); |
| | | // this.$u.toast("领料成功"); |
| | | // }); |
| | | // 处理确认逻辑 |
| | | this.$u.api.materialRequisition |
| | | .materialRequisition({ |
| | | ...this.detailedList, |
| | | }) |
| | | .then((res) => { |
| | | this.hasScanSnList.push(this.detailedList); |
| | | console.log("记录", this.hasScanSnList); |
| | | this.$u.toast("领料成功"); |
| | | }) |
| | | .catch((err) => { |
| | | this.$u.toast("领料失败"); |
| | | }); |
| | | }, |
| | | }, |
| | | }; |