第一次提交
This commit is contained in:
@@ -167,7 +167,6 @@
|
||||
workstationId: null,
|
||||
workstationCode: null,
|
||||
workstationName: null,
|
||||
routeId: null,
|
||||
processId: this.processId,
|
||||
processCode: null,
|
||||
processName: null,
|
||||
@@ -217,7 +216,6 @@
|
||||
getList() {
|
||||
this.loading = true;
|
||||
listProtask(this.queryParams).then(response => {
|
||||
debugger;
|
||||
this.protaskList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
|
||||
@@ -245,13 +245,10 @@ export default {
|
||||
this.loading = true;
|
||||
listWmstock(this.queryParams).then(response => {
|
||||
if(response.rows){
|
||||
debugger;
|
||||
if(this.warehouseCode != null && this.warehouseCode != undefined && this.warehouseCode.indexOf('VIR') >0 ){
|
||||
this.wmstockList = response.rows;
|
||||
}else {
|
||||
if(this.warehouseCode.indexOf('VIR') == -1){
|
||||
//如果不是查询线边库的物资,则在查询结果中过滤掉线边库的数据
|
||||
this.wmstockList = response.rows.filter((el) =>{
|
||||
return el.warehouseCode.indexOf('VIR') == -1;
|
||||
return el.warehouseCode.indexOf('VIR') == -1;
|
||||
});
|
||||
}
|
||||
this.total = response.total;
|
||||
|
||||
Reference in New Issue
Block a user