Commit 65f7dadc authored by 刘用法's avatar 刘用法
parents 90145830 e596160f
...@@ -64,5 +64,7 @@ ...@@ -64,5 +64,7 @@
} }
.input-item{ .input-item{
background: #F4F5F7; background: #F4F5F7;
border-radius: 12rpx;
padding-left: 20rpx;
} }
</style> </style>
...@@ -61,8 +61,8 @@ ...@@ -61,8 +61,8 @@
if(!photo.tempPath){ if(!photo.tempPath){
return return
} }
let path = '' let path = ''
if(photo.tempPath.origin && photo.waterSetting && photo.waterSetting.has_origin){ if(photo.tempPath.origin){
// 保存原图到本地 // 保存原图到本地
path = photo.tempPath.origin path = photo.tempPath.origin
let result = await this.saveLocal(path) let result = await this.saveLocal(path)
...@@ -73,18 +73,18 @@ ...@@ -73,18 +73,18 @@
}) })
} }
} }
// if(photo.currentItem){
// photo.currentItem.imageList.unshift(photo.tempPath.mixWater)
// }
if(photo.currentItem){
photo.currentItem.imageList.unshift(photo.tempPath.mixWater)
}
// if(photo.productList && photo.productList[photo.topIndex]){ // if(photo.productList && photo.productList[photo.topIndex]){
// const topArr = photo.productList[photo.topIndex] // const topArr = photo.productList[photo.topIndex]
// if(topArr[photo.itemIndex]){ // if(topArr[photo.itemIndex]){
// topArr[photo.itemIndex].imageList.push(photo.tempPath.mixWater) // topArr[photo.itemIndex].imageList.push(photo.tempPath.mixWater)
// } // }
// } // }
// photo. // photo.
if(photo.tempPath.mixWater){ if(photo.tempPath.mixWater){
// 保存水印处理图片到本地 // 保存水印处理图片到本地
path = photo.tempPath.mixWater path = photo.tempPath.mixWater
let result1 = await this.saveLocal(path) let result1 = await this.saveLocal(path)
......
...@@ -466,7 +466,8 @@ ...@@ -466,7 +466,8 @@
case 'location': case 'location':
formType = 'location' formType = 'location'
break break
case 'scan': case 'scan':
case 'machine_code':
formType = 'scan' formType = 'scan'
break break
case 'picker': case 'picker':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment