Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
6398459961
1 changed files with 13 additions and 10 deletions
  1. 13 10
      src/xt_pages/stock/stockQuery.vue

+ 13 - 10
src/xt_pages/stock/stockQuery.vue View File

@@ -116,14 +116,8 @@
116 116
           <span v-else>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
117 117
          </template>
118 118
        </el-table-column>
119
-
120
-       <el-table-column label="出库数量" align="center" v-if="showTwo">
121
-         <template slot-scope="scope">
122
-          <span>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
123
-         </template>
124
-       </el-table-column>
125
-
126
-       <el-table-column label="剩余库存量" align="center" v-if="showThree">
119
+      
120
+        <el-table-column label="剩余库存量" align="center" v-if="showThree">
127 121
          <template slot-scope="scope">
128 122
           <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088 || org_id == 10191 || org_id == 9919">
129 123
             {{getOverFlushInfo(scope.row.xt_warehouse_info)}}
@@ -131,12 +125,21 @@
131 125
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
132 126
          </template>
133 127
        </el-table-column>
134
-
128
+        
129
+    
135 130
       <el-table-column label="剩余库存量" align="center" v-if="showFour">
136 131
          <template slot-scope="scope">
137 132
           <span>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
138 133
          </template>
139 134
        </el-table-column>
135
+
136
+       <el-table-column label="出库数量" align="center" v-if="showTwo">
137
+         <template slot-scope="scope">
138
+          <span>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
139
+         </template>
140
+       </el-table-column>
141
+
142
+
140 143
        <el-table-column label="操作" align="center" width="260px">
141 144
           <template slot-scope="scope">
142 145
               <el-button
@@ -447,9 +450,9 @@ export default {
447 450
           }
448 451
           if(this.end_time !=""){
449 452
             this.showThree = false
453
+            this.showOne = false
450 454
             this.showTwo = true
451 455
             console.log("hh3223322323",this.showTwo)
452
-            this.showOne = false
453 456
             this.showFour = true
454 457
           }
455 458
           var list = response.data.data.list