shish hace 3 años
padre
commit
552507fa65
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. 8 2
      ghsApp/src/pagesOrder/detail.vue

+ 8 - 2
ghsApp/src/pagesOrder/detail.vue

@@ -9,7 +9,10 @@
 				<view>
 					<view style="overflow:hidden;text-overflow:ellipsis;white-space: nowrap;width:450upx;"> {{ detailInfo.customName }} {{ detailInfo.customMobile }}</view>
 					<view style="margin-bottom:20upx;color:#333333">店长:{{ detailInfo.customSuper.name||''}}</view>
-					<view>{{ detailInfo.address}}{{ detailInfo.floor}}({{detailInfo.showAddress}})</view>
+					<view>
+						{{ detailInfo.customAddress}}
+						<block v-if="!$util.isEmpty(detailInfo.showAddress)">({{detailInfo.showAddress}})</block>
+					</view>
 				</view>
 				<view>
 				<i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
@@ -375,7 +378,10 @@ export default {
 			let customName = detailInfo.customName
 			let customMobile = detailInfo.customMobile
 			let customSuper = detailInfo.customSuper.name
-			let address =  detailInfo.address+detailInfo.floor+"("+detailInfo.showAddress+")"
+			let address =  detailInfo.customAddress
+			if (!this.$util.isEmpty(detailInfo.showAddress)){
+				address += "("+detailInfo.showAddress+")"
+			}
 			let val = customName+" "+customMobile+"\n"+customSuper+"\n"+address
 			const self = this
 			uni.setClipboardData({