lilei 3 tahun lalu
induk
melakukan
381996d161

+ 1 - 0
src/views/bulkManagement/bulkWarehousingOrder/edit.vue

@@ -376,6 +376,7 @@ export default {
           onOk () {
           onOk () {
             _this.paramsData = {
             _this.paramsData = {
               supplierName: _this.basicInfoData.supplierName,
               supplierName: _this.basicInfoData.supplierName,
+              code: _this.queryParam.queryWord,
               putCost: 0,
               putCost: 0,
               putQty: 1
               putQty: 1
             }
             }

+ 29 - 28
src/views/productManagement/productInfo/edit.vue

@@ -113,32 +113,8 @@
               ref="productType"
               ref="productType"
               @keydown.enter.native="nextFocus('productType', 'specialPrice', $event)" />
               @keydown.enter.native="nextFocus('productType', 'specialPrice', $event)" />
           </a-form-model-item>
           </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
             <a-input-number
               id="productInfoEdit-specialPrice"
               id="productInfoEdit-specialPrice"
               v-model="form.specialPrice"
               v-model="form.specialPrice"
@@ -151,7 +127,7 @@
               @keydown.enter.native="nextFocus('specialPrice', 'terminalPrice', $event)"
               @keydown.enter.native="nextFocus('specialPrice', 'terminalPrice', $event)"
               allowClear /><span>元</span>
               allowClear /><span>元</span>
           </a-form-model-item>
           </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
             <a-input-number
               id="productInfoEdit-terminalPrice"
               id="productInfoEdit-terminalPrice"
               v-model="form.terminalPrice"
               v-model="form.terminalPrice"
@@ -164,7 +140,7 @@
               @keydown.enter.native="nextFocus('terminalPrice', 'carOwnersPrice', $event)"
               @keydown.enter.native="nextFocus('terminalPrice', 'carOwnersPrice', $event)"
               allowClear /><span>元</span>
               allowClear /><span>元</span>
           </a-form-model-item>
           </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
             <a-input-number
               id="productInfoEdit-carOwnersPrice"
               id="productInfoEdit-carOwnersPrice"
               v-model="form.carOwnersPrice"
               v-model="form.carOwnersPrice"
@@ -177,6 +153,31 @@
               @keydown.enter.native="nextFocus('carOwnersPrice', '', $event)"
               @keydown.enter.native="nextFocus('carOwnersPrice', '', $event)"
               allowClear /><span>元</span>
               allowClear /><span>元</span>
           </a-form-model-item>
           </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-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
             <a-button
             <a-button
               type="primary"
               type="primary"