From 8020a739fb1dd98b4a3b3c2db7413fbacd1f1bd9 Mon Sep 17 00:00:00 2001 From: yinq Date: Thu, 25 Apr 2024 11:01:21 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E9=87=91=E8=9D=B6=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-modules/hw-jindie/kdwebapi.properties | 6 +++--- hw-ui/src/views/mes/processInfo/index.vue | 4 +--- kdwebapi.properties | 6 +++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/hw-modules/hw-jindie/kdwebapi.properties b/hw-modules/hw-jindie/kdwebapi.properties index 4d9f21d1..54a53de7 100644 --- a/hw-modules/hw-jindie/kdwebapi.properties +++ b/hw-modules/hw-jindie/kdwebapi.properties @@ -6,11 +6,11 @@ #X-KDApi-ServerUrl=https://apiexp.open.kingdee.com/k3cloud/ # -X-KDApi-AcctID =657953112be3c4 +X-KDApi-AcctID =65e56ceb72f33b # -X-KDApi-AppID=265686_SY0M09lvzkp/18wG4/RBRa1GRs2V2pls +X-KDApi-AppID=262997_5Y0vSaDv0MpW7a9JT54CRa9G6gT7SOlt # -X-KDApi-AppSec =317a6730c9ec4fafa757ca4a3499d059 +X-KDApi-AppSec =b75a20c9294c48648d49f69903d6dc86 # X-KDApi-UserName =张铭潇 # diff --git a/hw-ui/src/views/mes/processInfo/index.vue b/hw-ui/src/views/mes/processInfo/index.vue index 1b799d3d..861ca838 100644 --- a/hw-ui/src/views/mes/processInfo/index.vue +++ b/hw-ui/src/views/mes/processInfo/index.vue @@ -532,9 +532,7 @@ export default { this.$refs["form"].validate(valid => { if (valid) { this.form.mesBaseProcessProdlineList = this.mesBaseProcessProdlineList; - if (!/^[0-9]\d*$/.test(this.form.productionTimeDays) - || !/^[0-9]\d*$/.test(this.form.productionTimeHours) - || !/^[0-9]\d*$/.test(this.form.productionTimeMinutes)) { + if (this.form.productionTime <= 0) { this.$modal.msgError("标准工时天、小时、分钟需为大于等于0的正整数!"); return; } diff --git a/kdwebapi.properties b/kdwebapi.properties index 4d9f21d1..54a53de7 100644 --- a/kdwebapi.properties +++ b/kdwebapi.properties @@ -6,11 +6,11 @@ #X-KDApi-ServerUrl=https://apiexp.open.kingdee.com/k3cloud/ # -X-KDApi-AcctID =657953112be3c4 +X-KDApi-AcctID =65e56ceb72f33b # -X-KDApi-AppID=265686_SY0M09lvzkp/18wG4/RBRa1GRs2V2pls +X-KDApi-AppID=262997_5Y0vSaDv0MpW7a9JT54CRa9G6gT7SOlt # -X-KDApi-AppSec =317a6730c9ec4fafa757ca4a3499d059 +X-KDApi-AppSec =b75a20c9294c48648d49f69903d6dc86 # X-KDApi-UserName =张铭潇 #