see999 3 anos atrás
pai
commit
5fd835fc66

+ 17 - 18
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue Ver arquivo

73
             </template>
73
             </template>
74
 
74
 
75
             <template slot-scope="scope">
75
             <template slot-scope="scope">
76
-              <el-form-item style="padding-top: 15px">
76
+              <el-form-item style="padding-top: 20px">
77
                   <el-autocomplete
77
                   <el-autocomplete
78
                     class="checkSearch"
78
                     class="checkSearch"
79
                     popper-class="my-autocomplete"
79
                     popper-class="my-autocomplete"
93
               </el-form-item>
93
               </el-form-item>
94
             </template>
94
             </template>
95
           </el-table-column>
95
           </el-table-column>
96
-           <el-table-column align="center" width="200">
96
+           <el-table-column align="center" width="140">
97
             <template slot="header" slot-scope="scope">
97
             <template slot="header" slot-scope="scope">
98
               <span>药品类型</span>
98
               <span>药品类型</span>
99
             </template>
99
             </template>
100
              <template slot-scope="scope">
100
              <template slot-scope="scope">
101
-               <el-select size="small" v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
101
+               <el-select v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
102
                 <el-option
102
                 <el-option
103
                   v-for="(option, index) in drugTypeList"
103
                   v-for="(option, index) in drugTypeList"
104
                   :key="index"
104
                   :key="index"
108
                </el-select>
108
                </el-select>
109
             </template>
109
             </template>
110
           </el-table-column>
110
           </el-table-column>
111
-          <el-table-column align="center" width="200">
111
+          <el-table-column align="center" width="140">
112
             <template slot="header" slot-scope="scope">
112
             <template slot="header" slot-scope="scope">
113
               <span>规格&单位</span>
113
               <span>规格&单位</span>
114
             </template>
114
             </template>
115
             <template slot-scope="scope">
115
             <template slot-scope="scope">
116
-              <el-form-item style="padding-top: 15px">
116
+              <el-form-item style="padding-top: 20px">
117
                 <el-input
117
                 <el-input
118
                   :disabled="true"
118
                   :disabled="true"
119
                   placeholder="请输入规格&单位"
119
                   placeholder="请输入规格&单位"
122
               </el-form-item>
122
               </el-form-item>
123
             </template>
123
             </template>
124
           </el-table-column>
124
           </el-table-column>
125
-         <el-table-column align="center" width="200">
125
+         <el-table-column align="center" width="150">
126
           <template slot="header" slot-scope="scope" >
126
           <template slot="header" slot-scope="scope" >
127
                 <span>批号</span>
127
                 <span>批号</span>
128
             </template>
128
             </template>
129
               <template slot-scope="scope">
129
               <template slot-scope="scope">
130
-                <el-form-item style="padding-top: 15px">
130
+                <el-form-item style="padding-top: 20px">
131
                   <el-input
131
                   <el-input
132
                     placeholder="请输入批号"
132
                     placeholder="请输入批号"
133
                     v-model="scope.row.lot_number"
133
                     v-model="scope.row.lot_number"
136
               </template>
136
               </template>
137
          </el-table-column>
137
          </el-table-column>
138
 
138
 
139
-         <el-table-column align="center" width="180">
139
+         <el-table-column align="center" width="120">
140
             <template slot="header" slot-scope="scope">
140
             <template slot="header" slot-scope="scope">
141
               <span>入库数量<span style="color: red">*</span></span>
141
               <span>入库数量<span style="color: red">*</span></span>
142
             </template>
142
             </template>
144
               <el-form-item
144
               <el-form-item
145
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
145
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
146
                 :rules="tableRules.warehousing_count"
146
                 :rules="tableRules.warehousing_count"
147
-                style="padding-top: 17px"
147
+                style="padding-top: 20px"
148
               >
148
               >
149
                 <el-input
149
                 <el-input
150
                   placeholder="请输入入库数量"
150
                   placeholder="请输入入库数量"
151
                   type="number"
151
                   type="number"
152
                   v-model="scope.row.warehousing_count"
152
                   v-model="scope.row.warehousing_count"
153
-                  style="width:100px"
154
                 ></el-input>
153
                 ></el-input>
155
                 {{scope.row.max_unit}}
154
                 {{scope.row.max_unit}}
156
               </el-form-item>
155
               </el-form-item>
157
             </template>
156
             </template>
158
           </el-table-column>
157
           </el-table-column>
159
        
158
        
160
-          <el-table-column align="center" width="150">
159
+          <el-table-column align="center" width="120">
161
             <template slot="header" slot-scope="scope">
160
             <template slot="header" slot-scope="scope">
162
               <span>进货单价(元)<span style="color: red">*</span></span>
161
               <span>进货单价(元)<span style="color: red">*</span></span>
163
             </template>
162
             </template>
165
               <el-form-item
164
               <el-form-item
166
                 :prop="'recordData.' + scope.$index + '.price'"
165
                 :prop="'recordData.' + scope.$index + '.price'"
167
                 :rules="tableRules.last_price"
166
                 :rules="tableRules.last_price"
168
-                style="padding-top: 17px"
167
+                style="padding-top: 20px"
169
               >
168
               >
170
                 <el-input
169
                 <el-input
171
                   style="width:100px"
170
                   style="width:100px"
178
             </template>
177
             </template>
179
           </el-table-column>
178
           </el-table-column>
180
 
179
 
181
-          <el-table-column label="总价(元)" align="center" width="150">
180
+          <el-table-column label="总价(元)" align="center" width="80">
182
             <template slot-scope="scope">
181
             <template slot-scope="scope">
183
               {{ calculate(scope.row.last_price * scope.row.warehousing_count) }} 
182
               {{ calculate(scope.row.last_price * scope.row.warehousing_count) }} 
184
             </template>
183
             </template>
185
           </el-table-column>
184
           </el-table-column>
186
 
185
 
187
-          <el-table-column label="生产厂家" width="250" align="center">
186
+          <el-table-column label="生产厂家" width="140" align="center">
188
             <template slot-scope="scope">
187
             <template slot-scope="scope">
189
-               <el-select size="small" v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
188
+               <el-select v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
190
                 <el-option
189
                 <el-option
191
                   v-for="(option, index) in manufacturerList"
190
                   v-for="(option, index) in manufacturerList"
192
                   :key="index"
191
                   :key="index"
198
           </el-table-column>
197
           </el-table-column>
199
  
198
  
200
 
199
 
201
-          <el-table-column label="生产日期" width="250" align="center">
200
+          <el-table-column label="生产日期" width="180" align="center">
202
             <template slot-scope="scope">
201
             <template slot-scope="scope">
203
               <el-date-picker
202
               <el-date-picker
204
                 prefix-icon="el-icon-date"
203
                 prefix-icon="el-icon-date"
211
               ></el-date-picker>
210
               ></el-date-picker>
212
             </template>
211
             </template>
213
           </el-table-column>
212
           </el-table-column>
214
-          <el-table-column label="有效日期" width="250" align="center">
213
+          <el-table-column label="有效日期" width="180" align="center">
215
             <template slot-scope="scope">
214
             <template slot-scope="scope">
216
               <el-date-picker
215
               <el-date-picker
217
                 prefix-icon="el-icon-date"
216
                 prefix-icon="el-icon-date"
227
         
226
         
228
         <el-table-column align="center" width="150" label="批准文号">
227
         <el-table-column align="center" width="150" label="批准文号">
229
             <template slot-scope="scope">
228
             <template slot-scope="scope">
230
-              <el-form-item>
229
+              <el-form-item style="padding-top: 20px">
231
                 <el-input
230
                 <el-input
232
                   placeholder="请输入批准文号"
231
                   placeholder="请输入批准文号"
233
                   v-model="scope.row.batch_number"
232
                   v-model="scope.row.batch_number"

+ 24 - 23
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue Ver arquivo

114
             </template>
114
             </template>
115
 
115
 
116
             <template slot-scope="scope">
116
             <template slot-scope="scope">
117
-              <el-form-item style="padding-top: 15px">
117
+              <el-form-item style="padding-top: 20px">
118
                  <el-autocomplete
118
                  <el-autocomplete
119
                     class="checkSearch"
119
                     class="checkSearch"
120
                     popper-class="my-autocomplete"
120
                     popper-class="my-autocomplete"
134
               </el-form-item>
134
               </el-form-item>
135
             </template>
135
             </template>
136
           </el-table-column>
136
           </el-table-column>
137
-         <el-table-column align="center" width="200">
137
+         <el-table-column align="center" width="140">
138
             <template slot="header" slot-scope="scope">
138
             <template slot="header" slot-scope="scope">
139
               <span>药品类型</span>
139
               <span>药品类型</span>
140
             </template>
140
             </template>
141
              <template slot-scope="scope">
141
              <template slot-scope="scope">
142
-               <el-select size="small" v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
142
+               <el-select v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
143
                 <el-option
143
                 <el-option
144
                   v-for="(option, index) in drugTypeList"
144
                   v-for="(option, index) in drugTypeList"
145
                   :key="index"
145
                   :key="index"
149
                </el-select>
149
                </el-select>
150
             </template>
150
             </template>
151
           </el-table-column>
151
           </el-table-column>
152
-          <el-table-column align="center" width="200">
152
+          <el-table-column align="center" width="140">
153
             <template slot="header" slot-scope="scope">
153
             <template slot="header" slot-scope="scope">
154
               <span>规格&单位</span>
154
               <span>规格&单位</span>
155
             </template>
155
             </template>
156
             <template slot-scope="scope">
156
             <template slot-scope="scope">
157
-              <el-form-item style="padding-top: 15px">
157
+              <el-form-item style="padding-top: 20px">
158
                 <el-input
158
                 <el-input
159
                   :disabled="true"
159
                   :disabled="true"
160
                   placeholder="请输入规格&单位"
160
                   placeholder="请输入规格&单位"
163
               </el-form-item>
163
               </el-form-item>
164
             </template>
164
             </template>
165
           </el-table-column>
165
           </el-table-column>
166
-          <el-table-column align="center" width="200">
166
+          <el-table-column align="center" width="140">
167
             <template slot="header" slot-scope="scope" >
167
             <template slot="header" slot-scope="scope" >
168
               <span>批号</span>
168
               <span>批号</span>
169
               </template>
169
               </template>
170
                 <template slot-scope="scope">
170
                 <template slot-scope="scope">
171
-                  <el-form-item style="padding-top: 15px">
171
+                  <el-form-item style="padding-top: 20px">
172
                     <el-input
172
                     <el-input
173
                       placeholder="请输入批号"
173
                       placeholder="请输入批号"
174
                       v-model="scope.row.lot_number"
174
                       v-model="scope.row.lot_number"
177
                 </template>
177
                 </template>
178
           </el-table-column>
178
           </el-table-column>
179
                    
179
                    
180
-         <el-table-column align="center" width="180">
180
+         <el-table-column align="center" width="120">
181
             <template slot="header" slot-scope="scope">
181
             <template slot="header" slot-scope="scope">
182
               <span>入库数量<span style="color: red">*</span></span>
182
               <span>入库数量<span style="color: red">*</span></span>
183
             </template>
183
             </template>
185
               <el-form-item
185
               <el-form-item
186
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
186
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
187
                 :rules="tableRules.warehousing_count"
187
                 :rules="tableRules.warehousing_count"
188
-                style="padding-top: 17px"
188
+                style="padding-top: 20px;"
189
               >
189
               >
190
-                <el-input
191
-                  placeholder="请输入入库数量"
192
-                  type="number"
193
-                  v-model="scope.row.warehousing_count"
194
-                  style="width:100px"
195
-                ></el-input>
196
-                {{scope.row.max_unit}}
190
+                <div style="display:flex;">
191
+                  <el-input
192
+                    placeholder="请输入入库数量"
193
+                    type="number"
194
+                    v-model="scope.row.warehousing_count"
195
+                  ></el-input>
196
+                  {{scope.row.max_unit}}
197
+                </div>
197
               </el-form-item>
198
               </el-form-item>
198
             </template>
199
             </template>
199
           </el-table-column>
200
           </el-table-column>
200
-          <el-table-column>
201
+          <el-table-column width="120">
201
             <template slot="header" slot-scope="scope">
202
             <template slot="header" slot-scope="scope">
202
                 <span>进货单价(元)<span style="color: red">*</span></span>
203
                 <span>进货单价(元)<span style="color: red">*</span></span>
203
               </template>
204
               </template>
205
                 <el-form-item
206
                 <el-form-item
206
                   :prop="'recordData.' + scope.$index + '.price'"
207
                   :prop="'recordData.' + scope.$index + '.price'"
207
                   :rules="tableRules.last_price"
208
                   :rules="tableRules.last_price"
208
-                  style="padding-top: 17px"
209
+                  style="padding-top: 20px"
209
                 >
210
                 >
210
                   <el-input
211
                   <el-input
211
                     style="width:100px"
212
                     style="width:100px"
218
               </template>
219
               </template>
219
           </el-table-column>
220
           </el-table-column>
220
 
221
 
221
-          <el-table-column label="总价(元)" align="center" width="150">
222
+          <el-table-column label="总价(元)" align="center" width="80">
222
             <template slot-scope="scope">
223
             <template slot-scope="scope">
223
               {{ calculate(scope.row.last_price * scope.row.warehousing_count) }} 
224
               {{ calculate(scope.row.last_price * scope.row.warehousing_count) }} 
224
             </template>
225
             </template>
225
           </el-table-column>
226
           </el-table-column>
226
          
227
          
227
-          <el-table-column label="生产厂家" width="250" align="center">
228
+          <el-table-column label="生产厂家" width="140" align="center">
228
             <template slot-scope="scope">
229
             <template slot-scope="scope">
229
-               <el-select size="small" v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
230
+               <el-select v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
230
                 <el-option
231
                 <el-option
231
                   v-for="(option, index) in manufacturerList"
232
                   v-for="(option, index) in manufacturerList"
232
                   :key="index"
233
                   :key="index"
237
             </template>
238
             </template>
238
           </el-table-column>
239
           </el-table-column>
239
 
240
 
240
-          <el-table-column label="生产日期" width="250" align="center">
241
+          <el-table-column label="生产日期" width="180" align="center">
241
             <template slot-scope="scope">
242
             <template slot-scope="scope">
242
               <el-date-picker
243
               <el-date-picker
243
                 prefix-icon="el-icon-date"
244
                 prefix-icon="el-icon-date"
252
           </el-table-column>
253
           </el-table-column>
253
 
254
 
254
 
255
 
255
-         <el-table-column label="有效日期" width="250" align="center">
256
+         <el-table-column label="有效日期" width="180" align="center">
256
             <template slot-scope="scope">
257
             <template slot-scope="scope">
257
               <el-date-picker
258
               <el-date-picker
258
                 prefix-icon="el-icon-date"
259
                 prefix-icon="el-icon-date"

+ 30 - 27
src/xt_pages/stock/drugs/drugStockOutOrderAdd.vue Ver arquivo

48
           v-model="warehouse_out_time"
48
           v-model="warehouse_out_time"
49
           prefix-icon="el-icon-date"
49
           prefix-icon="el-icon-date"
50
           :editable="false"
50
           :editable="false"
51
-          style="width: 196px;"
51
+          style="width: 200px;"
52
           type="date"
52
           type="date"
53
           placeholder="选择日期时间"
53
           placeholder="选择日期时间"
54
           align="right"
54
           align="right"
65
           filterable
65
           filterable
66
           placeholder="请选择经销商"
66
           placeholder="请选择经销商"
67
           @change="changeDealer"
67
           @change="changeDealer"
68
+          style="width: 200px;"
68
         >
69
         >
69
           <el-option
70
           <el-option
70
             v-for="(option, index) in dealer"
71
             v-for="(option, index) in dealer"
84
           filterable
85
           filterable
85
           placeholder="请选择厂商"
86
           placeholder="请选择厂商"
86
           @change="changeManufacturer"
87
           @change="changeManufacturer"
88
+          style="width: 200px;"
87
         >
89
         >
88
           <el-option
90
           <el-option
89
             v-for="(option, index) in manufacturer"
91
             v-for="(option, index) in manufacturer"
110
             </template>
112
             </template>
111
 
113
 
112
             <template slot-scope="scope">
114
             <template slot-scope="scope">
113
-              <el-form-item style="padding-top: 15px">
115
+              <el-form-item style="padding-top: 20px">
114
                 <el-autocomplete
116
                 <el-autocomplete
115
                     class="checkSearch"
117
                     class="checkSearch"
116
                     popper-class="my-autocomplete"
118
                     popper-class="my-autocomplete"
130
               </el-form-item>
132
               </el-form-item>
131
             </template>
133
             </template>
132
           </el-table-column>
134
           </el-table-column>
133
-          <el-table-column align="center" width="200">
135
+          <el-table-column align="center" width="140">
134
             <template slot="header" slot-scope="scope">
136
             <template slot="header" slot-scope="scope">
135
               <span>药品类型</span>
137
               <span>药品类型</span>
136
             </template>
138
             </template>
137
              <template slot-scope="scope">
139
              <template slot-scope="scope">
138
-               <el-select size="small" v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
140
+               <el-select v-model="scope.row.drug_type" filterable placeholder="请选择厂商">
139
                 <el-option
141
                 <el-option
140
                   v-for="(option, index) in drugTypeList"
142
                   v-for="(option, index) in drugTypeList"
141
                   :key="index"
143
                   :key="index"
145
                </el-select>
147
                </el-select>
146
             </template>
148
             </template>
147
           </el-table-column>
149
           </el-table-column>
148
-          <el-table-column align="center" width="200">
150
+          <el-table-column align="center" width="140">
149
             <template slot="header" slot-scope="scope">
151
             <template slot="header" slot-scope="scope">
150
               <span>规格&单位<span style="color: red">*</span></span>
152
               <span>规格&单位<span style="color: red">*</span></span>
151
             </template>
153
             </template>
152
             <template slot-scope="scope">
154
             <template slot-scope="scope">
153
-              <el-form-item style="padding-top: 15px">
155
+              <el-form-item style="padding-top: 20px">
154
                 <el-input
156
                 <el-input
155
                   :disabled="true"
157
                   :disabled="true"
156
                   placeholder="请输入规格&单位"
158
                   placeholder="请输入规格&单位"
159
               </el-form-item>
161
               </el-form-item>
160
             </template>
162
             </template>
161
           </el-table-column>
163
           </el-table-column>
162
-          <el-table-column align="center" width="200">
164
+          <el-table-column align="center" width="150">
163
             <template slot="header" slot-scope="scope" >
165
             <template slot="header" slot-scope="scope" >
164
                   <span>批号</span>
166
                   <span>批号</span>
165
               </template>
167
               </template>
166
                 <template slot-scope="scope">
168
                 <template slot-scope="scope">
167
-                  <el-form-item style="padding-top: 15px">
169
+                  <el-form-item style="padding-top: 20px">
168
                     <el-input
170
                     <el-input
169
                       placeholder="请输入批号"
171
                       placeholder="请输入批号"
170
                       v-model="scope.row.batch_number"
172
                       v-model="scope.row.batch_number"
172
                   </el-form-item>
174
                   </el-form-item>
173
               </template>
175
               </template>
174
           </el-table-column>
176
           </el-table-column>
175
-          <el-table-column width="180" align="center">
177
+          <el-table-column width="120" align="center">
176
             <template slot="header" slot-scope="scope">
178
             <template slot="header" slot-scope="scope">
177
               <span>出库数量<span style="color: red">*</span></span>
179
               <span>出库数量<span style="color: red">*</span></span>
178
             </template>
180
             </template>
180
               <el-form-item
182
               <el-form-item
181
                 :prop="'recordData.' + scope.$index + '.count'"
183
                 :prop="'recordData.' + scope.$index + '.count'"
182
                 :rules="tableRules.count"
184
                 :rules="tableRules.count"
183
-                style="padding-top: 17px"
185
+                style="padding-top: 20px"
184
               >
186
               >
185
-                <el-input
186
-                  placeholder="请输入出库数量"
187
-                  type="number"
188
-                  v-model="scope.row.count"
189
-                  style="width:100px"
190
-                ></el-input>
191
-                {{scope.row.packing_unit}}
187
+                <div style="display:flex;">
188
+                  <el-input
189
+                    placeholder="请输入出库数量"
190
+                    type="number"
191
+                    v-model="scope.row.count"
192
+                  ></el-input>
193
+                  {{scope.row.packing_unit}}
194
+                </div>
192
               </el-form-item>
195
               </el-form-item>
193
               
196
               
194
             </template>
197
             </template>
195
           </el-table-column>
198
           </el-table-column>
196
-          <el-table-column width="100" align="center">
199
+          <el-table-column width="120" align="center">
197
             <template slot="header" slot-scope="scope">
200
             <template slot="header" slot-scope="scope">
198
               <span>出货价<span style="color: red">*</span></span>
201
               <span>出货价<span style="color: red">*</span></span>
199
             </template>
202
             </template>
202
               <el-form-item
205
               <el-form-item
203
                 :prop="'recordData.' + scope.$index + '.last_price'"
206
                 :prop="'recordData.' + scope.$index + '.last_price'"
204
                 :rules="tableRules.last_price"
207
                 :rules="tableRules.last_price"
205
-                style="padding-top: 17px"
208
+                style="padding-top: 20px"
206
               >
209
               >
207
                 <el-input
210
                 <el-input
208
                   placeholder="请输入出货价"
211
                   placeholder="请输入出货价"
235
 
238
 
236
           
239
           
237
 
240
 
238
-          <el-table-column label="总价" width="100" align="center">
241
+          <el-table-column label="总价" width="80" align="center">
239
             <template slot-scope="scope">
242
             <template slot-scope="scope">
240
               {{ calculate(scope.row.last_price * scope.row.count) }}
243
               {{ calculate(scope.row.last_price * scope.row.count) }}
241
             </template>
244
             </template>
254
             </template>
257
             </template>
255
           </el-table-column> -->
258
           </el-table-column> -->
256
           
259
           
257
-             <el-table-column label="生产厂家" width="250" align="center">
260
+          <el-table-column label="生产厂家" width="140" align="center">
258
             <template slot-scope="scope">
261
             <template slot-scope="scope">
259
-               <el-select size="small" v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
262
+               <el-select v-model="scope.row.manufacturer" filterable placeholder="请选择厂商">
260
                 <el-option
263
                 <el-option
261
                   v-for="(option, index) in manufacturerList"
264
                   v-for="(option, index) in manufacturerList"
262
                   :key="index"
265
                   :key="index"
268
           </el-table-column>
271
           </el-table-column>
269
  
272
  
270
 
273
 
271
-          <el-table-column label="生产日期" width="250" align="center">
274
+          <el-table-column label="生产日期" width="180" align="center">
272
             <template slot-scope="scope">
275
             <template slot-scope="scope">
273
               <el-date-picker
276
               <el-date-picker
274
                 prefix-icon="el-icon-date"
277
                 prefix-icon="el-icon-date"
281
               ></el-date-picker>
284
               ></el-date-picker>
282
             </template>
285
             </template>
283
           </el-table-column>
286
           </el-table-column>
284
-          <el-table-column label="有效日期" width="250" align="center">
287
+          <el-table-column label="有效日期" width="180" align="center">
285
             <template slot-scope="scope">
288
             <template slot-scope="scope">
286
               <el-date-picker
289
               <el-date-picker
287
                 prefix-icon="el-icon-date"
290
                 prefix-icon="el-icon-date"
297
         
300
         
298
         <el-table-column align="center" width="150" label="批准文号">
301
         <el-table-column align="center" width="150" label="批准文号">
299
             <template slot-scope="scope">
302
             <template slot-scope="scope">
300
-              <el-form-item>
303
+              <el-form-item style="padding-top: 20px">
301
                 <el-input
304
                 <el-input
302
                   placeholder="请输入批准文号"
305
                   placeholder="请输入批准文号"
303
                   v-model="scope.row.number"
306
                   v-model="scope.row.number"
306
             </template>
309
             </template>
307
           </el-table-column>
310
           </el-table-column>
308
 
311
 
309
-          <el-table-column label="备注" width="80" align="center">
312
+          <el-table-column label="备注" width="120" align="center">
310
             <template slot-scope="scope">
313
             <template slot-scope="scope">
311
               <el-input v-model="scope.row.remark"></el-input>
314
               <el-input v-model="scope.row.remark"></el-input>
312
             </template>
315
             </template>
313
           </el-table-column>
316
           </el-table-column>
314
 
317
 
315
-          <el-table-column label="操作" align="center" width="150">
318
+          <el-table-column label="操作" align="center" width="150" fixed="right">
316
             <template slot-scope="scope">
319
             <template slot-scope="scope">
317
               <el-tooltip
320
               <el-tooltip
318
                 class="item"
321
                 class="item"

+ 20 - 42
src/xt_pages/stock/drugs/query.vue Ver arquivo

41
             </el-option>
41
             </el-option>
42
         </el-select>
42
         </el-select>
43
          <el-date-picker
43
          <el-date-picker
44
-            size="small"
45
             v-model="start_time"
44
             v-model="start_time"
46
             prefix-icon="el-icon-date"
45
             prefix-icon="el-icon-date"
47
             :editable="false"
46
             :editable="false"
54
             @change="startTimeChange"
53
             @change="startTimeChange"
55
            ></el-date-picker>-
54
            ></el-date-picker>-
56
             <el-date-picker
55
             <el-date-picker
57
-              size="small"
58
               v-model="end_time"
56
               v-model="end_time"
59
               prefix-icon="el-icon-date"
57
               prefix-icon="el-icon-date"
60
               :editable="false"
58
               :editable="false"
67
               @change="endTimeChange"
65
               @change="endTimeChange"
68
           ></el-date-picker>
66
           ></el-date-picker>
69
           <el-input
67
           <el-input
70
-            size="small"
71
             style="width: 200px;"
68
             style="width: 200px;"
72
             class="filter-item"
69
             class="filter-item"
73
             v-model.trim="keywords"
70
             v-model.trim="keywords"
83
           </el-button>
80
           </el-button>
84
       </div>
81
       </div>
85
       
82
       
86
-       <el-table
87
-        :data="tableList"
88
-        border
89
-        style="width: 100%">
83
+       <el-table :data="tableList" border style="width: 100%">
90
         <!-- <el-table-column prop="date" label="药品编号" width="180">
84
         <!-- <el-table-column prop="date" label="药品编号" width="180">
91
            <template  slot-scope="scope">
85
            <template  slot-scope="scope">
92
               
86
               
93
            </template>
87
            </template>
94
         </el-table-column> -->
88
         </el-table-column> -->
95
-        <el-table-column prop="drug_type" label="药品类型" width="180">
89
+        <el-table-column prop="drug_type" label="药品类型" width="180" align="center">
96
            <template slot-scope="scope">
90
            <template slot-scope="scope">
97
              {{getDrugType(scope.row.drug_type)}}
91
              {{getDrugType(scope.row.drug_type)}}
98
            </template>
92
            </template>
99
         </el-table-column>
93
         </el-table-column>
100
-        <el-table-column prop="drug_name" label="药品名称">
94
+        <el-table-column prop="drug_name" label="药品名称" align="center">
101
            <template slot-scope="scope">
95
            <template slot-scope="scope">
102
              {{scope.row.drug_name}}
96
              {{scope.row.drug_name}}
103
            </template>
97
            </template>
104
         </el-table-column>
98
         </el-table-column>
105
-        <el-table-column prop="drug_name" label="规格&&单位">
99
+        <el-table-column prop="drug_name" label="规格&&单位" align="center">
106
            <template slot-scope="scope">
100
            <template slot-scope="scope">
107
              {{scope.row.dose + scope.row.dose_unit +"*"+scope.row.min_number+scope.row.min_unit+"/"+scope.row.max_unit}}
101
              {{scope.row.dose + scope.row.dose_unit +"*"+scope.row.min_number+scope.row.min_unit+"/"+scope.row.max_unit}}
108
            </template>
102
            </template>
109
         </el-table-column>
103
         </el-table-column>
110
-         <el-table-column prop="drug_name" label="进货单价">
104
+         <el-table-column prop="drug_name" label="进货单价" align="center">
111
            <template slot-scope="scope">
105
            <template slot-scope="scope">
112
              {{scope.row.last_price}}
106
              {{scope.row.last_price}}
113
            </template>
107
            </template>
114
         </el-table-column>
108
         </el-table-column>
115
-         <el-table-column prop="drug_name" label="厂家">
109
+         <el-table-column prop="drug_name" label="厂家" align="center">
116
            <template slot-scope="scope">
110
            <template slot-scope="scope">
117
              {{getManufacturerList(scope.row.manufacturer)}}
111
              {{getManufacturerList(scope.row.manufacturer)}}
118
            </template>
112
            </template>
119
         </el-table-column>
113
         </el-table-column>
120
-        <el-table-column prop="drug_name" label="剩余库存量">
114
+        <el-table-column prop="drug_name" label="剩余库存量" align="center">
121
            <template slot-scope="scope">
115
            <template slot-scope="scope">
122
             <span v-if="scope.row.stock_max_number!=''">
116
             <span v-if="scope.row.stock_max_number!=''">
123
               {{scope.row.stock_max_number}}{{scope.row.max_unit}}
117
               {{scope.row.stock_max_number}}{{scope.row.max_unit}}
127
             </span> 
121
             </span> 
128
            </template>
122
            </template>
129
         </el-table-column>
123
         </el-table-column>
130
-        <el-table-column prop="drug_name" label="操作">
124
+        <el-table-column prop="drug_name" label="操作" align="center">
131
           <template slot-scope="scope">
125
           <template slot-scope="scope">
132
-            <el-tooltip
133
-              class="item"
134
-              effect="dark"
135
-              content="库存流水"
136
-              placement="top"
137
-            >
138
-              <el-button
139
-                size="small"
140
-                type="primary"
141
-                icon="el-icon-edit-outline"
142
-                @click="handleDetail(scope.row.drug_id)"
143
-              >
144
-              </el-button>
145
-            </el-tooltip>
146
-            <el-tooltip
147
-              class="item"
148
-              effect="dark"
149
-              content="批次"
150
-              placement="top"
151
-            >
152
-              <el-button
153
-                size="small"
154
-                type="primary"
155
-                icon="el-icon-edit-outline"
156
-                @click="handleBatch(scope.row.drug_id)"
157
-              >
158
-              </el-button>
159
-            </el-tooltip>
126
+            <el-button
127
+              size="small"
128
+              type="primary"
129
+              @click="handleDetail(scope.row.drug_id)"
130
+            >库存流水
131
+            </el-button>
132
+            <el-button
133
+              size="small"
134
+              type="primary"
135
+              @click="handleBatch(scope.row.drug_id)"
136
+            >批次
137
+            </el-button>
160
           </template>
138
           </template>
161
         </el-table-column>
139
         </el-table-column>
162
        </el-table>
140
        </el-table>

+ 14 - 14
src/xt_pages/stock/stockInOrderAdd.vue Ver arquivo

81
                  </el-autocomplete>
81
                  </el-autocomplete>
82
             </template>
82
             </template>
83
           </el-table-column>
83
           </el-table-column>
84
-          <el-table-column align="center" width="200">
84
+          <el-table-column align="center" width="140">
85
             
85
             
86
             <template slot="header" slot-scope="scope">
86
             <template slot="header" slot-scope="scope">
87
               <span>耗材类型<span style="color: red">*</span></span>
87
               <span>耗材类型<span style="color: red">*</span></span>
88
             </template>
88
             </template>
89
      
89
      
90
             <template slot-scope="scope">
90
             <template slot-scope="scope">
91
-              <el-form-item style="padding-top: 15px;margin-left: 10px;margin-right: 10px">
91
+              <el-form-item style="padding-top: 20px;">
92
                 <el-input placeholder="请输入耗材类型" v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)"></el-input>
92
                 <el-input placeholder="请输入耗材类型" v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)"></el-input>
93
               </el-form-item>
93
               </el-form-item>
94
             </template>
94
             </template>
95
           </el-table-column>
95
           </el-table-column>
96
-          <el-table-column align="center" width="200">
96
+          <el-table-column align="center" width="140">
97
             
97
             
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
 
102
 
103
-              <el-form-item style="padding-top: 15px">
103
+              <el-form-item style="padding-top: 20px">
104
                 <el-input placeholder="请输入规格名称" v-model="scope.row.name"></el-input>
104
                 <el-input placeholder="请输入规格名称" v-model="scope.row.name"></el-input>
105
               </el-form-item>
105
               </el-form-item>
106
 
106
 
112
               <span>批号</span>
112
               <span>批号</span>
113
             </template>
113
             </template>
114
             <template slot-scope="scope">
114
             <template slot-scope="scope">
115
-              <el-form-item style="padding-top: 17px">
115
+              <el-form-item style="padding-top: 20px">
116
                 <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
116
                 <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
117
               </el-form-item>
117
               </el-form-item>
118
 
118
 
120
           </el-table-column>
120
           </el-table-column>
121
 
121
 
122
 
122
 
123
-          <el-table-column align="center" width="180">
123
+          <el-table-column align="center" width="120">
124
             <template slot="header" slot-scope="scope">
124
             <template slot="header" slot-scope="scope">
125
               <span>入库数量<span style="color: red">*</span></span>
125
               <span>入库数量<span style="color: red">*</span></span>
126
             </template>
126
             </template>
127
             <template slot-scope="scope">
127
             <template slot-scope="scope">
128
               <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
128
               <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
129
-                            :rules='tableRules.warehousing_count' style="padding-top: 17px">
130
-                <el-input placeholder="请输入入库数量" type="number" v-model="scope.row.warehousing_count" style="width:120px"></el-input>
129
+                            :rules='tableRules.warehousing_count' style="padding-top: 20px">
130
+                <el-input placeholder="请输入入库数量" type="number" v-model="scope.row.warehousing_count"></el-input>
131
                   {{scope.row.min_unit}}
131
                   {{scope.row.min_unit}}
132
               </el-form-item>
132
               </el-form-item>
133
             
133
             
134
             </template>
134
             </template>
135
           </el-table-column>
135
           </el-table-column>
136
 
136
 
137
-          <el-table-column align="center" width="150">
137
+          <el-table-column align="center" width="120">
138
             <template slot="header" slot-scope="scope">
138
             <template slot="header" slot-scope="scope">
139
               <span>进货单价<span style="color: red">*</span></span>
139
               <span>进货单价<span style="color: red">*</span></span>
140
             </template>
140
             </template>
141
             <template slot-scope="scope">
141
             <template slot-scope="scope">
142
             
142
             
143
               <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
143
               <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
144
-                            style="padding-top: 17px">
144
+                            style="padding-top: 20px">
145
                 <el-input placeholder="请输入单价" type="number" v-model="scope.row.price"></el-input>
145
                 <el-input placeholder="请输入单价" type="number" v-model="scope.row.price"></el-input>
146
               </el-form-item>
146
               </el-form-item>
147
 
147
 
149
             </template>
149
             </template>
150
           </el-table-column>
150
           </el-table-column>
151
 
151
 
152
-          <el-table-column label="总价" align="center" width="150">
152
+          <el-table-column label="总价" align="center" width="80">
153
             <template slot-scope="scope">
153
             <template slot-scope="scope">
154
               {{calculate(scope.row.price*scope.row.warehousing_count)}}
154
               {{calculate(scope.row.price*scope.row.warehousing_count)}}
155
             </template>
155
             </template>
168
             </template>
168
             </template>
169
           </el-table-column>
169
           </el-table-column>
170
         
170
         
171
-          <el-table-column label="生产日期" align="center" width="250">
171
+          <el-table-column label="生产日期" align="center" width="180">
172
             <template slot-scope="scope">
172
             <template slot-scope="scope">
173
-              <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
173
+              <el-date-picker prefix-icon="el-icon-date" v-model="scope.row.product_date" style="width: 145px"
174
                               type="date" placeholder="选择日期时间" format="yyyy-MM-dd"
174
                               type="date" placeholder="选择日期时间" format="yyyy-MM-dd"
175
                               value-format="yyyy-MM-dd">
175
                               value-format="yyyy-MM-dd">
176
               </el-date-picker>
176
               </el-date-picker>
177
 
177
 
178
             </template>
178
             </template>
179
           </el-table-column>
179
           </el-table-column>
180
-          <el-table-column label="有效日期" align="center" width="250">
180
+          <el-table-column label="有效日期" align="center" width="180">
181
             <template slot-scope="scope">
181
             <template slot-scope="scope">
182
               <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
182
               <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
183
                               type="date" placeholder="选择日期时间" format="yyyy-MM-dd"
183
                               type="date" placeholder="选择日期时间" format="yyyy-MM-dd"

+ 15 - 14
src/xt_pages/stock/stockInOrderEdit.vue Ver arquivo

40
           v-model="warehousing_time"
40
           v-model="warehousing_time"
41
           prefix-icon="el-icon-date"
41
           prefix-icon="el-icon-date"
42
           :editable="false"
42
           :editable="false"
43
-          style="width: 196px;"
43
+          style="width: 200px;"
44
           type="date"
44
           type="date"
45
           placeholder="选择日期时间"
45
           placeholder="选择日期时间"
46
           align="right"
46
           align="right"
57
           v-model="form.dealer"
57
           v-model="form.dealer"
58
           clearable
58
           clearable
59
           placeholder="请选择经销商"
59
           placeholder="请选择经销商"
60
+          style="width: 200px;"
60
         >
61
         >
61
           <el-option
62
           <el-option
62
             v-for="(option, index) in dealer"
63
             v-for="(option, index) in dealer"
76
           v-model="form.manufacturer"
77
           v-model="form.manufacturer"
77
           clearable
78
           clearable
78
           placeholder="请选择厂商"
79
           placeholder="请选择厂商"
80
+          style="width: 200px;"
79
         >
81
         >
80
           <el-option
82
           <el-option
81
             v-for="(option, index) in manufacturer"
83
             v-for="(option, index) in manufacturer"
120
                  </el-autocomplete>
122
                  </el-autocomplete>
121
             </template>
123
             </template>
122
           </el-table-column>
124
           </el-table-column>
123
-          <el-table-column align="center" width="200">
125
+          <el-table-column align="center" width="140">
124
             <template slot="header" slot-scope="scope">
126
             <template slot="header" slot-scope="scope">
125
               <span>耗材类型<span style="color: red">*</span></span>
127
               <span>耗材类型<span style="color: red">*</span></span>
126
             </template>
128
             </template>
127
 
129
 
128
             <template slot-scope="scope">
130
             <template slot-scope="scope">
129
-              <el-form-item style="padding-top: 15px">
131
+              <el-form-item style="padding-top: 20px">
130
                 <el-input
132
                 <el-input
131
                   placeholder="请输入耗材类型"
133
                   placeholder="请输入耗材类型"
132
                   v-model="scope.row.good_type_id"
134
                   v-model="scope.row.good_type_id"
135
               </el-form-item>
137
               </el-form-item>
136
             </template>
138
             </template>
137
           </el-table-column>
139
           </el-table-column>
138
-          <el-table-column align="center" width="200">
140
+          <el-table-column align="center" width="140">
139
             
141
             
140
             <template slot="header" slot-scope="scope">
142
             <template slot="header" slot-scope="scope">
141
               <span>规格&单位<span style="color: red">*</span></span>
143
               <span>规格&单位<span style="color: red">*</span></span>
142
             </template>
144
             </template>
143
             <template slot-scope="scope">
145
             <template slot-scope="scope">
144
 
146
 
145
-              <el-form-item style="padding-top: 15px">
147
+              <el-form-item style="padding-top: 20px">
146
                 <el-input placeholder="请输入规格名称" v-model="scope.row.name"></el-input>
148
                 <el-input placeholder="请输入规格名称" v-model="scope.row.name"></el-input>
147
               </el-form-item>
149
               </el-form-item>
148
 
150
 
164
             </template>
166
             </template>
165
           </el-table-column> -->
167
           </el-table-column> -->
166
 
168
 
167
-          <el-table-column align="center" width="150">
169
+          <el-table-column align="center" width="120">
168
             <template slot="header" slot-scope="scope">
170
             <template slot="header" slot-scope="scope">
169
               <span>单价<span style="color: red">*</span></span>
171
               <span>单价<span style="color: red">*</span></span>
170
             </template>
172
             </template>
173
               <el-form-item
175
               <el-form-item
174
                 :prop="'recordData.' + scope.$index + '.price'"
176
                 :prop="'recordData.' + scope.$index + '.price'"
175
                 :rules="tableRules.price"
177
                 :rules="tableRules.price"
176
-                style="padding-top: 17px"
178
+                style="padding-top: 20px"
177
               >
179
               >
178
                 <el-input
180
                 <el-input
179
                   placeholder="请输入单价"
181
                   placeholder="请输入单价"
184
             </template>
186
             </template>
185
           </el-table-column>
187
           </el-table-column>
186
 
188
 
187
-          <el-table-column align="center" width="180">
189
+          <el-table-column align="center" width="120">
188
             <template slot="header" slot-scope="scope">
190
             <template slot="header" slot-scope="scope">
189
               <span>入库数量<span style="color: red">*</span></span>
191
               <span>入库数量<span style="color: red">*</span></span>
190
             </template>
192
             </template>
193
               <el-form-item
195
               <el-form-item
194
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
196
                 :prop="'recordData.' + scope.$index + '.warehousing_count'"
195
                 :rules="tableRules.warehousing_count"
197
                 :rules="tableRules.warehousing_count"
196
-                style="padding-top: 17px"
198
+                style="padding-top: 20px"
197
               >
199
               >
198
                 <el-input
200
                 <el-input
199
                   placeholder="请输入入库数量"
201
                   placeholder="请输入入库数量"
200
                   type="number"
202
                   type="number"
201
                   v-model="scope.row.warehousing_count"
203
                   v-model="scope.row.warehousing_count"
202
-                  style="width:120px"
203
                 ></el-input>
204
                 ></el-input>
204
                 {{scope.row.min_unit}}
205
                 {{scope.row.min_unit}}
205
               </el-form-item>
206
               </el-form-item>
206
             </template>
207
             </template>
207
           </el-table-column>
208
           </el-table-column>
208
-          <el-table-column label="总价" align="center" width="150">
209
+          <el-table-column label="总价" align="center" width="80">
209
             <template slot-scope="scope">
210
             <template slot-scope="scope">
210
               {{ calculate(scope.row.price * scope.row.warehousing_count) }}
211
               {{ calculate(scope.row.price * scope.row.warehousing_count) }}
211
             </template>
212
             </template>
216
               <span>批号</span>
217
               <span>批号</span>
217
             </template>
218
             </template>
218
             <template slot-scope="scope">
219
             <template slot-scope="scope">
219
-              <el-form-item>
220
+              <el-form-item style="padding-top: 20px">
220
                 <el-input
221
                 <el-input
221
                   placeholder="请输入批号"
222
                   placeholder="请输入批号"
222
                   v-model="scope.row.number"
223
                   v-model="scope.row.number"
225
             </template>
226
             </template>
226
           </el-table-column>
227
           </el-table-column>
227
 
228
 
228
-          <el-table-column label="生产日期" width="250" align="center">
229
+          <el-table-column label="生产日期" width="180" align="center">
229
             <template slot-scope="scope">
230
             <template slot-scope="scope">
230
               <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
231
               <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
231
               <el-date-picker
232
               <el-date-picker
239
               ></el-date-picker>
240
               ></el-date-picker>
240
             </template>
241
             </template>
241
           </el-table-column>
242
           </el-table-column>
242
-          <el-table-column label="有效日期" width="250" align="center">
243
+          <el-table-column label="有效日期" width="180" align="center">
243
             <template slot-scope="scope">
244
             <template slot-scope="scope">
244
               <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
245
               <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
245
               <el-date-picker
246
               <el-date-picker

+ 12 - 10
src/xt_pages/stock/stockOutOrderAdd.vue Ver arquivo

45
           v-model="warehouse_out_time"
45
           v-model="warehouse_out_time"
46
           prefix-icon="el-icon-date"
46
           prefix-icon="el-icon-date"
47
           :editable="false"
47
           :editable="false"
48
-          style="width: 196px;"
48
+          style="width: 200px;"
49
           type="date"
49
           type="date"
50
           placeholder="选择日期时间"
50
           placeholder="选择日期时间"
51
           align="right"
51
           align="right"
62
           filterable
62
           filterable
63
           placeholder="请选择经销商"
63
           placeholder="请选择经销商"
64
           @change="changeDealer"
64
           @change="changeDealer"
65
+          style="width: 200px;"
65
         >
66
         >
66
           <el-option
67
           <el-option
67
             v-for="(option, index) in dealer"
68
             v-for="(option, index) in dealer"
81
           filterable
82
           filterable
82
           placeholder="请选择厂商"
83
           placeholder="请选择厂商"
83
           @change="changeManufacturer"
84
           @change="changeManufacturer"
85
+          style="width: 200px;"
84
         >
86
         >
85
           <el-option
87
           <el-option
86
             v-for="(option, index) in manufacturer"
88
             v-for="(option, index) in manufacturer"
101
           max-height="450"
103
           max-height="450"
102
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
104
           :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
103
         >
105
         >
104
-         <el-table-column width="150" align="center">
106
+         <el-table-column width="200" align="center">
105
             <template slot="header" slot-scope="scope">
107
             <template slot="header" slot-scope="scope">
106
               <span>耗材名称</span>
108
               <span>耗材名称</span>
107
             </template>
109
             </template>
108
 
110
 
109
             <template slot-scope="scope">
111
             <template slot-scope="scope">
110
-              <el-form-item style="padding-top: 15px">
112
+              <el-form-item style="padding-top: 20px">
111
                 <el-autocomplete
113
                 <el-autocomplete
112
                     class="checkSearch"
114
                     class="checkSearch"
113
                     popper-class="my-autocomplete"
115
                     popper-class="my-autocomplete"
127
               </el-form-item>
129
               </el-form-item>
128
             </template>
130
             </template>
129
           </el-table-column>
131
           </el-table-column>
130
-          <el-table-column  width="150" align="center">
132
+          <el-table-column  width="140" align="center">
131
             <template slot="header" slot-scope="scope">
133
             <template slot="header" slot-scope="scope">
132
               <span>耗材类型</span>
134
               <span>耗材类型</span>
133
             </template>
135
             </template>
135
             <template slot-scope="scope">
137
             <template slot-scope="scope">
136
              
138
              
137
 
139
 
138
-              <el-form-item style="padding-top: 15px">
140
+              <el-form-item style="padding-top: 20px">
139
                 <el-input
141
                 <el-input
140
                   placeholder="请输入商品类型"
142
                   placeholder="请输入商品类型"
141
                   v-model="scope.row.good_type_id"
143
                   v-model="scope.row.good_type_id"
146
           </el-table-column>
148
           </el-table-column>
147
       
149
       
148
           
150
           
149
-          <el-table-column width="150" align="center">
151
+          <el-table-column width="140" align="center">
150
             <template slot="header" slot-scope="scope">
152
             <template slot="header" slot-scope="scope">
151
               <span>规格&&单位<span style="color: red">*</span></span>
153
               <span>规格&&单位<span style="color: red">*</span></span>
152
             </template>
154
             </template>
153
             <template slot-scope="scope">
155
             <template slot-scope="scope">
154
-              <el-form-item style="padding-top: 15px">
156
+              <el-form-item style="padding-top: 20px">
155
                 <el-input v-model="scope.row.name"></el-input>
157
                 <el-input v-model="scope.row.name"></el-input>
156
               </el-form-item>
158
               </el-form-item>
157
             </template>
159
             </template>
193
               <el-form-item
195
               <el-form-item
194
                 :prop="'recordData.' + scope.$index + '.price'"
196
                 :prop="'recordData.' + scope.$index + '.price'"
195
                 :rules="tableRules.price"
197
                 :rules="tableRules.price"
196
-                style="padding-top: 17px"
198
+                style="padding-top: 20px"
197
               >
199
               >
198
                 <el-input
200
                 <el-input
199
                   placeholder="请输入单价"
201
                   placeholder="请输入单价"
206
 
208
 
207
 
209
 
208
 
210
 
209
-          <el-table-column label="总价"  width="150" align="center">
211
+          <el-table-column label="总价"  width="80" align="center">
210
             <template slot-scope="scope">
212
             <template slot-scope="scope">
211
               {{ calculate(scope.row.price * scope.row.count) }}
213
               {{ calculate(scope.row.price * scope.row.count) }}
212
             </template>
214
             </template>
260
             </template>
262
             </template>
261
           </el-table-column>
263
           </el-table-column>
262
 
264
 
263
-          <el-table-column label="操作" align="center" min-width="20" width="150">
265
+          <el-table-column label="操作" align="center" min-width="150">
264
             <template slot-scope="scope">
266
             <template slot-scope="scope">
265
               <el-tooltip
267
               <el-tooltip
266
                 class="item"
268
                 class="item"

+ 9 - 10
src/xt_pages/stock/stockOutOrderEdit.vue Ver arquivo

26
       <div class="cell clearfix">
26
       <div class="cell clearfix">
27
         <label class="title"><span class="name">出库时间</span> : </label>
27
         <label class="title"><span class="name">出库时间</span> : </label>
28
         <el-date-picker size="small" v-model="warehouse_out_time" prefix-icon="el-icon-date" :editable="false"
28
         <el-date-picker size="small" v-model="warehouse_out_time" prefix-icon="el-icon-date" :editable="false"
29
-                        style="width: 196px;"
29
+                        style="width: 200px;"
30
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
30
                         type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
31
                         value-format="yyyy-MM-dd"></el-date-picker>
31
                         value-format="yyyy-MM-dd"></el-date-picker>
32
       </div>
32
       </div>
34
 
34
 
35
       <div class="cell clearfix">
35
       <div class="cell clearfix">
36
         <label class="title"><span class="name">经销商</span> : </label>
36
         <label class="title"><span class="name">经销商</span> : </label>
37
-        <el-select size="small" v-model="form.dealer" clearable placeholder="请选择经销商" @change="changeDealer">
37
+        <el-select size="small" v-model="form.dealer" clearable placeholder="请选择经销商" @change="changeDealer" style="width: 200px;">
38
           <el-option
38
           <el-option
39
             v-for="(option, index) in dealer"
39
             v-for="(option, index) in dealer"
40
             :key="index"
40
             :key="index"
47
 
47
 
48
       <div class="cell clearfix">
48
       <div class="cell clearfix">
49
         <label class="title"><span class="name">厂商</span> : </label>
49
         <label class="title"><span class="name">厂商</span> : </label>
50
-
51
-        <el-select size="small" v-model="form.manufacturer" clearable placeholder="请选择厂商" @change="changeManufacturer">
50
+        <el-select size="small" v-model="form.manufacturer" clearable placeholder="请选择厂商" @change="changeManufacturer" style="width: 200px;">
52
           <el-option
51
           <el-option
53
             v-for="(option, index) in manufacturer"
52
             v-for="(option, index) in manufacturer"
54
             :key="index"
53
             :key="index"
64
         >
63
         >
65
 
64
 
66
        
65
        
67
-          <el-table-column width="150" align="center">
66
+          <el-table-column width="200" align="center">
68
               <template slot="header" slot-scope="scope">
67
               <template slot="header" slot-scope="scope">
69
                 <span>耗材名称</span>
68
                 <span>耗材名称</span>
70
               </template>
69
               </template>
71
 
70
 
72
               <template slot-scope="scope">
71
               <template slot-scope="scope">
73
-                <el-form-item style="padding-top: 15px">
72
+                <el-form-item style="padding-top: 20px">
74
                   <el-autocomplete
73
                   <el-autocomplete
75
                       class="checkSearch"
74
                       class="checkSearch"
76
                       popper-class="my-autocomplete"
75
                       popper-class="my-autocomplete"
90
                 </el-form-item>
89
                 </el-form-item>
91
               </template>
90
               </template>
92
             </el-table-column>
91
             </el-table-column>
93
-           <el-table-column width="150" align="center">
92
+           <el-table-column width="140" align="center">
94
             <template slot="header" slot-scope="scope">
93
             <template slot="header" slot-scope="scope">
95
               <span>耗材类型<span style="color: red">*</span></span>
94
               <span>耗材类型<span style="color: red">*</span></span>
96
             </template>
95
             </template>
97
 
96
 
98
             <template slot-scope="scope">
97
             <template slot-scope="scope">
99
-              <el-form-item style="padding-top: 15px">
98
+              <el-form-item style="padding-top: 20px">
100
                 <el-input
99
                 <el-input
101
                   placeholder="请输入商品类型"
100
                   placeholder="请输入商品类型"
102
                   v-model="scope.row.good_type_id"
101
                   v-model="scope.row.good_type_id"
107
           </el-table-column>
106
           </el-table-column>
108
           
107
           
109
              
108
              
110
-          <el-table-column width="150" align="center">
109
+          <el-table-column width="140" align="center">
111
             <template slot="header" slot-scope="scope">
110
             <template slot="header" slot-scope="scope">
112
               <span>规格&&单位<span style="color: red">*</span></span>
111
               <span>规格&&单位<span style="color: red">*</span></span>
113
             </template>
112
             </template>
114
             <template slot-scope="scope">
113
             <template slot-scope="scope">
115
-              <el-form-item style="padding-top: 15px">
114
+              <el-form-item style="padding-top: 20px">
116
                 <el-input v-model="scope.row.name"></el-input>
115
                 <el-input v-model="scope.row.name"></el-input>
117
               </el-form-item>
116
               </el-form-item>
118
             </template>
117
             </template>

+ 4 - 21
src/xt_pages/stock/stockQuery.vue Ver arquivo

185
             {{scope.row.price}}
185
             {{scope.row.price}}
186
           </template>
186
           </template>
187
         </el-table-column>
187
         </el-table-column>
188
-        <el-table-column label="厂商">
188
+        <el-table-column label="厂商" align="center">
189
           <template slot-scope="scope">
189
           <template slot-scope="scope">
190
            {{getManufacture(scope.row.manufacturer)}}
190
            {{getManufacture(scope.row.manufacturer)}}
191
           </template>
191
           </template>
192
         </el-table-column>
192
         </el-table-column>
193
-       <el-table-column label="剩余库存量">
193
+       <el-table-column label="剩余库存量" align="center">
194
          <template slot-scope="scope">
194
          <template slot-scope="scope">
195
           <span v-if="scope.row.stock_count!=0">{{scope.row.stock_count}}</span>
195
           <span v-if="scope.row.stock_count!=0">{{scope.row.stock_count}}</span>
196
          </template>
196
          </template>
197
        </el-table-column>
197
        </el-table-column>
198
        <el-table-column label="操作" align="center" width="260px">
198
        <el-table-column label="操作" align="center" width="260px">
199
           <template slot-scope="scope">
199
           <template slot-scope="scope">
200
-            <el-tooltip
201
-              class="item"
202
-              effect="dark"
203
-              content="库存流水"
204
-              placement="top"
205
-            >
206
               <el-button
200
               <el-button
207
                 size="small"
201
                 size="small"
208
                 type="primary"
202
                 type="primary"
209
-                icon="el-icon-edit-outline"
210
                 @click="toClick(scope.row)"
203
                 @click="toClick(scope.row)"
211
-              >
204
+              >库存流水
212
               </el-button>
205
               </el-button>
213
-            </el-tooltip>
214
-
215
-            <el-tooltip
216
-              class="item"
217
-              type="primary"
218
-              content="批次"
219
-              placement="top"
220
-            >
221
               <el-button
206
               <el-button
222
                 size="small"
207
                 size="small"
223
                 type="primary"
208
                 type="primary"
224
-                icon="el-icon-edit-outline"
225
                 @click="toClickOne(scope.row)"
209
                 @click="toClickOne(scope.row)"
226
-              >
210
+              >批次
227
               </el-button>
211
               </el-button>
228
-            </el-tooltip>
229
           </template>
212
           </template>
230
         </el-table-column>
213
         </el-table-column>
231
       </el-table>
214
       </el-table>