|  |  | 
 |  |  |             @click="cancelReport(item)" | 
 |  |  |           > | 
 |  |  |             <view class="content-header"> | 
 |  |  |               <view class="content-header-title">{{ index + 1 }}</view> | 
 |  |  |               <view class="content-header-title">{{ ScanCodeRecord.length - index }}</view> | 
 |  |  |             </view> | 
 |  |  |             <view class="content-body"> | 
 |  |  |               <view class="row-list"> | 
 |  |  | 
 |  |  |                   if (that.form.productType == "TG01") { | 
 |  |  |                     that.$refs.saveForm.open(ScanCodeRecordList); | 
 |  |  |                   } else { | 
 |  |  |                     that.ScanCodeRecord.push(ScanCodeRecordList); | 
 |  |  |                     that.ScanCodeRecord.unshift(ScanCodeRecordList); | 
 |  |  |                   } | 
 |  |  |                 } else { | 
 |  |  |                   uni.showToast({ | 
 |  |  | 
 |  |  |             if (that.form.productType == "TG01") { | 
 |  |  |               that.$refs.saveForm.open(ScanCodeRecordList); | 
 |  |  |             } else { | 
 |  |  |               that.ScanCodeRecord.push(ScanCodeRecordList); | 
 |  |  |               that.ScanCodeRecord.unshift(ScanCodeRecordList); | 
 |  |  |             } | 
 |  |  |           } | 
 |  |  |         } else { | 
 |  |  |           if (that.form.productType == "TG01") { | 
 |  |  |             that.$refs.saveForm.open(ScanCodeRecordList); | 
 |  |  |           } else { | 
 |  |  |             that.ScanCodeRecord.push(ScanCodeRecordList); | 
 |  |  |             that.ScanCodeRecord.unshift(ScanCodeRecordList); | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  |       } | 
 |  |  | 
 |  |  |       this.$u.api.NuclearScaleEntry.createDetail(this.form) | 
 |  |  |         .then((res) => { | 
 |  |  |           this.$u.toast("提交成功"); | 
 |  |  |           this.ScanCodeRecord.push(Obj); | 
 |  |  |           this.ScanCodeRecord.unshift(Obj); | 
 |  |  |           this.$refs.saveForm.cancel(); | 
 |  |  |         }) | 
 |  |  |         .catch(() => { |