From cc936d421be2c9ed390e624d720753bd205b5548 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期五, 25 七月 2025 17:06:15 +0800 Subject: [PATCH] 1.核对送检重置按钮开发 2.登录页面优化,保存账号信息 3.产品绑定送检重置按钮 --- H5/Js/IPQC_XJ/Add.js | 31 +++++++++++++++++++++++++++++-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/H5/Js/IPQC_XJ/Add.js b/H5/Js/IPQC_XJ/Add.js index 5351162..954f9aa 100644 --- a/H5/Js/IPQC_XJ/Add.js +++ b/H5/Js/IPQC_XJ/Add.js @@ -24,6 +24,7 @@ mocode: "", boardStyle: "" }, + jyGw:"",//妫�楠屽伐浣� isShowTable: false, tableData: [],//杩斿洖鐨勬楠岄」鐩� jymxData: [],//灞曠ず鐨勬楠岄」鐩� @@ -257,7 +258,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 || []; @@ -285,7 +286,7 @@ that.formData = data; that.remarks = that.formData.fnGDesc; that.lineId = data.lineId; - that.AxiosHttp("post", 'LLJ/getJYItem', { + that.AxiosHttp("post", 'Ipqc/getJYItem', { //id: that.formData.guid, releaseNo: that.formData.releaseNo }, false).then(function (res1) { @@ -534,5 +535,31 @@ that.init();//鍒锋柊妫�楠岄」鐩� }) }, + //妫�楠岄」鐩壂鎻忓伐浣嶅彲鍋氭楠� + selIpqcItemsByGw() { + const that = this; + var guid1 = that.formData.guid;//涓昏〃id + return that.AxiosHttp("post", 'Ipqc/selIpqcItemsByGw', { + inOrderGuid1: guid1, + userAccount: that.userInfo.loginAccount, + gw: that.jyGw + }, false).then(res => { + var json = res; + if (json.status == 0) { + that.init();//鍒锋柊 + } + else { + that.$toast.fail(json.message); + that.$playSound('error'); + that.jyGw = ""; + } + that.isLoading = false; + + + }).catch(error => { + that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); + console.error('Refresh error:', error); + }); + }, } }) \ No newline at end of file -- Gitblit v1.9.3