|
@@ -121,7 +121,20 @@
|
|
|
style="width: 90%;margin-right: 5px;"
|
|
|
placeholder="请输入经销批发价(1~999999)"
|
|
|
ref="specialPrice"
|
|
|
- @keydown.enter.native="nextFocus('specialPrice', 'terminalPrice', $event)"
|
|
|
+ @keydown.enter.native="nextFocus('specialPrice', 'cost', $event)"
|
|
|
+ allowClear /><span>元</span>
|
|
|
+ </a-form-model-item>
|
|
|
+ <a-form-model-item label="成本价" v-if="pageType=='pages'" prop="cost">
|
|
|
+ <a-input-number
|
|
|
+ id="productInfoEdit-cost"
|
|
|
+ v-model="form.cost"
|
|
|
+ :min="0"
|
|
|
+ :max="999999"
|
|
|
+ :precision="2"
|
|
|
+ style="width: 90%;margin-right: 5px;"
|
|
|
+ placeholder="请输入成本价(1~999999)"
|
|
|
+ ref="cost"
|
|
|
+ @keydown.enter.native="nextFocus('cost', 'terminalPrice', $event)"
|
|
|
allowClear /><span>元</span>
|
|
|
</a-form-model-item>
|
|
|
<a-form-model-item label="终端价" prop="terminalPrice">
|
|
@@ -185,7 +198,7 @@
|
|
|
@click="handleSubmit"
|
|
|
size="large"
|
|
|
id="productInfoEdit-btn-submit"
|
|
|
- style="padding: 0 50px;">保存</a-button>
|
|
|
+ style="padding: 0 50px;">保 存</a-button>
|
|
|
<a-button
|
|
|
type="default"
|
|
|
:loading="saveing"
|