瀏覽代碼

处理道路救援显示价格错误的bug

hxl13994548489 1 年之前
父節點
當前提交
d9e35e0ed1
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pages/order/serviceOrder/orderDetail.vue

+ 3 - 1
pages/order/serviceOrder/orderDetail.vue

@@ -96,7 +96,7 @@
 					</view>
 					<view class="product_name">
 						{{form.productName}}
-						<span><text>¥</text>{{rightsId?0:form.price}}</span>
+						<span><text>¥</text>{{!rightsId?0:form.price}}</span>
 					</view>
 				</view>
 				<view class="sun_product">
@@ -719,6 +719,8 @@
 			this.taskId = options.taskId
 			this.checkType = options.checkType
 			this.rightsId = options.rightsId
+      console.log(this.rightsId)
+      console.log(this.rightsId?"0":"1")
 		}
 	}
 </script>