From 104cee8881f03e2d1ab4edc349b866cfd980d573 Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期五, 07 二月 2025 13:44:42 +0800 Subject: [PATCH] 1.来料检验”重新加载项目“按钮完成 --- H5/Js/LLJ/Add.js | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/H5/Js/LLJ/Add.js b/H5/Js/LLJ/Add.js index 193e949..4eb07d3 100644 --- a/H5/Js/LLJ/Add.js +++ b/H5/Js/LLJ/Add.js @@ -43,9 +43,10 @@ }, methods: { init() { + //alert(this.Request("id")); var that = this; that.AxiosHttp("post", 'LLJ/getPage', { - id: this.formData.id, + id: that.Request("id"), pageIndex: 1, limit: 1, }, false) @@ -55,7 +56,7 @@ that.formData = data; that.AxiosHttp("post", 'LLJ/getJYItem', { - id: that.formData.id, + //id: that.formData.guid, releaseNo: that.formData.releaseNo }, false).then(function (res1) { let tableData = res1.data.tbBillList @@ -108,6 +109,23 @@ }, removeXJ() { + var that = this; + + + that.AxiosHttp("post", 'MesQaItemsDetect01Manager/ReloadModel5', { + guid: that.formData.guid + }, true, 1).then(function (res1) { + if (res1.rtnCode == 1) { + that.$notify({ type: 'success', message: '鎻愪氦鎴愬姛' }); + that.init(); + } else { + that.$toast.fail(res1.rtnMsg); + } + }).catch(function (error) { + that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); + console.log(error); + }); + }, GetBack1() { window.history.back(); -- Gitblit v1.9.3