| | |
| | | }, |
| | | 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) |
| | |
| | | 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 |
| | |
| | | |
| | | var that = this; |
| | | |
| | | that.ttrre = true; |
| | | |
| | | that.AxiosHttp("post", 'MesQaItemsDetect01Manager/ReloadModel5', { |
| | | guid: "158f4324-955e-4a3b-aafa-09babf3c3368" |
| | | guid: that.formData.guid |
| | | }, true, 1).then(function (res1) { |
| | | if (res1.status == 1) { |
| | | that.$toast.fail(res1.message); |
| | | } else { |
| | | if (res1.rtnCode == 1) { |
| | | that.$notify({ type: 'success', message: '提交成功' }); |
| | | that.init(); |
| | | } else { |
| | | that.$toast.fail(res1.rtnMsg); |
| | | } |
| | | that.ttrre = false |
| | | }).catch(function (error) { |
| | | that.$toast.fail("网络错误,请重试!"); |
| | | that.ttrre = false |
| | | console.log(error); |
| | | }); |
| | | |