Browse Source

借用单产品价格修改

xiaohaizhao 2 years ago
parent
commit
6552a20b38

+ 1 - 4
packageA/borrow/modules/product/index.js

@@ -57,10 +57,7 @@ Component({
                         let image = value.attinfos.find(v => v.fileType == "image");
                         value.cover = image ? image.cover : "";
                     }
-                    value.amount =CNY(value.defaultamount);
-
-
-
+                    value.amount =CNY(value.amount);
                     value.qty = value.qty * obj.toolcount;
                     return value;
                 })

+ 1 - 1
packageA/borrow/modules/product/list/index.wxml

@@ -67,7 +67,7 @@
 				<input disabled='{{disabled}}' bindtap="isEdit" class="input" style="width: 240rpx;" type="digit" value="{{item.qty}}" data-name="qty" data-data="{{item}}" bindblur="onBlur" />
 			</view>
 			<view class="money">
-				金额:<text>{{item.amount}}元</text>
+				金额:<text>{{item.amount}}元</text>
 			</view>
 		</view>
 		<view class="row" wx:else>