From 12e67bdfd496d1ab8687b93580c34a55f771f745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Tue, 29 Aug 2023 14:54:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E4=BB=A3=E7=A0=81=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/tableHeadSet.vue | 2 - .../inventory/DeviceReceiveOrderModify.vue | 8 +- .../inventory/DeviceTemperamentDialog.vue | 483 ++++++++++++++++++ 3 files changed, 490 insertions(+), 3 deletions(-) create mode 100644 src/views/inventory/DeviceTemperamentDialog.vue diff --git a/src/views/inout/tableHeadSet.vue b/src/views/inout/tableHeadSet.vue index f5b008a7..d5230b0f 100644 --- a/src/views/inout/tableHeadSet.vue +++ b/src/views/inout/tableHeadSet.vue @@ -54,7 +54,6 @@ export default { }, methods: { rowDrop() { - debugger const tbody = document.querySelector('.table-head .el-table__body-wrapper tbody'); const _this = this; Sortable.create(tbody, { @@ -71,7 +70,6 @@ export default { }, created() { - debugger this.rowDrop(); } }; diff --git a/src/views/inventory/DeviceReceiveOrderModify.vue b/src/views/inventory/DeviceReceiveOrderModify.vue index b5a29fe4..bf4cdb72 100644 --- a/src/views/inventory/DeviceReceiveOrderModify.vue +++ b/src/views/inventory/DeviceReceiveOrderModify.vue @@ -627,7 +627,6 @@ export default { } else { addDeviceReceiveOrder(this.formData).then((res) => { if (res.code === 20000) { - debugger this.formData.id = res.data.id; this.formData.orderId = res.data.orderId; this.formData.createTime = res.data.createTime; @@ -667,6 +666,11 @@ export default { this.$refs.inputRef.select(); }, addCode() { + if(isBlank(typeof this.formData)){ + this.$message.warning("请先选择来源类型"); + return; + } + let message = this.verifyOrder(1); if (!isBlank(message)) { this.$message.warning(message); @@ -738,6 +742,7 @@ export default { addDeviceReceiveOrderDetail() { //扫码添加库存养护记录详情 let params = { + type: this.formData.type, orderIdFk: this.formData.orderId, code: this.formData.code } @@ -956,6 +961,7 @@ export default { this.formData.fromInvCode = this.deviceReceiveOrder.fromInvCode; this.formData.fromInvSpaceCode = this.deviceReceiveOrder.fromInvSpaceCode; this.formData.receiveUser = this.deviceReceiveOrder.receiveUser; + this.formData.type = this.deviceReceiveOrder.type this.getList(); this.getDeptUserList(); } diff --git a/src/views/inventory/DeviceTemperamentDialog.vue b/src/views/inventory/DeviceTemperamentDialog.vue new file mode 100644 index 00000000..e61cef02 --- /dev/null +++ b/src/views/inventory/DeviceTemperamentDialog.vue @@ -0,0 +1,483 @@ + + + +