From fdefbad9531a820d6a5eb88a578c29c3a5e67a4a Mon Sep 17 00:00:00 2001 From: anthonyywj2 <353682448@qq.com> Date: Sun, 5 Jun 2022 15:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/config.json | 8 ++-- src/api/inout/company.js | 2 +- src/views/business/stockOrderDelSearch.vue | 35 ++++++---------- src/views/inout/IOAddOrder.vue | 2 +- .../userManage/param/phoneRegisterManage.vue | 40 +++++++++++++++++++ 5 files changed, 58 insertions(+), 29 deletions(-) diff --git a/public/config.json b/public/config.json index 23d8f3b..afdfb30 100644 --- a/public/config.json +++ b/public/config.json @@ -1,6 +1,6 @@ { - "UDI_SYNC_SERVER_IP": "http://192.168.0.105:9995/", - "BASE_URL":"http://192.168.0.105:9991/", - "SERVER_IP": "http://192.168.0.105:9991/", - "WEBSOCKET_URL": "ws://192.168.0.105:9991/UDI_WMS_MC/api/websocket/" + "UDI_SYNC_SERVER_IP": "http://192.168.0.109:9995/", + "BASE_URL":"http://192.168.0.109:9991", + "SERVER_IP": "http://192.168.0.109:9991/", + "WEBSOCKET_URL": "ws://192.168.0.109:9991/UDI_WMS_MC/api/websocket/" } diff --git a/src/api/inout/company.js b/src/api/inout/company.js index 43a93ab..6a92d91 100644 --- a/src/api/inout/company.js +++ b/src/api/inout/company.js @@ -7,7 +7,7 @@ export function getCompany() { }); } -export function modifyComapny(query) { +export function modifyCompany(query) { return axios({ url: "/warehouse/info/modifyCompany", method: "post", diff --git a/src/views/business/stockOrderDelSearch.vue b/src/views/business/stockOrderDelSearch.vue index 27777da..ed80d9b 100644 --- a/src/views/business/stockOrderDelSearch.vue +++ b/src/views/business/stockOrderDelSearch.vue @@ -12,15 +12,6 @@ - - - - - - - - - 发票 - - - - - - - - - - + 复制 +
{ + this.$message({ + type: 'success', + message: '补单成功!' + }); //补单 let orderQuery = { billNo: row.billNo } supplementOrder(orderQuery); - this.$message({ - type: 'success', - message: '补单成功!' - }); }).catch(() => { this.$message({ type: 'info', diff --git a/src/views/inout/IOAddOrder.vue b/src/views/inout/IOAddOrder.vue index f2baca0..e41a133 100644 --- a/src/views/inout/IOAddOrder.vue +++ b/src/views/inout/IOAddOrder.vue @@ -171,7 +171,7 @@ 是否只采集预验收产品
diff --git a/src/views/userManage/param/phoneRegisterManage.vue b/src/views/userManage/param/phoneRegisterManage.vue index d9a5c01..04c10f5 100644 --- a/src/views/userManage/param/phoneRegisterManage.vue +++ b/src/views/userManage/param/phoneRegisterManage.vue @@ -31,9 +31,31 @@
+ + +
+
+ 当前系统:  +
+ +
+
+
+ 保存 + 取消 + +
@@ -184,6 +206,8 @@ import {registerList, check, deleterKey} from "../../../api/auth/deviceCheck"; import QRCode from 'qrcodejs2' import axios from "axios"; +import store from "@/store"; +import {getCompany, modifyCompany} from "@/api/inout/company"; export default { data() { @@ -213,6 +237,7 @@ export default { editDialogVisible: false, qrCodeVisible: false, serverUrl: false, + companyInfo: {}, }; }, @@ -328,6 +353,13 @@ export default { this.centerDialogVisible = false; }, qrCodeGeneration() { + let tquery = { + customerId: 110, + }; + getCompany(tquery).then((response) => { + this.loading = false; + this.companyInfo = response.data; + }); this.qrCodeVisible = true; this.$nextTick(function () { document.getElementById("qrCodeUrl").innerHTML = ""; @@ -339,6 +371,14 @@ export default { colorLight: "#fff" }); }); + }, + saveNameClick() { + modifyCompany(this.companyInfo).then((response) => { + if (response.code == 20000) { + this.$message.success("保存成功!"); + this.qrCodeVisible = false; + } + }); } },