| | |
| | | if (that.form.productType == "TG01") { |
| | | that.$refs.saveForm.open(ScanCodeRecordList); |
| | | } else { |
| | | if (that.form.workshop == "ZF01") { |
| | | that.$refs.saveForm.open(ScanCodeRecordList); |
| | | } |
| | | that.queryCustomName(codeInfo, ScanCodeRecordList); |
| | | } |
| | | } |
| | |
| | | }; |
| | | }) |
| | | .catch((err) => { |
| | | uni.hideLoading(); |
| | | console.log("err", err); |
| | | // uni.hideLoading(); |
| | | uni.showModal({ |
| | | title: "提示", |
| | | content: err.message || "网络异常,请重试", |
| | |
| | | // this.ScanCodeRecord.unshift(Obj); |
| | | this.$refs.saveForm.cancel(); |
| | | }) |
| | | .catch(() => { |
| | | .catch((err) => { |
| | | uni.hideLoading(); |
| | | this.$refs.saveForm.cancel(); |
| | | uni.showModal({ |