diff --git a/src/api/request2.js b/src/api/request2.js index f774ca73..90bdb367 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -4846,6 +4846,22 @@ export function inventoryMoveRecordReceive(id) { }); } +/** + * 扫描叫料,查询信息 + * @param {*} params + */ + +export function getCallmaterials(params) { + return request({ + url: baseApi + "/wms/issue-request-main/getCallmaterials", + method: "post", + data:params, + }); +} + + + + diff --git a/src/mycomponents/qty/numberBox.vue b/src/mycomponents/qty/numberBox.vue index 737b7fe9..9d12726b 100644 --- a/src/mycomponents/qty/numberBox.vue +++ b/src/mycomponents/qty/numberBox.vue @@ -69,9 +69,21 @@ this.inputValue = +this.value; }, methods: { + setValue(value){ + this.inputValue=value; + }, //输入框实时获取输入内容 onKeyInput: function(event) { + //console.log( event.detail.value) + //var hint = event.detail.value; // this.value = event.target.value; + // if (!Number.isInteger(hint)) { + // 如果不是整数,则设置为上一个有效值 + // this.inputValue = hint.toString().match(/^\d+/) || 0; + // } else { + // 如果是整数,则更新数据 + // this.inputValue = hint; + // } }, //加、减操作(minus:减;plus:加) _calcValue(type) { diff --git a/src/mycomponents/scan/winScanPackLevel.vue b/src/mycomponents/scan/winScanPackLevel.vue index 07dd2bcd..ad7a4998 100644 --- a/src/mycomponents/scan/winScanPackLevel.vue +++ b/src/mycomponents/scan/winScanPackLevel.vue @@ -21,10 +21,10 @@ 优先级 - - - + + + @@ -123,7 +123,13 @@ getScanResult(result) { if (result.success) { - result.priorityCode =this.priorityCode + result.priorityCode = this.priorityCode + var itemText = this.priorityList.find(res => { + if (res.value == this.priorityCode) { + return res + } + }) + result.priorityText = itemText.text this.$emit("getResult", result); } else { this.showMessage(result.message) diff --git a/src/pages/issue/request/issueScanRequest.vue b/src/pages/issue/request/issueScanRequest.vue index d190305b..badd9a84 100644 --- a/src/pages/issue/request/issueScanRequest.vue +++ b/src/pages/issue/request/issueScanRequest.vue @@ -1,17 +1,83 @@