| | |
| | | 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; |
| | |
| | | let data = res.data.tbBillList[0]; |
| | | if (data) { |
| | | that.formData = data; |
| | | that.remarks = that.formData.fngDesc; |
| | | that.remarks = that.formData.fnGDesc; |
| | | that.AxiosHttp("post", 'LLJ/getJYItem', { |
| | | //id: that.formData.guid, |
| | | releaseNo: that.formData.releaseNo |
| | |
| | | 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) { |