陈少旭 1 month ago
parent
commit
b3cabe3649
1 changed files with 60 additions and 60 deletions
  1. 60 60
      src/xt_pages/drugSourceCode/drugQuery.vue

+ 60 - 60
src/xt_pages/drugSourceCode/drugQuery.vue View File

@@ -74,52 +74,52 @@
74 74
               max-height="600"
75 75
               highlight-current-row>
76 76
       <el-table-column align="center" prop="name" label="药品名称">
77
-        <template slot-scope="scope">{{scope.row.medinsListName}}</template>
77
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
78 78
       </el-table-column>
79 79
       <el-table-column align="center" prop="name" label="国家编码">
80
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
80
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
81 81
       </el-table-column>
82 82
       <el-table-column align="center" prop="name" label="库存数量">
83 83
         <template slot-scope="scope">
84
-          <div>{{scope.row.invCnt}}</div>
84
+          <div>{{scope.row.InvCnt}}</div>
85 85
         </template>
86 86
       </el-table-column>
87 87
 
88 88
       <el-table-column align="center" prop="name" label="更新时间">
89 89
         <template slot-scope="scope">
90
-          <div>{{scope.row.updtTime}}</div>
90
+          <div>{{scope.row.UpdtTime}}</div>
91 91
         </template>
92 92
       </el-table-column>
93 93
 
94 94
 
95 95
       <el-table-column align="center" prop="total" label="生产日期">
96 96
         <template slot-scope="scope">
97
-          <div>{{scope.row.manuDate}}</div>
97
+          <div>{{scope.row.ManuDate}}</div>
98 98
         </template>
99 99
       </el-table-column>
100 100
 
101 101
 
102 102
       <el-table-column align="center" prop="total" label="记录号">
103 103
         <template slot-scope="scope">
104
-          <div>{{scope.row.rid}}</div>
104
+          <div>{{scope.row.Rid}}</div>
105 105
         </template>
106 106
       </el-table-column>
107 107
 
108 108
 
109 109
       <el-table-column align="center" prop="total" label="库存日期">
110 110
         <template slot-scope="scope">
111
-          <div>{{scope.row.invdate}}</div>
111
+          <div>{{scope.row.Invdate}}</div>
112 112
         </template>
113 113
       </el-table-column>
114 114
 
115 115
       <el-table-column align="center" prop="total" label="有效标志">
116 116
         <template slot-scope="scope">
117
-          <div>{{scope.row.valiFlag}}</div>
117
+          <div>{{scope.row.ValiFlag}}</div>
118 118
         </template>
119 119
       </el-table-column>
120 120
       <el-table-column align="center" prop="total" label="批次流水号">
121 121
         <template slot-scope="scope">
122
-          <div>{{scope.row.fixmedinsBchno}}</div>
122
+          <div>{{scope.row.FixmedinsBchno}}</div>
123 123
         </template>
124 124
       </el-table-column>
125 125
 
@@ -131,7 +131,7 @@
131 131
 
132 132
       <el-table-column align="center" prop="total" label="经办人">
133 133
         <template slot-scope="scope">
134
-          <div>{{scope.row.optTime}}</div>
134
+          <div>{{scope.row.OptTime}}</div>
135 135
         </template>
136 136
       </el-table-column>
137 137
 
@@ -148,48 +148,48 @@
148 148
               max-height="600"
149 149
               highlight-current-row>
150 150
       <el-table-column align="center" prop="name" label="药品名称">
151
-        <template slot-scope="scope">{{scope.row.medinsListName}}</template>
151
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
152 152
       </el-table-column>
153 153
       <el-table-column align="center" prop="name" label="国家编码">
154
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
154
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
155 155
       </el-table-column>
156 156
       <el-table-column align="center" prop="name" label="变更类型">
157
-        <template slot-scope="scope">{{}}</template>
157
+        <template slot-scope="scope"></template>
158 158
       </el-table-column>
159 159
       <el-table-column align="center" prop="name" label="变更数量">
160 160
         <template slot-scope="scope">
161
-          <div>{{scope.row.cnt}}</div>
161
+          <div>{{scope.row.Cnt}}</div>
162 162
         </template>
163 163
       </el-table-column>
164 164
 
165 165
       <el-table-column align="center" prop="name" label="单价">
166 166
         <template slot-scope="scope">
167
-          <div>{{scope.row.pric}}</div>
167
+          <div>{{scope.row.Pric}}</div>
168 168
         </template>
169 169
       </el-table-column>
170 170
 
171 171
       <el-table-column align="center" prop="name" label="库存变更时间">
172 172
         <template slot-scope="scope">
173
-          <div>{{scope.row.invChgTime}}</div>
173
+          <div>{{scope.row.InvChgTime}}</div>
174 174
         </template>
175 175
       </el-table-column>
176 176
 
177 177
 
178 178
       <el-table-column align="center" prop="name" label="变更经办人">
179 179
         <template slot-scope="scope">
180
-          <div>{{scope.row.invChgOpterName}}</div>
180
+          <div>{{scope.row.InvChgOpterName}}</div>
181 181
         </template>
182 182
       </el-table-column>
183 183
 
184 184
       <el-table-column align="center" prop="total" label="有效标志">
185 185
         <template slot-scope="scope">
186
-          <div>{{scope.row.valiFlag}}</div>
186
+          <div>{{scope.row.ValiFlag}}</div>
187 187
         </template>
188 188
       </el-table-column>
189 189
 
190 190
       <el-table-column align="center" prop="total" label="批次流水号">
191 191
         <template slot-scope="scope">
192
-          <div>{{scope.row.fixmedinsBchno}}</div>
192
+          <div>{{scope.row.FixmedinsBchno}}</div>
193 193
         </template>
194 194
       </el-table-column>
195 195
 
@@ -202,13 +202,13 @@
202 202
 
203 203
       <el-table-column align="center" prop="total" label="经办人">
204 204
         <template slot-scope="scope">
205
-          <div>{{scope.row.optTime}}</div>
205
+          <div>{{scope.row.OptTime}}</div>
206 206
         </template>
207 207
       </el-table-column>
208 208
 
209 209
       <el-table-column align="center" prop="total" label="记录号">
210 210
         <template slot-scope="scope">
211
-          <div>{{scope.row.rid}}</div>
211
+          <div>{{scope.row.Rid}}</div>
212 212
         </template>
213 213
       </el-table-column>
214 214
 
@@ -226,52 +226,52 @@
226 226
               max-height="600"
227 227
               highlight-current-row>
228 228
       <el-table-column align="center" prop="name" label="药品名称">
229
-        <template slot-scope="scope">{{scope.row.medinsListName}}</template>
229
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
230 230
       </el-table-column>
231 231
       <el-table-column align="center" prop="name" label="国家编码">
232
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
232
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
233 233
       </el-table-column>
234 234
       <el-table-column align="center" prop="name" label="销售/退货数量">
235 235
         <template slot-scope="scope">
236
-          <div>{{scope.row.selRetnCnt}}</div>
236
+          <div>{{scope.row.SelRetnCnt}}</div>
237 237
         </template>
238 238
       </el-table-column>
239 239
 
240 240
       <el-table-column align="center" prop="name" label="销售/退货时间">
241 241
         <template slot-scope="scope">
242
-          <div>{{scope.row.selRetnTime}}</div>
242
+          <div>{{scope.row.SelRetnTime}}</div>
243 243
         </template>
244 244
       </el-table-column>
245 245
 
246 246
 
247 247
       <el-table-column align="center" prop="total" label="药师姓名">
248 248
         <template slot-scope="scope">
249
-          <div>{{scope.row.pharName}}</div>
249
+          <div>{{scope.row.PharName}}</div>
250 250
         </template>
251 251
       </el-table-column>
252 252
 
253 253
       <el-table-column align="center" prop="total" label="生产日期">
254 254
         <template slot-scope="scope">
255
-          <div>{{scope.row.manuDate}}</div>
255
+          <div>{{scope.row.ManuDate}}</div>
256 256
         </template>
257 257
       </el-table-column>
258 258
 
259 259
 
260 260
       <el-table-column align="center" prop="total" label="记录号">
261 261
         <template slot-scope="scope">
262
-          <div>{{scope.row.rid}}</div>
262
+          <div>{{scope.row.Rid}}</div>
263 263
         </template>
264 264
       </el-table-column>
265 265
 
266 266
 
267 267
       <el-table-column align="center" prop="total" label="有效标志">
268 268
         <template slot-scope="scope">
269
-          <div>{{scope.row.valiFlag}}</div>
269
+          <div>{{scope.row.ValiFlag}}</div>
270 270
         </template>
271 271
       </el-table-column>
272 272
       <el-table-column align="center" prop="total" label="批次流水号">
273 273
         <template slot-scope="scope">
274
-          <div>{{scope.row.fixmedinsBchno}}</div>
274
+          <div>{{scope.row.FixmedinsBchno}}</div>
275 275
         </template>
276 276
       </el-table-column>
277 277
 
@@ -283,7 +283,7 @@
283 283
 
284 284
       <el-table-column align="center" prop="total" label="经办人">
285 285
         <template slot-scope="scope">
286
-          <div>{{scope.row.optTime}}</div>
286
+          <div>{{scope.row.OptTime}}</div>
287 287
         </template>
288 288
       </el-table-column>
289 289
 
@@ -300,32 +300,32 @@
300 300
               max-height="600"
301 301
               highlight-current-row>
302 302
       <el-table-column align="center" prop="name" label="药品名称">
303
-        <template slot-scope="scope">{{scope.row.medinsListName}}</template>
303
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
304 304
       </el-table-column>
305 305
       <el-table-column align="center" prop="name" label="国家编码">
306
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
306
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
307 307
       </el-table-column>
308 308
       <el-table-column align="center" prop="name" label="药品追溯码">
309 309
         <template slot-scope="scope">
310
-          <div>{{}}</div>
310
+          <div>{{scope.row.DrugTracCodg}}</div>
311 311
         </template>
312 312
       </el-table-column>
313 313
 
314 314
       <el-table-column align="center" prop="total" label="有效标志">
315 315
         <template slot-scope="scope">
316
-          <div>{{scope.row.valiFlag}}</div>
316
+          <div>{{scope.row.ValiFlag}}</div>
317 317
         </template>
318 318
       </el-table-column>
319 319
 
320 320
       <el-table-column align="center" prop="total" label="批次流水号">
321 321
         <template slot-scope="scope">
322
-          <div>{{scope.row.fixmedinsBchno}}</div>
322
+          <div>{{scope.row.FixmedinsBchno}}</div>
323 323
         </template>
324 324
       </el-table-column>
325 325
 
326 326
       <el-table-column align="center" prop="total" label="经办人">
327 327
         <template slot-scope="scope">
328
-          <div>{{scope.row.optTime}}</div>
328
+          <div>{{scope.row.OptTime}}</div>
329 329
         </template>
330 330
       </el-table-column>
331 331
 
@@ -342,46 +342,46 @@
342 342
               max-height="600"
343 343
               highlight-current-row>
344 344
       <el-table-column align="center" prop="name" label="药品名称">
345
-        <template slot-scope="scope">{{scope.row.medinsListName}}</template>
345
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
346 346
       </el-table-column>
347 347
       <el-table-column align="center" prop="name" label="国家编码">
348
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
348
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
349 349
       </el-table-column>
350 350
 
351 351
 
352 352
       <el-table-column align="center" prop="name" label="记账流水号">
353 353
         <template slot-scope="scope">
354
-          <div>{{scope.row.bkkpSn}}</div>
354
+          <div>{{scope.row.BkkpSn}}</div>
355 355
         </template>
356 356
       </el-table-column>
357 357
 
358 358
       <el-table-column align="center" prop="total" label="批次流水号">
359 359
         <template slot-scope="scope">
360
-          <div>{{scope.row.fixmedinsBchno}}</div>
360
+          <div>{{scope.row.FixmedinsBchno}}</div>
361 361
         </template>
362 362
       </el-table-column>
363 363
 
364 364
       <el-table-column align="center" prop="name" label="药品追溯码">
365 365
         <template slot-scope="scope">
366
-          <div>{{}}</div>
366
+          <div>{{scope.row.DrugTracCodg}}</div>
367 367
         </template>
368 368
       </el-table-column>
369 369
 
370 370
 
371 371
       <el-table-column align="center" prop="name" label="更新时间">
372 372
         <template slot-scope="scope">
373
-          <div>{{scope.row.updtTime}}</div>
373
+          <div>{{scope.row.UpdtTime}}</div>
374 374
         </template>
375 375
       </el-table-column>
376 376
 
377 377
       <el-table-column align="center" prop="total" label="经办人">
378 378
         <template slot-scope="scope">
379
-          <div>{{scope.row.optTime}}</div>
379
+          <div>{{scope.row.OptTime}}</div>
380 380
         </template>
381 381
       </el-table-column>
382 382
       <el-table-column align="center" prop="total" label="记录号">
383 383
         <template slot-scope="scope">
384
-          <div>{{scope.row.rid}}</div>
384
+          <div>{{scope.row.Rid}}</div>
385 385
         </template>
386 386
       </el-table-column>
387 387
 
@@ -398,30 +398,30 @@
398 398
               max-height="600"
399 399
               highlight-current-row>
400 400
       <el-table-column align="center" prop="name" label="药品名称">
401
-        <template slot-scope="scope">{{scope.row.genname}}</template>
401
+        <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
402 402
       </el-table-column>
403 403
       <el-table-column align="center" prop="name" label="国家编码">
404
-        <template slot-scope="scope">{{scope.row.medListCodg}}</template>
404
+        <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
405 405
       </el-table-column>
406 406
       <el-table-column align="center" prop="name" label="库存数量">
407
-        <template slot-scope="scope">{{scope.row.invCnt}}</template>
407
+        <template slot-scope="scope">{{scope.row.InvCnt}}</template>
408 408
       </el-table-column>
409 409
       <el-table-column align="center" prop="name" label="销售价格">
410
-        <template slot-scope="scope">{{scope.row.pric}}</template>
410
+        <template slot-scope="scope">{{scope.row.Pric}}</template>
411 411
       </el-table-column>
412 412
 
413 413
       <el-table-column align="center" prop="name" label="库存日期">
414
-        <template slot-scope="scope">{{scope.row.invdate}}</template>
414
+        <template slot-scope="scope">{{scope.row.Invdate}}</template>
415 415
       </el-table-column>
416 416
 
417 417
       <el-table-column align="center" prop="total" label="批次流水号">
418 418
         <template slot-scope="scope">
419
-          <div>{{scope.row.fixmedinsBchno}}</div>
419
+          <div>{{scope.row.FixmedinsBchno}}</div>
420 420
         </template>
421 421
       </el-table-column>
422 422
       <el-table-column align="center" prop="name" label="更新时间">
423 423
         <template slot-scope="scope">
424
-          <div>{{scope.row.updtTime}}</div>
424
+          <div>{{scope.row.UpdtTime}}</div>
425 425
         </template>
426 426
       </el-table-column>
427 427
 
@@ -443,25 +443,25 @@
443 443
                 max-height="600"
444 444
                 highlight-current-row>
445 445
         <el-table-column align="center" prop="name" label="药品名称">
446
-          <template slot-scope="scope">{{scope.row.genname}}</template>
446
+          <template slot-scope="scope">{{scope.row.MedinsListName}}</template>
447 447
         </el-table-column>
448 448
         <el-table-column align="center" prop="name" label="国家编码">
449
-          <template slot-scope="scope">{{scope.row.med_list_codg}}</template>
449
+          <template slot-scope="scope">{{scope.row.MedListCodg}}</template>
450 450
         </el-table-column>
451 451
         <el-table-column align="center" prop="name" label="库存数量">
452
-          <template slot-scope="scope">{{scope.row.invCnt}}</template>
452
+          <template slot-scope="scope">{{scope.row.InvCnt}}</template>
453 453
         </el-table-column>
454 454
         <el-table-column align="center" prop="name" label="销售价格">
455
-          <template slot-scope="scope">{{scope.row.pric}}</template>
455
+          <template slot-scope="scope">{{scope.row.Pric}}</template>
456 456
         </el-table-column>
457 457
 
458 458
         <el-table-column align="center" prop="name" label="库存变更类型">
459
-          <template slot-scope="scope">{{scope.row.invChgType}}</template>
459
+          <template slot-scope="scope">{{scope.row.InvChgType}}</template>
460 460
         </el-table-column>
461 461
 
462 462
         <el-table-column align="center" prop="total" label="批次流水号">
463 463
           <template slot-scope="scope">
464
-            <div>{{scope.row.fixmedinsBchno}}</div>
464
+            <div>{{scope.row.FixmedinsBchno}}</div>
465 465
           </template>
466 466
         </el-table-column>
467 467
 
@@ -567,7 +567,7 @@ export default {
567 567
     return {
568 568
       start_time: new Date(new Date().getFullYear(), new Date().getMonth(), 1).toLocaleDateString('en-CA'),
569 569
       end_time: new Date(new Date().getFullYear(), new Date().getMonth() + 3, 0).toLocaleDateString('en-CA'),
570
-      tableData: [],
570
+      tableData: [{MedinsListName:"111",MedListCodg:"1111",InvCnt:"1",UpdtTime:"111",ManuDate:"2222",Rid:"222",ValiFlag:"1",FixmedinsBchno:"111",OptTime:"2222"}],
571 571
       tableData_two:[],
572 572
       stock_type:1,
573 573
       drug_id:"",
@@ -622,7 +622,7 @@ export default {
622 622
       };
623 623
 
624 624
 
625
-      axios.get('http://127.0.0.1:9531/test/net',{}).then(function(response) {
625
+      axios.get('http://127.0.0.1:9532/test/net',{}).then(function(response) {
626 626
         if (response.data.state == 0) {
627 627
           that.isloading = false
628 628