소스 검색

新分支

28169 11 달 전
부모
커밋
50b9a4de71
3개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      src/xt_pages/role/admin.vue
  2. 2 1
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  3. 1 1
      src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue

+ 2 - 2
src/xt_pages/role/admin.vue 파일 보기

@@ -227,12 +227,12 @@
227 227
           @click="toAutoDrug">自动生成</el-button> -->
228 228
 
229 229
 
230
-         <!-- <el-button
230
+         <el-button
231 231
           type="primary"
232 232
           size="small"
233 233
           icon="el-icon-circle-plus-outline"
234 234
           style="float:left"
235
-          @click="toAutoDiagnose">自动脚本</el-button> -->
235
+          @click="toAutoDiagnose">自动脚本</el-button>
236 236
 
237 237
         <!-- <el-button
238 238
           type="primary"

+ 2 - 1
src/xt_pages/stock/query/purchaseNewStockQuery.vue 파일 보기

@@ -265,7 +265,7 @@ export default {
265 265
             this.loading = false
266 266
             for(let i=0;i<list.length;i++){
267 267
                
268
-              if(this.org_id ==10210 || this.org_id ==10215){
268
+              if(this.org_id ==10210 || this.org_id ==10215 || this.org_id == 10265){
269 269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270 270
               }else{
271 271
                
@@ -278,6 +278,7 @@ export default {
278 278
                   list[i].stockIn = list[i].GoodStartFlowInfo.over_count
279 279
                 }else{
280 280
                   list[i].stockIn = this.getAllStockIn(list[i].StWarehousingInfoTwo) + this.getAllStockInFlow(list[i].WareStartInStockFlow) - this.getAllOutStockIn(list[i].WarehouseOutInfoTenty) - this.getAllStockOutFlow(list[i].WareStartOutStockFlow)
281
+                  console.log("剩余库存---------------",list[i].stockIn)
281 282
                   if(list[i].stockIn <0){
282 283
                     list[i].stockIn =0
283 284
                   }

+ 1 - 1
src/xt_pages/stock/query/purchaseNewStockQueryPrint.vue 파일 보기

@@ -169,7 +169,7 @@ export default {
169 169
                 for(let i=0;i<list.length;i++){
170 170
                     // list[i].stockIn = list[i].GoodStartFlowInfo.over_count
171 171
 
172
-                    if(this.org_id == 0 || this.org_id ==10210){
172
+                    if(this.org_id == 0 || this.org_id ==10210 || this.org_id == 10265){
173 173
                        list[i].stockIn = list[i].GoodStartFlowInfo.over_count
174 174
                     }else{
175 175
                       if(list[i].id== 5052){