|
|
@@ -2,8 +2,8 @@
|
|
|
<view class="app-content">
|
|
|
<view class="billing_box_bg">
|
|
|
<view class="input-wrap">
|
|
|
- <text style="margin-right:15upx;font-size:40upx;">库存:{{stock}}扎</text>
|
|
|
- <text style="margin-right:20upx;font-size:40upx;">批发价:¥{{ price }}</text>
|
|
|
+ <text style="margin-right:15upx;font-size:38upx;">库存:{{stock}}扎</text>
|
|
|
+ <text style="margin-right:20upx;font-size:38upx;">批发价:¥{{ price }}</text>
|
|
|
<button class="admin-button-com middle blue" @click="setSon()">新增子花材</button>
|
|
|
</view>
|
|
|
<view class="scroll-middle_bx">
|
|
|
@@ -66,7 +66,7 @@
|
|
|
};
|
|
|
},
|
|
|
onShow(){
|
|
|
-
|
|
|
+ this.init()
|
|
|
},
|
|
|
onLoad(){
|
|
|
this.price = this.option.price ? parseFloat(this.option.price) : 0
|