See999 4 years ago
parent
commit
cf7e99f216
1 changed files with 23 additions and 30 deletions
  1. 23 30
      src/xt_pages/stock/stockInOrder.vue

+ 23 - 30
src/xt_pages/stock/stockInOrder.vue View File

@@ -134,8 +134,8 @@
134 134
             >
135 135
               <el-button
136 136
                 size="small"
137
-                type="primary"
138
-                icon="el-icon-search"
137
+                type="warning"
138
+                icon="el-icon-document"
139 139
                 @click="handleSearch(scope.row.id)"
140 140
               >
141 141
               </el-button>
@@ -325,35 +325,28 @@
325 325
           <el-date-picker size="small" v-model="warehousing_time" prefix-icon="el-icon-date" :editable="false"
326 326
                           style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
327 327
                           value-format="yyyy-MM-dd"></el-date-picker>
328
+          <label class="title" style="margin-left:10px;"><span class="name">经 销 商</span> : </label>
329
+          <el-select size="small" v-model="form.dealer" clearable placeholder="请选择经销商" @change="changeDealer">
330
+            <el-option
331
+              v-for="(option, index) in dealer"
332
+              :key="index"
333
+              :label="option.dealer_name"
334
+              :value="option.id">
335
+            </el-option>
336
+          </el-select>
337
+          <label class="title" style="margin-left:10px;"><span class="name">厂商</span> : </label>
338
+
339
+          <el-select size="small" v-model="form.manufacturer" clearable placeholder="请选择厂商" @change="changeManufacturer">
340
+            <el-option
341
+              v-for="(option, index) in manufacturer"
342
+              :key="index"
343
+              :label="option.manufacturer_name"
344
+              :value="option.id">
345
+            </el-option>
346
+          </el-select>
328 347
         </div>
329 348
 
330
-          <div style="margin-bottom:10px">
331
-            <label class="title"><span class="name">经 销 商</span> : </label>
332
-            <el-select size="small" v-model="form.dealer" clearable placeholder="请选择经销商" @change="changeDealer">
333
-              <el-option
334
-                v-for="(option, index) in dealer"
335
-                :key="index"
336
-                :label="option.dealer_name"
337
-                :value="option.id">
338
-              </el-option>
339
-            </el-select>
340
-          </div>
341
-
342
-          <div style="margin-bottom:10px">
343
-            <label class="title"><span class="name">厂商</span> : </label>
344
-
345
-            <el-select size="small" v-model="form.manufacturer" clearable placeholder="请选择厂商"
346
-                      @change="changeManufacturer">
347
-              <el-option
348
-                v-for="(option, index) in manufacturer"
349
-                :key="index"
350
-                :label="option.manufacturer_name"
351
-                :value="option.id">
352
-              </el-option>
353
-            </el-select>
354
-          </div>
355
-
356
-         <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
349
+        <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
357 350
         <el-table
358 351
           id="oictable"
359 352
           :data="recordInfo.recordData"
@@ -447,7 +440,7 @@
447 440
               <span>批号</span>
448 441
             </template>
449 442
             <template slot-scope="scope">
450
-              <el-form-item>
443
+              <el-form-item style="padding-top: 15px">
451 444
                 <el-input
452 445
                   placeholder="请输入批号"
453 446
                   v-model="scope.row.number"