marymelisa 4 rokov pred
rodič
commit
b8b66b9701

+ 1 - 2
src/views/business/purchase/components/funds/index.vue

@@ -27,8 +27,7 @@
             </a-form-item>
           </a-col>
           <a-col :span="12">
-            <a-form-item label="定价.
-                        类型">
+            <a-form-item label="定价类型">
               <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
             </a-form-item>
           </a-col>

+ 1 - 2
src/views/business/purchase/components/invoice/index.vue

@@ -27,8 +27,7 @@
             </a-form-item>
           </a-col>
           <a-col :span="12">
-            <a-form-item label="定价.
-                        类型">
+            <a-form-item label="定价类型">
               <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
             </a-form-item>
           </a-col>

+ 1 - 2
src/views/business/purchase/components/settlement/index.vue

@@ -27,8 +27,7 @@
             </a-form-item>
           </a-col>
           <a-col :span="12">
-            <a-form-item label="定价.
-                        类型">
+            <a-form-item label="定价类型">
               <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
             </a-form-item>
           </a-col>

+ 1 - 2
src/views/business/purchase/components/someprice/index.vue

@@ -27,8 +27,7 @@
                         </a-form-item>
                     </a-col>
                     <a-col :span="12">
-                        <a-form-item label="定价.
-                        类型">
+                        <a-form-item label="定价类型">
                             <span class="white">{{ getPriceTypeName(selectedRow.pricetype) }}</span>
                         </a-form-item>
                     </a-col>

+ 102 - 4
src/views/business/purchase/components/storage/index.vue

@@ -1,18 +1,116 @@
 <template>
-  <!-- 入库登记-->
+  <!-- 采购合同-入库登记-->
   <a-modal class="commonModal"
-           title="入库登记"
+           title="采购合同-入库登记"
            v-model:visible="visible"
            centered
            @cancel="cancel"
            width="890px">
     <template #footer>
       <a-button key="submit"
+                class="cancelBtn"
+                >取消</a-button>
+      <a-button key="submit"
                 type="primary"
                 :loading="loading"
-                @click="submit">关闭</a-button>
+                @click="submit">入库登记</a-button>
     </template>
-
+    <a-form class="inlineForm"
+            ref="formRef"
+            >
+      <fieldset class="formFieldSet">
+        <legend>合同基本信息</legend>
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-item label="合同编号">
+              <span class="white">NPCQ-2020121001</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="销售方">
+              <span class="white">江西铜业集团</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="现货品种">
+              <span class="white">铜板</span>
+            </a-form-item>
+          </a-col>
+        </a-row>
+      </fieldset>
+      <fieldset class="formFieldSet">
+        <legend>已登记信息</legend>
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-item label="已入库量1">
+              <span class="white">品类1+品牌1(60.5吨)</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="已入库量2">
+               <span class="white">品类2+品牌2(66吨)</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="已入库量3">
+              <span class="white">品类3+品牌3(1000吨)</span>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="已入库量4">
+               <span class="white">品类4+品牌4(5吨)</span>
+            </a-form-item>
+          </a-col>
+        </a-row>
+      </fieldset>
+      <fieldset class="formFieldSet">
+        <legend>本次入库信息</legend>
+        <a-row :gutter="24">
+          <a-col :span="12">
+            <a-form-item label="品类">
+              <a-select class="inlineFormSelect"
+                        style="width: 200px"
+                        placeholder="请选择品类">
+                <a-select-option value="品牌一">
+                  品牌一
+                </a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="品牌">
+              <a-select class="inlineFormSelect"
+                        style="width: 200px"
+                        placeholder="请选择品牌">
+                <a-select-option value="品牌一">
+                  品牌一
+                </a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="入库仓库">
+              <a-select class="inlineFormSelect"
+                        style="width: 200px"
+                        placeholder="请选择入库仓库">
+                <a-select-option value="品牌一">
+                  品牌一
+                </a-select-option>
+              </a-select>
+            </a-form-item>
+          </a-col>
+          <a-col :span="12">
+            <a-form-item label="入库数量">
+              <a-input class="dialogInput"
+                        style="width: 200px"
+                        suffix="单位"
+                        placeholder="请输入入库数量">
+              </a-input>
+            </a-form-item>
+          </a-col>
+        </a-row>
+      </fieldset>
+    </a-form>
   </a-modal>
 </template>