| | |
| | | var vm = new Vue({ |
| | | var vm = new Vue({ |
| | | el: '#app', |
| | | data: function () { |
| | | return { |
| | |
| | | okValue: '',//OK-数量 |
| | | ngValue: '',//NG-数量 |
| | | showDialog: false,//不良表述输入框 |
| | | checkItemDesc: '',//检验项目描述 |
| | | showCheckItemDescDialog: false,//检验项目描述输入框 |
| | | selectKey: "",//查询关键字 |
| | | actions: [],//列表的值 |
| | | daashow: false,//工单列表展示 |
| | |
| | | input = "NG-1"; |
| | | this.addJyzIpqc(input); |
| | | } |
| | | }, |
| | | handleQualifiedCancel() { |
| | | var input = ""; |
| | | input = "/"; |
| | | this.addJyzIpqc(input); |
| | | }, |
| | | togglePopup(index) { |
| | | // 切换指定索引的 popup 状态 |
| | |
| | | updateRemarks(guid) { |
| | | this.showDialog= true |
| | | }, |
| | | updateCheckItemDesc(guid) { |
| | | this.showCheckItemDescDialog = true |
| | | }, |
| | | checkItemDescConfirm() { |
| | | const that = this; |
| | | that.isLoading = true; |
| | | var guid = that.jymxData.guid; |
| | | that.AxiosHttp("post", 'Ipqc/updateCheckItemDesc', { |
| | | gid: guid, |
| | | CheckItemDesc: that.checkItemDesc |
| | | }, true, 0).then(res1 => { |
| | | if (res1.status == 0) { |
| | | that.$notify({ type: 'success', message: '输入成功' }); |
| | | that.showCheckItemDescDialog = false; |
| | | that.refreshJYItem();//刷新检验项目 |
| | | } else { |
| | | that.$toast.fail(res1.rtnMsg); |
| | | } |
| | | that.isLoading = false; |
| | | }).catch(error => { |
| | | that.$toast.fail("网络错误,请重试!"); |
| | | that.isLoading = false; |
| | | }); |
| | | }, |
| | | deleteDetail13(guid12) { |
| | | const that = this; |
| | | var guid1 = that.formData.guid;//主表id |