snow 1 year ago
parent
commit
d20af7425d

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/chunk-libs.js


+ 22 - 14
src/views/stock/allot/components/addForm.vue

@@ -11,8 +11,8 @@
         class="demo-ruleForm"
       >
         <el-row>
-          <el-col :span="12">
-            <div class="label-title-model">出库仓库信息:</div>
+          <el-col :span="24">
+            <!-- <div class="label-title-model">出库仓库信息:</div> -->
             <!-- !(
                   id === 'add' ||
                   (status + '' === '0' && powers.some((i) => i == '005'))
@@ -40,7 +40,10 @@
                 @searchChange="selectSupplierOut"
               />
             </el-form-item> -->
-            <el-form-item label="仓库" prop="stock_code">
+          </el-col>
+
+          <el-col :span="12">
+            <el-form-item label="出库仓库" prop="stock_code">
               <search-stock
                 :value="ruleForm.stock_code"
                 :isDetail="id !== 'add'"
@@ -59,24 +62,26 @@
               />
             </el-form-item>
           </el-col>
+         
           <el-col :span="12">
-            <div class="label-title-model">入库仓库信息:</div>
-            <el-form-item label="业务公司" prop="in_companyNo">
-              <search-work-company
-                :value="ruleForm.in_companyNo"
-                :names="''"
-                :size="'mini'"
-                :disabled="
+            <!-- <div class="label-title-model">入库仓库信息:</div> -->
+            <!-- :disabled="
                   !(
                     id === 'add' ||
                     (status + '' === '0' && powers.some((i) => i == '005'))
                   )
-                "
+                " -->
+            <!-- <el-form-item label="业务公司" prop="in_companyNo">
+              <search-work-company
+                :value="ruleForm.in_companyNo"
+                :names="''"
+                :size="'mini'"
                 :is-detail="id !== 'add'"
+                disabled
                 :placeholder="'业务公司'"
                 @searchChange="supplierChange($event, 'in_companyNo')"
               /> 
-            </el-form-item>
+            </el-form-item> -->
             <!-- <el-form-item label="公司" prop="supplier_in_code">
               <search-supplier
                 :value="ruleForm.supplier_in_code"
@@ -90,7 +95,7 @@
                 @searchChange="selectSupplierIn"
               />
             </el-form-item> -->
-            <el-form-item label="仓库" prop="stock_in_code">
+            <el-form-item label="入库仓库" prop="stock_in_code">
               <search-stock
                 :value="ruleForm.stock_in_code"
                 :isDetail="id !== 'add'"
@@ -464,7 +469,10 @@ export default {
           };
 
           
-          if(this.id === 'add') this.ruleForm.out_companyNo = this.currentCompany
+          if(this.id === 'add') {
+            this.ruleForm.out_companyNo = this.currentCompany
+            this.ruleForm.in_companyNo = this.currentCompany
+          }
 
           // this.ruleForm .out_companyNo = 
         }

Some files were not shown because too many files changed in this diff