|
@@ -113,32 +113,8 @@
|
|
|
ref="productType"
|
|
|
@keydown.enter.native="nextFocus('productType', 'specialPrice', $event)" />
|
|
|
</a-form-model-item>
|
|
|
- <a-form-model-item label="成本价" v-if="pageType=='modal'" prop="putCost">
|
|
|
- <a-input-number
|
|
|
- id="productInfoEdit-putCost"
|
|
|
- v-model="form.putCost"
|
|
|
- :min="0"
|
|
|
- :max="999999"
|
|
|
- :precision="2"
|
|
|
- style="width: 90%;margin-right: 5px;"
|
|
|
- placeholder="请输入成本价(1~999999)"
|
|
|
- ref="putCost"
|
|
|
- @keydown.enter.native="nextFocus('putCost', 'putQty', $event)"
|
|
|
- allowClear /><span>元</span>
|
|
|
- </a-form-model-item>
|
|
|
- <a-form-model-item label="数量" v-if="pageType=='modal'" prop="putQty">
|
|
|
- <a-input-number
|
|
|
- id="productInfoEdit-specialPrice"
|
|
|
- v-model="form.putQty"
|
|
|
- :precision="0"
|
|
|
- :min="1"
|
|
|
- :max="999999"
|
|
|
- style="width: 90%;"
|
|
|
- placeholder="请输入数量(1~999999)"
|
|
|
- ref="putQty"
|
|
|
- allowClear />
|
|
|
- </a-form-model-item>
|
|
|
- <a-form-model-item v-if="pageType=='pages'" label="经销批发价" prop="specialPrice">
|
|
|
+
|
|
|
+ <a-form-model-item label="经销批发价" prop="specialPrice">
|
|
|
<a-input-number
|
|
|
id="productInfoEdit-specialPrice"
|
|
|
v-model="form.specialPrice"
|
|
@@ -151,7 +127,7 @@
|
|
|
@keydown.enter.native="nextFocus('specialPrice', 'terminalPrice', $event)"
|
|
|
allowClear /><span>元</span>
|
|
|
</a-form-model-item>
|
|
|
- <a-form-model-item v-if="pageType=='pages'" label="终端价" prop="terminalPrice">
|
|
|
+ <a-form-model-item label="终端价" prop="terminalPrice">
|
|
|
<a-input-number
|
|
|
id="productInfoEdit-terminalPrice"
|
|
|
v-model="form.terminalPrice"
|
|
@@ -164,7 +140,7 @@
|
|
|
@keydown.enter.native="nextFocus('terminalPrice', 'carOwnersPrice', $event)"
|
|
|
allowClear /><span>元</span>
|
|
|
</a-form-model-item>
|
|
|
- <a-form-model-item v-if="pageType=='pages'" label="车主价" prop="carOwnersPrice">
|
|
|
+ <a-form-model-item label="车主价" prop="carOwnersPrice">
|
|
|
<a-input-number
|
|
|
id="productInfoEdit-carOwnersPrice"
|
|
|
v-model="form.carOwnersPrice"
|
|
@@ -177,6 +153,31 @@
|
|
|
@keydown.enter.native="nextFocus('carOwnersPrice', '', $event)"
|
|
|
allowClear /><span>元</span>
|
|
|
</a-form-model-item>
|
|
|
+ <a-form-model-item label="成本价" v-if="pageType=='modal'" prop="putCost">
|
|
|
+ <a-input-number
|
|
|
+ id="productInfoEdit-putCost"
|
|
|
+ v-model="form.putCost"
|
|
|
+ :min="0"
|
|
|
+ :max="999999"
|
|
|
+ :precision="2"
|
|
|
+ style="width: 90%;margin-right: 5px;"
|
|
|
+ placeholder="请输入成本价(1~999999)"
|
|
|
+ ref="putCost"
|
|
|
+ @keydown.enter.native="nextFocus('putCost', 'putQty', $event)"
|
|
|
+ allowClear /><span>元</span>
|
|
|
+ </a-form-model-item>
|
|
|
+ <a-form-model-item label="入库数量" v-if="pageType=='modal'" prop="putQty">
|
|
|
+ <a-input-number
|
|
|
+ id="productInfoEdit-specialPrice"
|
|
|
+ v-model="form.putQty"
|
|
|
+ :precision="0"
|
|
|
+ :min="1"
|
|
|
+ :max="999999"
|
|
|
+ style="width: 90%;"
|
|
|
+ placeholder="请输入数量(1~999999)"
|
|
|
+ ref="putQty"
|
|
|
+ allowClear />
|
|
|
+ </a-form-model-item>
|
|
|
<a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
|
|
|
<a-button
|
|
|
type="primary"
|