|
@@ -1336,6 +1336,7 @@ export default {
|
1336
|
1336
|
|
1337
|
1337
|
this.outList = drugoutlist
|
1338
|
1338
|
this.drugOutInfo = drugoutlist
|
|
1339
|
+
|
1339
|
1340
|
if (is_sys == 1) {
|
1340
|
1341
|
if (drugFlowList.length > 0) {
|
1341
|
1342
|
for (let i = 0; i < drugFlowList.length; i++) {
|
|
@@ -1362,9 +1363,12 @@ export default {
|
1362
|
1363
|
this.drugFlowList = drugFlowList;
|
1363
|
1364
|
}
|
1364
|
1365
|
|
|
1366
|
+
|
|
1367
|
+
|
1365
|
1368
|
if (is_sys == 0 || is_sys == 12 || is_sys == 5) {
|
1366
|
1369
|
//出库详情
|
1367
|
1370
|
var flowlist = response.data.data.flowlist;
|
|
1371
|
+ console.log("flowList========================",flowlist)
|
1368
|
1372
|
this.drugFlowList = [];
|
1369
|
1373
|
for (let i = 0; i < flowlist.length; i++) {
|
1370
|
1374
|
flowlist[i].childOne = []
|
|
@@ -1429,6 +1433,9 @@ export default {
|
1429
|
1433
|
|
1430
|
1434
|
this.tableList = list;
|
1431
|
1435
|
}
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
|
1432
|
1439
|
if(is_sys == 12){
|
1433
|
1440
|
|
1434
|
1441
|
for(let i=0;i<list.length;i++){
|
|
@@ -1449,14 +1456,20 @@ export default {
|
1449
|
1456
|
this.tableList = list;
|
1450
|
1457
|
}
|
1451
|
1458
|
|
|
1459
|
+
|
|
1460
|
+
|
1452
|
1461
|
if(is_sys == 0){
|
1453
|
1462
|
console.log("list999992332232323",list)
|
1454
|
1463
|
for(let i=0;i<list.length;i++){
|
1455
|
1464
|
for(let j=0;j<list[i].childOne.length;j++){
|
1456
|
|
- console.log("hhhahhawiiw",this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].warehouse_info_id))
|
1457
|
|
- list[i].childOne[j].over_count_total = this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].warehouse_info_id)
|
|
1465
|
+ console.log("hhhahhawiiw",this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].warehousing_detail_id))
|
|
1466
|
+ list[i].childOne[j].over_count_total = this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].childOne[j].warehousing_detail_id)
|
|
1467
|
+
|
1458
|
1468
|
}
|
|
1469
|
+
|
1459
|
1470
|
}
|
|
1471
|
+ console.log("中国list=====================",list)
|
|
1472
|
+
|
1460
|
1473
|
|
1461
|
1474
|
for(let i=0;i<list.length;i++){
|
1462
|
1475
|
for(let j=0;j<list[i].childOne.length;j++){
|
|
@@ -1468,7 +1481,7 @@ export default {
|
1468
|
1481
|
this.tableList = list;
|
1469
|
1482
|
}
|
1470
|
1483
|
|
1471
|
|
- console.log("tableLIST==================",this.tableList)
|
|
1484
|
+ console.log("hhahhahwotableLIST==================",this.tableList)
|
1472
|
1485
|
|
1473
|
1486
|
}
|
1474
|
1487
|
});
|
|
@@ -2038,9 +2051,7 @@ export default {
|
2038
|
2051
|
return max_str + min_str;
|
2039
|
2052
|
},
|
2040
|
2053
|
getOutCountOne(batch_number,max_unit,min_unit,min_number,drug_id,warehousing_detail_id){
|
2041
|
|
-
|
2042
|
|
- console.log("warehousing_detail_id",warehousing_detail_id)
|
2043
|
|
- console.log("tabList-----------------",this.tabList)
|
|
2054
|
+
|
2044
|
2055
|
var arr = []
|
2045
|
2056
|
var total = 0
|
2046
|
2057
|
var max_str = ""
|
|
@@ -2145,7 +2156,7 @@ export default {
|
2145
|
2156
|
}
|
2146
|
2157
|
total = this.getOutCountFive(warehouse_info_id,max_unit,min_unit,min_number,drug_id)
|
2147
|
2158
|
|
2148
|
|
- console.log("taolaa------",total,drug_id)
|
|
2159
|
+
|
2149
|
2160
|
if(arr.length > 0){
|
2150
|
2161
|
for(let i=0;i<arr.length;i++){
|
2151
|
2162
|
price = arr[0].price
|