Browse Source

拉取代码

maotao 4 months ago
parent
commit
8d5c2c0407

+ 1 - 1
pages/specimenPort/detail.vue

@@ -175,10 +175,10 @@
175 175
 					barcode:scannerCode,
176 176
 					platform:"app"
177 177
 				}).then((res) => {
178
-					let data = res.data[0]
179 178
 					this.SMFlag = true
180 179
 					uni.hideLoading();
181 180
 					if(res.status==200){
181
+						let data = res.data[0]
182 182
 						let item = data.pathologySpecimenDTOList.find(i=>i.specimenCode == scannerCode)
183 183
 						if(!item.fixationTime && data.pathologyFormType==0){
184 184
 							if(data.status.value==2 || data.status.value==3 ||

+ 1 - 1
pages/specimenPort/scan.vue

@@ -288,10 +288,10 @@
288 288
 					delete query.pathologyFormId
289 289
 				}
290 290
 				post("/pathology/scanCode", query).then((res) => {
291
-					let data = res.data[0]
292 291
 					this.SMFlag = true
293 292
 					uni.hideLoading();
294 293
 					if(res.status==200){
294
+						let data = res.data[0]
295 295
 						let item = data.pathologySpecimenDTOList.find(i=>i.specimenCode == scannerCode)
296 296
 						uni.setStorageSync('pathologyFormId', data.id);
297 297
 						if(!item.fixationTime && data.pathologyFormType==0){

+ 2 - 2
pages/specimenPort/specimenPort.vue

@@ -197,7 +197,7 @@
197 197
 			},
198 198
 			// 查看详情
199 199
 			detail(item){
200
-				// this.padChange('118274209746944\n')
200
+				// this.padChange('BL2411281642091\n')
201 201
 				uni.navigateTo({
202 202
 				  url: `/pages/specimenPort/detail?detailId=${item.id}`
203 203
 				});
@@ -290,10 +290,10 @@
290 290
 					barcode:scannerCode,
291 291
 					platform:"app"
292 292
 				}).then((res) => {
293
-					let data = res.data[0]
294 293
 					this.SMFlag = true
295 294
 					uni.hideLoading();
296 295
 					if(res.status==200){
296
+						let data = res.data[0]
297 297
 						let item = data.pathologySpecimenDTOList.find(i=>i.specimenCode == scannerCode)
298 298
 						if(!item.fixationTime && data.pathologyFormType==0){
299 299
 							if(data.status.value==2 || data.status.value==3 ||