Browse Source

修改库存

csx 6 years ago
parent
commit
fc68554ee1

+ 3 - 3
src/xt_pages/stock/cancelStockOrder.vue View File

11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
 
13
 
14
-      <div class="cell clearfix" style="margin-top:20px">
14
+      <div class="cell clearfix" >
15
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
17
       </div>
17
       </div>
37
         <el-table
37
         <el-table
38
           :data="cancelStockDate"
38
           :data="cancelStockDate"
39
           :class="signAndWeighBoxPatients"
39
           :class="signAndWeighBoxPatients"
40
-          style="width: 100%" border
40
+          border
41
           highlight-current-row
41
           highlight-current-row
42
           ref="multipleTable"
42
           ref="multipleTable"
43
           @selection-change="select"
43
           @selection-change="select"
87
                 <el-button
87
                 <el-button
88
                   size="mini"
88
                   size="mini"
89
                   type="primary"
89
                   type="primary"
90
-                  icon="el-icon-edit"
90
+                  icon="el-icon-edit-outline"
91
                   @click="handleEdit(scope.$index, scope.row)">
91
                   @click="handleEdit(scope.$index, scope.row)">
92
                 </el-button>
92
                 </el-button>
93
               </el-tooltip>
93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderAdd.vue View File

111
                   <el-button
111
                   <el-button
112
                     size="mini"
112
                     size="mini"
113
                     type="danger"
113
                     type="danger"
114
-                    icon="el-icon-remove-outline"
114
+                    icon="el-icon-delete"
115
                     @click="handleDelete(scope.$index, scope.row)">
115
                     @click="handleDelete(scope.$index, scope.row)">
116
                   </el-button>
116
                   </el-button>
117
                 </el-tooltip>
117
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderEdit.vue View File

85
                 <el-button
85
                 <el-button
86
                   size="mini"
86
                   size="mini"
87
                   type="danger"
87
                   type="danger"
88
-                  icon="el-icon-remove-outline"
88
+                  icon="el-icon-delete"
89
                   @click="handleDelete(scope.$index, scope.row)">
89
                   @click="handleDelete(scope.$index, scope.row)">
90
                 </el-button>
90
                 </el-button>
91
               </el-tooltip>
91
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherCancelStockOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="cell clearfix" style="margin-top:20px">
13
+      <div class="cell clearfix">
14
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
14
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
       </div>
16
       </div>
86
                 <el-button
86
                 <el-button
87
                   size="mini"
87
                   size="mini"
88
                   type="primary"
88
                   type="primary"
89
-                  icon="el-icon-edit"
89
+                  icon="el-icon-edit-outline"
90
                   @click="handleEdit(scope.$index, scope.row)">
90
                   @click="handleEdit(scope.$index, scope.row)">
91
                 </el-button>
91
                 </el-button>
92
               </el-tooltip>
92
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherSalesReturnOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="cell">
13
+      <div class="cell clearfix">
14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
       </div>
16
       </div>
87
               <el-button
87
               <el-button
88
                 size="mini"
88
                 size="mini"
89
                 type="primary"
89
                 type="primary"
90
-                icon="el-icon-edit"
90
+                icon="el-icon-edit-outline"
91
                 @click="handleEdit(scope.$index, scope.row)">
91
                 @click="handleEdit(scope.$index, scope.row)">
92
               </el-button>
92
               </el-button>
93
               </el-tooltip>
93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockInOrder.vue View File

86
               <el-button
86
               <el-button
87
                 size="small"
87
                 size="small"
88
                 type="primary"
88
                 type="primary"
89
-                icon="el-icon-edit"
89
+                icon="el-icon-edit-outline"
90
                 @click="handleEdit(scope.$index, scope.row)">
90
                 @click="handleEdit(scope.$index, scope.row)">
91
               </el-button>
91
               </el-button>
92
             </el-tooltip>
92
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockOutOrder.vue View File

82
               <el-button
82
               <el-button
83
                 size="mini"
83
                 size="mini"
84
                 type="primary"
84
                 type="primary"
85
-                icon="el-icon-edit"
85
+                icon="el-icon-edit-outline"
86
                 @click="handleEdit(scope.$index, scope.row)">
86
                 @click="handleEdit(scope.$index, scope.row)">
87
               </el-button>
87
               </el-button>
88
             </el-tooltip>
88
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnEdit.vue View File

87
                   <el-button
87
                   <el-button
88
                     size="mini"
88
                     size="mini"
89
                     type="danger"
89
                     type="danger"
90
-                    icon="el-icon-remove-outline"
90
+                    icon="el-icon-delete"
91
                     @click="handleDelete(scope.$index, scope.row)">
91
                     @click="handleDelete(scope.$index, scope.row)">
92
                   </el-button>
92
                   </el-button>
93
                 </el-tooltip>
93
                 </el-tooltip>

+ 2 - 2
src/xt_pages/stock/salesReturnOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="cell" >
13
+      <div class="cell clearfix" >
14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
       </div>
16
       </div>
85
               <el-button
85
               <el-button
86
                 size="mini"
86
                 size="mini"
87
                 type="primary"
87
                 type="primary"
88
-                icon="el-icon-edit"
88
+                icon="el-icon-edit-outline"
89
                 @click="handleEdit(scope.$index, scope.row)">
89
                 @click="handleEdit(scope.$index, scope.row)">
90
               </el-button>
90
               </el-button>
91
               </el-tooltip>
91
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnOrderAdd.vue View File

116
                 <el-button
116
                 <el-button
117
                   size="mini"
117
                   size="mini"
118
                   type="danger"
118
                   type="danger"
119
-                  icon="el-icon-remove-outline"
119
+                  icon="el-icon-delete"
120
                   @click="handleDelete(scope.$index, scope.row)">
120
                   @click="handleDelete(scope.$index, scope.row)">
121
                 </el-button>
121
                 </el-button>
122
               </el-tooltip>
122
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockInOrder.vue View File

8
     </div>
8
     </div>
9
 
9
 
10
     <div class="app-container">
10
     <div class="app-container">
11
-    <div class="cell">
11
+    <div class="cell clearfix">
12
       <el-input   style="width: 400px;" v-model="searchKey" class="filter-item"  placeholder="单据日期/单据编码/制单人/供应商" />
12
       <el-input   style="width: 400px;" v-model="searchKey" class="filter-item"  placeholder="单据日期/单据编码/制单人/供应商" />
13
       <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="search" >搜索</el-button>
13
       <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="search" >搜索</el-button>
14
     </div>
14
     </div>

+ 23 - 17
src/xt_pages/stock/stockInOrderAdd.vue View File

47
 
47
 
48
 
48
 
49
             <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
49
             <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
50
-              <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
50
+              <el-table   id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" border style="width: 100%"
51
                         max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
51
                         max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
52
               >
52
               >
53
 
53
 
54
-                <el-table-column min-width="35" align="center">
54
+                <el-table-column  align="center" width="200">
55
 
55
 
56
                   <template slot="header" slot-scope="scope">
56
                   <template slot="header" slot-scope="scope">
57
                     <span>物品类型<span style="color: red">*</span></span>
57
                     <span>物品类型<span style="color: red">*</span></span>
65
                     </el-form-item>
65
                     </el-form-item>
66
                   </template>
66
                   </template>
67
                 </el-table-column>
67
                 </el-table-column>
68
-                <el-table-column min-width="35" align="center">
68
+                <el-table-column align="center" width="200">
69
                   <template slot="header" slot-scope="scope">
69
                   <template slot="header" slot-scope="scope">
70
                     <span>规格名称<span style="color: red">*</span></span>
70
                     <span>规格名称<span style="color: red">*</span></span>
71
                   </template>
71
                   </template>
81
                 </el-table-column>
81
                 </el-table-column>
82
 
82
 
83
 
83
 
84
-                <el-table-column min-width="23" align="center">
84
+                <el-table-column  align="center" width="150">
85
                   <template slot="header" slot-scope="scope">
85
                   <template slot="header" slot-scope="scope">
86
                     <span>单价<span style="color: red">*</span></span>
86
                     <span>单价<span style="color: red">*</span></span>
87
                   </template>
87
                   </template>
89
                     <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
89
                     <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
90
                     <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
90
                     <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
91
                                   style="padding-top: 17px">
91
                                   style="padding-top: 17px">
92
-                      <el-input type="number" v-model="scope.row.price"></el-input>
92
+                      <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
93
                     </el-form-item>
93
                     </el-form-item>
94
 
94
 
95
 
95
 
96
                   </template>
96
                   </template>
97
                 </el-table-column>
97
                 </el-table-column>
98
 
98
 
99
-                <el-table-column min-width="23" align="center">
99
+                <el-table-column  align="center"  width="180">
100
                   <template slot="header" slot-scope="scope">
100
                   <template slot="header" slot-scope="scope">
101
                     <span>入库数量<span style="color: red">*</span></span>
101
                     <span>入库数量<span style="color: red">*</span></span>
102
                   </template>
102
                   </template>
106
 
106
 
107
                     <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
107
                     <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
108
                                   :rules='tableRules.warehousing_count' style="padding-top: 17px">
108
                                   :rules='tableRules.warehousing_count' style="padding-top: 17px">
109
-                      <el-input type="number" v-model="scope.row.warehousing_count"></el-input>
109
+                      <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
110
                     </el-form-item>
110
                     </el-form-item>
111
                   </template>
111
                   </template>
112
                 </el-table-column>
112
                 </el-table-column>
113
 
113
 
114
-                <el-table-column label="总价" min-width="20" align="center">
114
+                <el-table-column label="总价" align="center" width="150">
115
                   <template slot-scope="scope">
115
                   <template slot-scope="scope">
116
                     {{calculate(scope.row.price*scope.row.warehousing_count)}}
116
                     {{calculate(scope.row.price*scope.row.warehousing_count)}}
117
                   </template>
117
                   </template>
118
                 </el-table-column>
118
                 </el-table-column>
119
 
119
 
120
-                <el-table-column align="center" min-width="25">
120
+                <el-table-column align="center"  width="150">
121
                   <template slot="header" slot-scope="scope">
121
                   <template slot="header" slot-scope="scope">
122
                     <span>批号<span style="color: red">*</span></span>
122
                     <span>批号<span style="color: red">*</span></span>
123
                   </template>
123
                   </template>
126
 
126
 
127
                     <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
127
                     <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
128
                                   style="padding-top: 17px">
128
                                   style="padding-top: 17px">
129
-                      <el-input v-model="scope.row.number"></el-input>
129
+                      <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
130
                     </el-form-item>
130
                     </el-form-item>
131
 
131
 
132
                   </template>
132
                   </template>
133
                 </el-table-column>
133
                 </el-table-column>
134
-                <el-table-column label="生产日期" min-width="43" align="center">
134
+                <el-table-column label="生产日期"  align="center" width="250">
135
                   <template slot-scope="scope">
135
                   <template slot-scope="scope">
136
                     <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
136
                     <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
137
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
137
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
140
 
140
 
141
                   </template>
141
                   </template>
142
                 </el-table-column>
142
                 </el-table-column>
143
-                <el-table-column label="有效日期" min-width="43" align="center">
143
+                <el-table-column label="有效日期"  align="center" width="250">
144
                   <template slot-scope="scope">
144
                   <template slot-scope="scope">
145
                     <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
145
                     <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
146
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
146
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
149
 
149
 
150
                   </template>
150
                   </template>
151
                 </el-table-column>
151
                 </el-table-column>
152
-                <el-table-column label="备注" min-width="20" align="center">
152
+                <el-table-column label="备注"  align="center" width="150">
153
                   <template slot-scope="scope">
153
                   <template slot-scope="scope">
154
-                    <el-input v-model="scope.row.remark"></el-input>
154
+                    <el-input placeholder="请输入备注"   v-model="scope.row.remark"></el-input>
155
                   </template>
155
                   </template>
156
                 </el-table-column>
156
                 </el-table-column>
157
 
157
 
158
-                <el-table-column label="操作" align="center" min-width="40">
159
-                  <template slot-scope="scope">
158
+                <el-table-column label="操作" align="center" fixed="right"  width="150">
159
+                  <template slot-scope="scope" >
160
                     <el-tooltip class="item" effect="dark" content="新增" placement="top">
160
                     <el-tooltip class="item" effect="dark" content="新增" placement="top">
161
 
161
 
162
                     <el-button
162
                     <el-button
171
                     <el-button
171
                     <el-button
172
                       size="mini"
172
                       size="mini"
173
                       type="danger"
173
                       type="danger"
174
-                      icon="el-icon-remove-outline"
174
+                      icon="el-icon-delete"
175
                       @click="handleDelete(scope.$index, scope.row)">
175
                       @click="handleDelete(scope.$index, scope.row)">
176
                     </el-button>
176
                     </el-button>
177
                     </el-tooltip>
177
                     </el-tooltip>
601
   }
601
   }
602
 </script>
602
 </script>
603
 
603
 
604
+<style>
605
+  #oictable ::-webkit-scrollbar {
606
+    height: 15px;
607
+  }
608
+</style>
609
+
604
 <style rel="stylesheet/css" lang="scss" scoped>
610
 <style rel="stylesheet/css" lang="scss" scoped>
605
   .information {
611
   .information {
606
     border: 1px #dcdfe6 solid;
612
     border: 1px #dcdfe6 solid;

+ 37 - 32
src/xt_pages/stock/stockInOrderEdit.vue View File

24
 
24
 
25
 
25
 
26
         <el-form  :rules="tableRules" :model="recordInfo" ref="tableForm">
26
         <el-form  :rules="tableRules" :model="recordInfo" ref="tableForm">
27
-          <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
27
+          <el-table id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
28
                     max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
28
                     max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
29
           >
29
           >
30
 
30
 
31
-            <el-table-column min-width="35" align="center">
31
+            <el-table-column  align="center" width="200" >
32
 
32
 
33
               <template slot="header" slot-scope="scope">
33
               <template slot="header" slot-scope="scope">
34
                 <span>物品类型<span style="color: red">*</span></span>
34
                 <span>物品类型<span style="color: red">*</span></span>
35
               </template>
35
               </template>
36
 
36
 
37
-              <template slot-scope="scope" >
38
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id == 0" style="color:#c5c8cf">请输入类型</span>-->
39
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id != 0">{{typeName(scope.row.good_type_id)}}</span>-->
40
-
41
-                <el-form-item  style="padding-top: 15px">
42
-                  <el-input placeholder="请输入物品类型"  v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
37
+              <template slot-scope="scope">
38
+                <el-form-item style="padding-top: 15px">
39
+                  <el-input placeholder="请输入物品类型" v-model="scope.row.good_type_id"
40
+                            :value="typeName(scope.row.good_type_id)"
41
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
43
                 </el-form-item>
42
                 </el-form-item>
44
-
45
               </template>
43
               </template>
46
             </el-table-column>
44
             </el-table-column>
47
-            <el-table-column min-width="35" align="center">
45
+            <el-table-column align="center" width="200">
48
               <template slot="header" slot-scope="scope">
46
               <template slot="header" slot-scope="scope">
49
                 <span>规格名称<span style="color: red">*</span></span>
47
                 <span>规格名称<span style="color: red">*</span></span>
50
               </template>
48
               </template>
51
               <template slot-scope="scope">
49
               <template slot-scope="scope">
52
 
50
 
53
-                <el-form-item  style="padding-top: 15px">
54
-                  <el-input placeholder="请输入规格名称"  v-model="scope.row.good_id" :value="specificationName(scope.row.good_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
51
+                <el-form-item style="padding-top: 15px">
52
+                  <el-input placeholder="请输入规格名称" v-model="scope.row.good_id"
53
+                            :value="specificationName(scope.row.good_id)"
54
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
55
                 </el-form-item>
55
                 </el-form-item>
56
 
56
 
57
               </template>
57
               </template>
58
             </el-table-column>
58
             </el-table-column>
59
 
59
 
60
 
60
 
61
-            <el-table-column  min-width="23" align="center">
61
+
62
+            <el-table-column  align="center" width="150">
62
               <template slot="header" slot-scope="scope">
63
               <template slot="header" slot-scope="scope">
63
                 <span>单价<span style="color: red">*</span></span>
64
                 <span>单价<span style="color: red">*</span></span>
64
               </template>
65
               </template>
65
               <template slot-scope="scope">
66
               <template slot-scope="scope">
66
                 <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
67
                 <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
67
-                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price' style="padding-top: 17px">
68
-                  <el-input type="number"  v-model="scope.row.price" ></el-input>
68
+                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
69
+                              style="padding-top: 17px">
70
+                  <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
69
                 </el-form-item>
71
                 </el-form-item>
70
 
72
 
71
 
73
 
72
-
73
-
74
               </template>
74
               </template>
75
             </el-table-column>
75
             </el-table-column>
76
 
76
 
77
-            <el-table-column  min-width="23" align="center">
77
+            <el-table-column  align="center"  width="180">
78
               <template slot="header" slot-scope="scope">
78
               <template slot="header" slot-scope="scope">
79
                 <span>入库数量<span style="color: red">*</span></span>
79
                 <span>入库数量<span style="color: red">*</span></span>
80
               </template>
80
               </template>
82
                 <!--{{scope.row.warehousing_count}}-->
82
                 <!--{{scope.row.warehousing_count}}-->
83
                 <!--<el-input type="number" v-model="scope.row.warehousing_count"   @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
83
                 <!--<el-input type="number" v-model="scope.row.warehousing_count"   @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
84
 
84
 
85
-                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'" :rules='tableRules.warehousing_count' style="padding-top: 17px">
86
-                  <el-input type="number"  v-model="scope.row.warehousing_count" ></el-input>
85
+                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
86
+                              :rules='tableRules.warehousing_count' style="padding-top: 17px">
87
+                  <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
87
                 </el-form-item>
88
                 </el-form-item>
88
               </template>
89
               </template>
89
             </el-table-column>
90
             </el-table-column>
90
-
91
-            <el-table-column label="总价" min-width="20" align="center">
91
+            <el-table-column label="总价" align="center" width="150">
92
               <template slot-scope="scope">
92
               <template slot-scope="scope">
93
                 {{calculate(scope.row.price*scope.row.warehousing_count)}}
93
                 {{calculate(scope.row.price*scope.row.warehousing_count)}}
94
               </template>
94
               </template>
95
             </el-table-column>
95
             </el-table-column>
96
 
96
 
97
-            <el-table-column  align="center" min-width="25">
97
+            <el-table-column align="center"  width="150">
98
               <template slot="header" slot-scope="scope">
98
               <template slot="header" slot-scope="scope">
99
                 <span>批号<span style="color: red">*</span></span>
99
                 <span>批号<span style="color: red">*</span></span>
100
               </template>
100
               </template>
101
               <template slot-scope="scope">
101
               <template slot-scope="scope">
102
                 <!--<el-input  v-model="scope.row.numbers"></el-input>-->
102
                 <!--<el-input  v-model="scope.row.numbers"></el-input>-->
103
-
104
-                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number' style="padding-top: 17px">
105
-                  <el-input  v-model="scope.row.number" ></el-input>
103
+                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
104
+                              style="padding-top: 17px">
105
+                  <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
106
                 </el-form-item>
106
                 </el-form-item>
107
-
108
               </template>
107
               </template>
109
             </el-table-column>
108
             </el-table-column>
110
-            <el-table-column label="生产日期" min-width="40" align="center">
109
+
110
+            <el-table-column label="生产日期" width="250" align="center">
111
               <template slot-scope="scope" >
111
               <template slot-scope="scope" >
112
                 <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
112
                 <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
113
                 <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
113
                 <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
116
 
116
 
117
               </template>
117
               </template>
118
             </el-table-column>
118
             </el-table-column>
119
-            <el-table-column label="有效日期" min-width="40" align="center">
119
+            <el-table-column label="有效日期" width="250" align="center">
120
               <template slot-scope="scope">
120
               <template slot-scope="scope">
121
                 <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
121
                 <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
122
                 <el-date-picker  prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
122
                 <el-date-picker  prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
125
 
125
 
126
               </template>
126
               </template>
127
             </el-table-column>
127
             </el-table-column>
128
-            <el-table-column label="备注" min-width="20" align="center">
128
+            <el-table-column label="备注" width="150" align="center">
129
               <template slot-scope="scope">
129
               <template slot-scope="scope">
130
                 <el-input  v-model="scope.row.remark"></el-input>
130
                 <el-input  v-model="scope.row.remark"></el-input>
131
               </template>
131
               </template>
132
             </el-table-column>
132
             </el-table-column>
133
 
133
 
134
-            <el-table-column label="操作" align="center" min-width="40">
134
+            <el-table-column label="操作" align="center" width="150">
135
               <template slot-scope="scope">
135
               <template slot-scope="scope">
136
                 <el-tooltip class="item" effect="dark" content="新增" placement="top">
136
                 <el-tooltip class="item" effect="dark" content="新增" placement="top">
137
 
137
 
147
                   <el-button
147
                   <el-button
148
                     size="mini"
148
                     size="mini"
149
                     type="danger"
149
                     type="danger"
150
-                    icon="el-icon-remove-outline"
150
+                    icon="el-icon-delete"
151
                     @click="handleDelete(scope.$index, scope.row)">
151
                     @click="handleDelete(scope.$index, scope.row)">
152
                   </el-button>
152
                   </el-button>
153
                 </el-tooltip>
153
                 </el-tooltip>
472
 
472
 
473
   }
473
   }
474
 </script>
474
 </script>
475
+<style>
476
+  #oictable ::-webkit-scrollbar {
477
+    height: 15px;
478
+  }
479
+</style>
475
 
480
 
476
 <style rel="stylesheet/css" lang="scss" scoped>
481
 <style rel="stylesheet/css" lang="scss" scoped>
477
   .information {
482
   .information {

+ 1 - 16
src/xt_pages/stock/stockOutOrder.vue View File

78
             <el-button
78
             <el-button
79
               size="mini"
79
               size="mini"
80
               type="primary"
80
               type="primary"
81
-              icon="el-icon-edit"
81
+              icon="el-icon-edit-outline"
82
               @click="handleEdit(scope.$index, scope.row)">
82
               @click="handleEdit(scope.$index, scope.row)">
83
             </el-button>
83
             </el-button>
84
             </el-tooltip>
84
             </el-tooltip>
451
 }
451
 }
452
 </style>
452
 </style>
453
 
453
 
454
-=======
455
 
454
 
456
 
455
 
457
 
456
 
494
 
493
 
495
 
494
 
496
 
495
 
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
->>>>>>> .theirs

+ 1 - 1
src/xt_pages/stock/stockOutOrderAdd.vue View File

136
                   <el-button
136
                   <el-button
137
                     size="mini"
137
                     size="mini"
138
                     type="danger"
138
                     type="danger"
139
-                    icon="el-icon-remove-outline"
139
+                    icon="el-icon-delete"
140
                     @click="handleDelete(scope.$index, scope.row)">
140
                     @click="handleDelete(scope.$index, scope.row)">
141
                   </el-button>
141
                   </el-button>
142
                 </el-tooltip>
142
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockOutOrderEdit.vue View File

108
                   <el-button
108
                   <el-button
109
                     size="mini"
109
                     size="mini"
110
                     type="danger"
110
                     type="danger"
111
-                    icon="el-icon-remove-outline"
111
+                    icon="el-icon-delete"
112
                     @click="handleDelete(scope.$index, scope.row)">
112
                     @click="handleDelete(scope.$index, scope.row)">
113
                   </el-button>
113
                   </el-button>
114
                 </el-tooltip>
114
                 </el-tooltip>