From 31d9a515fd8a7f771ac22c03e5507c0e6e5baa33 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期一, 12 五月 2025 09:51:04 +0800 Subject: [PATCH] 1.首检认证信息输入 2.现场收料优化 --- H5/Js/IPQC_SJ/Add.js | 36 ++++++++++++++++++++++++++++++++++-- 1 files changed, 34 insertions(+), 2 deletions(-) diff --git a/H5/Js/IPQC_SJ/Add.js b/H5/Js/IPQC_SJ/Add.js index daa4148..2eed73a 100644 --- a/H5/Js/IPQC_SJ/Add.js +++ b/H5/Js/IPQC_SJ/Add.js @@ -40,6 +40,8 @@ okValue: '',//OK-鏁伴噺 ngValue: '',//NG-鏁伴噺 showDialog: false,//涓嶈壇琛ㄨ堪杈撳叆妗� + showDialogRzxx: false,//璁よ瘉淇℃伅杈撳叆妗� + rzxxValue: '',//璁よ瘉淇℃伅杈撳叆鍊� //鍥剧墖涓婁紶妗� fileList: [ //{ @@ -170,7 +172,7 @@ //妫�楠屾槑缁嗗埛鏂� refreshJYItem() { const that = this; - return that.AxiosHttp("post", 'LLJ/getJYItem', { + return that.AxiosHttp("post", 'Ipqc/getJYItem', { releaseNo: that.formData.releaseNo }, false).then(res1 => { const tableData = res1.data.tbBillList || []; @@ -197,7 +199,7 @@ if (data) { that.formData = data; that.remarks = that.formData.fngDesc; - that.AxiosHttp("post", 'LLJ/getJYItem', { + that.AxiosHttp("post", 'Ipqc/getJYItem', { //id: that.formData.guid, releaseNo: that.formData.releaseNo }, false).then(function (res1) { @@ -284,6 +286,10 @@ updateRemarks(guid) { this.showDialog= true }, + + updateRzxx() { + this.showDialogRzxx = true + }, deleteDetail13(guid12) { const that = this; var guid1 = that.formData.guid;//涓昏〃id @@ -319,6 +325,32 @@ that.isLoading = false; }); }, + rzxxConfirm() { + var that = this; + var guid1 = that.formData.guid;//涓昏〃id + var mxguid = that.tableData[that.tabActive].guid;//妫�楠岄」鐩殑guid + that.isLoading = true; + that.AxiosHttp("post", 'Ipqc/updateIpqcRzxx', { + gid: guid1, + pid: mxguid, + inRzxxValue: that.rzxxValue,//杈撳叆鐨勮璇佷俊鎭� + }, true, 0).then(function (res) { + var json = res; + if (json.status == 0) { + that.$notify({ type: 'success', message: '杈撳叆鎴愬姛' }); + that.refreshJYItem();//鍒锋柊妫�楠岄」鐩� + } + else { + that.$toast.fail(json.message); + } + //that.$notify({ type: 'success', message: json.message }); + that.isLoading = false; + }).catch(function (error) { + that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); + that.inRzxxValue = null; + that.isLoading = false; + }); + }, remarksConfirm() { const that = this; that.isLoading = true; -- Gitblit v1.9.3