|
@@ -264,49 +264,27 @@
|
264
|
264
|
}
|
265
|
265
|
return name;
|
266
|
266
|
},
|
267
|
|
- GetAllGoodType: function() {
|
268
|
|
- GetAllGoodType().then(response => {
|
269
|
|
- if (response.data.state == 0) {
|
270
|
|
- this.$message.error(response.data.msg);
|
271
|
|
- return false;
|
272
|
|
- } else {
|
273
|
|
- for (let i = 0; i < response.data.data.goodType.length; i++) {
|
274
|
|
- this.goodType.push(response.data.data.goodType[i]);
|
275
|
|
- }
|
276
|
|
- }
|
277
|
|
- });
|
278
|
|
- },
|
279
|
|
- GetAllGoodInfo: function() {
|
280
|
|
- GetAllGoodInfo().then(response => {
|
281
|
|
- if (response.data.state == 0) {
|
282
|
|
- this.$message.error(response.data.msg);
|
283
|
|
- return false;
|
284
|
|
- } else {
|
285
|
|
- for (let i = 0; i < response.data.data.goodInfo.length; i++) {
|
286
|
|
- this.goodInfo.push(response.data.data.goodInfo[i]);
|
287
|
|
- }
|
288
|
|
- }
|
289
|
|
- });
|
290
|
|
- },
|
|
267
|
+
|
|
268
|
+
|
291
|
269
|
handleBack: function() {
|
292
|
270
|
this.$router.go(-1);
|
293
|
271
|
},
|
294
|
272
|
handleSizeChange(val) {
|
295
|
273
|
this.limit = val;
|
296
|
|
- this.GetAllStockQuery();
|
|
274
|
+ this.GetAllDrugStockQueryList();
|
297
|
275
|
},
|
298
|
276
|
handleCurrentChange(val) {
|
299
|
277
|
this.page = val;
|
300
|
|
- this.GetAllStockQuery();
|
|
278
|
+ this.GetAllDrugStockQueryList();
|
301
|
279
|
},
|
302
|
280
|
calculate: function(val) {
|
303
|
281
|
return Math.round(parseFloat(val) * 100) / 100;
|
304
|
282
|
},
|
305
|
283
|
startTimeChange: function() {
|
306
|
|
- this.GetAllStockQuery();
|
|
284
|
+ this.GetAllDrugStockQueryList();
|
307
|
285
|
},
|
308
|
286
|
endTimeChange: function() {
|
309
|
|
- this.GetAllStockQuery();
|
|
287
|
+ this.GetAllDrugStockQueryList();
|
310
|
288
|
},
|
311
|
289
|
stockInCount: function(row) {
|
312
|
290
|
let total = 0;
|
|
@@ -341,7 +319,7 @@
|
341
|
319
|
showStockOutDetailDialog: function() {},
|
342
|
320
|
showCancelStockDetailDialog: function() {},
|
343
|
321
|
search: function() {
|
344
|
|
- this.GetAllStockQuery();
|
|
322
|
+ this.GetAllDrugStockQueryList();
|
345
|
323
|
},setting:function() {
|
346
|
324
|
this.$refs.dialog.show()
|
347
|
325
|
}
|