From 2f1f5f0c98b8495127ec7b6823906d525bf19e4b Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 02 六月 2025 16:32:17 +0800 Subject: [PATCH] 1.首检认证信息优化,多选 --- H5/Js/IPQC_XJ/Add.js | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/H5/Js/IPQC_XJ/Add.js b/H5/Js/IPQC_XJ/Add.js index 5692543..757de69 100644 --- a/H5/Js/IPQC_XJ/Add.js +++ b/H5/Js/IPQC_XJ/Add.js @@ -158,6 +158,23 @@ console.log(this.tabActive) this.togglePopup(this.tabActive); }, + + //鐢熸垚妫�楠屽崟 + createByWomdaa() { + const that = this; + var guid1 = that.formData.guid;//涓昏〃id + return that.AxiosHttp("post", 'Ipqc/createByWomdaa', { + inOrderGuid1: guid1, + userAccount: that.userInfo.loginAccount, + DAA001: that.formData.lotNo + }, false).then(res1 => { + that.init(); + }).catch(error => { + that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); + console.error('Refresh error:', error); + }); + }, + //妫�楠屾槑缁嗗埛鏂� refreshJYItem() { const that = this; @@ -187,7 +204,7 @@ let data = res.data.tbBillList[0]; if (data) { that.formData = data; - that.remarks = that.formData.remarks; + that.remarks = that.formData.fnGDesc; that.AxiosHttp("post", 'LLJ/getJYItem', { //id: that.formData.guid, releaseNo: that.formData.releaseNo @@ -222,7 +239,7 @@ submit() { var that = this; that.ttrre = true; - that.AxiosHttp("post", 'MesQaItemsDetect01Manager/EditModelSubmit', { + that.AxiosHttp("post", 'FqcManager/EditModelSubmit', { guid: that.formData.guid }, true, 1).then(function (res1) { if (res1.rtnData.outSum == 1) { @@ -422,16 +439,19 @@ }, true, 0).then(res1 => { if (res1.status === 0) { that.$notify({ type: 'success', message: '鍒犻櫎鎴愬姛' }); - that.init();//鍒锋柊妫�楠岄」鐩� + } else { that.$toast.fail(res1.rtnMsg); + } + that.init();//鍒锋柊妫�楠岄」鐩� }).catch(error => { that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); }); }).catch(() => { // 鍙栨秷鎿嶄綔 + that.init();//鍒锋柊妫�楠岄」鐩� }) }, } -- Gitblit v1.9.3