| | |
| | | okValue: '',//OK-数量 |
| | | ngValue: '',//NG-数量 |
| | | showDialog: false,//不良表述输入框 |
| | | showDialogRzxx: false,//认证信息输入框 |
| | | rzxxValue: '',//认证信息输入值 |
| | | //图片上传框 |
| | | fileList: [ |
| | | //{ |
| | |
| | | //检验明细刷新 |
| | | 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 || []; |
| | |
| | | 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) { |
| | |
| | | updateRemarks(guid) { |
| | | this.showDialog= true |
| | | }, |
| | | |
| | | updateRzxx() { |
| | | this.showDialogRzxx = true |
| | | }, |
| | | deleteDetail13(guid12) { |
| | | const that = this; |
| | | var guid1 = that.formData.guid;//主表id |
| | |
| | | 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; |