|
@@ -70,7 +70,9 @@
|
|
|
<input
|
|
|
value="{{form.product_title}}"
|
|
|
placeholder="输入商品标题"
|
|
|
- placeholder-class="placeholder"></input>
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ data-formkey="product_title"
|
|
|
+ bind:input="setFormValue"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="describe">
|
|
@@ -80,7 +82,9 @@
|
|
|
placeholder="请输入商品简介"
|
|
|
placeholder-class="placeholder"
|
|
|
maxlength="{{200}}"
|
|
|
- auto-height="{{true}}"></textarea>
|
|
|
+ auto-height="{{true}}"
|
|
|
+ data-formkey="product_desc"
|
|
|
+ bind:input="setFormValue"></textarea>
|
|
|
</view>
|
|
|
<view class="words-limit">{{form.product_desc.length}}/200</view>
|
|
|
</view>
|
|
@@ -119,7 +123,9 @@
|
|
|
<input
|
|
|
value="{{form.product_spec}}"
|
|
|
placeholder="输入商品规格"
|
|
|
- placeholder-class="placeholder"></input>
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ data-formkey="product_spec"
|
|
|
+ bind:input="setFormValue"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box" bind:tap="unitShow">
|
|
@@ -139,7 +145,9 @@
|
|
|
<input
|
|
|
value="{{form.product_all_price}}"
|
|
|
placeholder="输入批发价"
|
|
|
- placeholder-class="placeholder"></input>
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ data-formkey="product_all_price"
|
|
|
+ bind:input="setFormValue"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box">
|
|
@@ -150,7 +158,9 @@
|
|
|
<input
|
|
|
value="{{form.product_price}}"
|
|
|
placeholder="输入零售价"
|
|
|
- placeholder-class="placeholder"></input>
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ data-formkey="product_price"
|
|
|
+ bind:input="setFormValue"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box">
|
|
@@ -161,7 +171,9 @@
|
|
|
<input
|
|
|
value="{{form.product_count}}"
|
|
|
placeholder="输入库存"
|
|
|
- placeholder-class="placeholder"></input>
|
|
|
+ placeholder-class="placeholder"
|
|
|
+ data-formkey="product_count"
|
|
|
+ bind:input="setFormValue"></input>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box border-bottom-2">
|