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
           <span v-else>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
116
           <span v-else>{{getAutoCount(scope.row.id) + getOutCount(scope.row.id)}} </span>
117
          </template>
117
          </template>
118
        </el-table-column>
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
          <template slot-scope="scope">
121
          <template slot-scope="scope">
128
           <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">
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
             {{getOverFlushInfo(scope.row.xt_warehouse_info)}}
123
             {{getOverFlushInfo(scope.row.xt_warehouse_info)}}
131
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
125
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
132
          </template>
126
          </template>
133
        </el-table-column>
127
        </el-table-column>
134
-
128
+        
129
+    
135
       <el-table-column label="剩余库存量" align="center" v-if="showFour">
130
       <el-table-column label="剩余库存量" align="center" v-if="showFour">
136
          <template slot-scope="scope">
131
          <template slot-scope="scope">
137
           <span>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
132
           <span>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
138
          </template>
133
          </template>
139
        </el-table-column>
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
        <el-table-column label="操作" align="center" width="260px">
143
        <el-table-column label="操作" align="center" width="260px">
141
           <template slot-scope="scope">
144
           <template slot-scope="scope">
142
               <el-button
145
               <el-button
447
           }
450
           }
448
           if(this.end_time !=""){
451
           if(this.end_time !=""){
449
             this.showThree = false
452
             this.showThree = false
453
+            this.showOne = false
450
             this.showTwo = true
454
             this.showTwo = true
451
             console.log("hh3223322323",this.showTwo)
455
             console.log("hh3223322323",this.showTwo)
452
-            this.showOne = false
453
             this.showFour = true
456
             this.showFour = true
454
           }
457
           }
455
           var list = response.data.data.list
458
           var list = response.data.data.list