|
@@ -286,7 +286,7 @@
|
286
|
286
|
</el-table-column>
|
287
|
287
|
<el-table-column label="库存" width="60">
|
288
|
288
|
<template slot-scope="scope">
|
289
|
|
- <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245">
|
|
289
|
+ <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
|
290
|
290
|
<span v-if="scope.row.count/scope.row.min_number>0">{{Math.floor(scope.row.count/scope.row.min_number)}}{{scope.row.max_unit}}</span>
|
291
|
291
|
<span v-if="scope.row.count%scope.row.min_number>0"> {{scope.row.count%scope.row.min_number}}{{scope.row.min_unit}}</span>
|
292
|
292
|
</span>
|
|
@@ -383,7 +383,7 @@
|
383
|
383
|
</el-table-column>
|
384
|
384
|
<el-table-column label="库存" width="40">
|
385
|
385
|
<template slot-scope="scope">
|
386
|
|
- <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245">
|
|
386
|
+ <span v-if="org_id == 9671 || org_id == 9675 || org_id == 4 || org_id == 10138 || org_id == 3877 || org_id == 10028 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9919">
|
387
|
387
|
{{scope.row.stock_count}}
|
388
|
388
|
</span>
|
389
|
389
|
<span v-else> {{ scope.row.total }}</span>
|
|
@@ -2658,7 +2658,7 @@
|
2658
|
2658
|
selectDrugs(selection, row) {
|
2659
|
2659
|
console.log('selection', selection)
|
2660
|
2660
|
console.log('row', row)
|
2661
|
|
- if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245){
|
|
2661
|
+ if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id == 3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9919){
|
2662
|
2662
|
if (row.count <= 0) {
|
2663
|
2663
|
if (selection) {
|
2664
|
2664
|
selection.forEach(row => {
|
|
@@ -2933,7 +2933,7 @@
|
2933
|
2933
|
},
|
2934
|
2934
|
selectChange(selection, row) {
|
2935
|
2935
|
console.log('row', row)
|
2936
|
|
- if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 ){
|
|
2936
|
+ if(this.org_id == 10138 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10028 || this.org_id == 10243 || this.org_id == 10088 || this.org_id ==10245 || this.org_id == 9919 ){
|
2937
|
2937
|
if (row.stock_count <= 0) {
|
2938
|
2938
|
if (row.type == 3) {
|
2939
|
2939
|
if (selection) {
|