diff --git a/src/views/collect/CollectOrderAllotCardComponents.vue b/src/views/collect/CollectOrderAllotCardComponents.vue
index c547ebcc..c25c441c 100644
--- a/src/views/collect/CollectOrderAllotCardComponents.vue
+++ b/src/views/collect/CollectOrderAllotCardComponents.vue
@@ -125,7 +125,7 @@
@click="onReset"
>重置
- 查询
@@ -421,10 +421,10 @@ import bindWorkDialog from "@/views/collect/bindWorkDialog";
import prescribeOriginPanel from "./PannelOrderBiz";
import CollectOrderAllotDetail from "./CollectOrderAllotDetail";
import {filterWorkOptimize} from "@/api/basic/workPlace/sysWorkplaceManage";
-import { getUserBindWork } from '@/api/basic/collectPoint/userWorkplace'
-import { decideOrder, deleteByOrder, orderPage, orderTop } from '@/api/collect/collectOrder'
+import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
+import {decideOrder, deleteByOrder, orderPage, orderTop} from '@/api/collect/collectOrder'
import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments'
-import { isBlank } from '@/utils/strUtil'
+import {isBlank} from '@/utils/strUtil'
export default {
name: "prescribePanel",
@@ -524,7 +524,7 @@ export default {
getBusType: [],
},
showType: 1,
- routerParam:this.$route.query.routerParam
+ routerParam: this.$route.query.routerParam
}
},
@@ -532,8 +532,8 @@ export default {
addOrder, errOrder, bindWorkDialog, prescribeOriginPanel, CollectOrderAllotDetail
},
methods: {
- changePlace(_this,query) {
- _this.getWorkBindBusTypes(_this,query)
+ changePlace(_this, query) {
+ _this.getWorkBindBusTypes(_this, query)
},
getWorkBindBusTypes(_this, query) {
_this.busQuery.workplaceCode = query
@@ -547,7 +547,7 @@ export default {
label: busType.busName
};
});
- _this.options.getBusType = getWorkPlace
+ _this.options.getBusType = getWorkPlace
if (_this.options.getBusType.length == 1) {
_this.filterQuery.busType = _this.options.getBusType[0].code
} else {
@@ -592,12 +592,12 @@ export default {
// return _this.$message.error("请先绑定工位")
// } 2处理中
let query = {
- workPlaceCode : row.workPlaceCode,
+ workPlaceCode: row.workPlaceCode,
billNo: row.billNo,
tagStatus: 2
}
decideOrder(query).then(res => {
- if (res.code == 20000){
+ if (res.code == 20000) {
//当前工位没有正在处理单据
if (row != null && row.invAlert == 2) {
_this.$confirm("该订单目前工位存量不足,是否继续处理?", "提示", {
@@ -611,19 +611,17 @@ export default {
})
.catch(() => {
});
- }else {
+ } else {
let url = window.location.origin + `/UDI_WMS_NEW#/tagCodeBlank?workplaceId=` + row.workPlaceCode + "&billNo=" + row.billNo + "&busType=" + row.busType
window.open(url, '_blank');
}
- }else {
+ } else {
return _this.$message.error(res.message)
}
})
.catch()
-
-
},
//置顶
orderTop(_this, row) {
@@ -700,9 +698,12 @@ export default {
this.bindWorkPlaceVisible = false;
this.getList();
},
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
+ onSubmit(_this) {
+ debugger
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
},
getList() {
diff --git a/src/views/collect/CollectOrderNew.vue b/src/views/collect/CollectOrderNew.vue
index 911617fd..36b25291 100644
--- a/src/views/collect/CollectOrderNew.vue
+++ b/src/views/collect/CollectOrderNew.vue
@@ -84,28 +84,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
高级查询
@@ -115,7 +115,7 @@
@click="onReset"
>重置
- 查询
@@ -397,7 +397,7 @@ import {
deleteByOrder,
importOrder,
downloadOrder,
- errorHandle,errorHandleSubmit,deleteOriginOrder
+ errorHandle, errorHandleSubmit, deleteOriginOrder
} from "@/api/collect/collectOrder";
import {
orderPage,
@@ -469,7 +469,7 @@ export default {
showSearch: false,
filterQuery: {
// tagStatus: this.tagStatus, //
- tagStatusList: [0,1,2], //
+ tagStatusList: [0, 1, 2], //
billNo: null,
busType: null,
workPlaceCode: null,
@@ -559,19 +559,19 @@ export default {
},
onReset() {
this.filterQuery = {
- tagStatusList: [0,1,2],
+ tagStatusList: [0, 1, 2],
billNo: null,
busType: null,
workPlaceCode: null,
page: 1,
limit: 10,
};
- this.errQuery = {
+ this.errQuery = {
tagStatusList: [4], //
page: 1,
limit: 10,
},
- this.actDateRange = [];
+ this.actDateRange = [];
this.getList();
this.getErrorList(this);
},
@@ -636,10 +636,12 @@ export default {
this.getErrorList(this);
}
,
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
- this.getErrorList(this);
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
+ _this.getErrorList(_this);
}
,
diff --git a/src/views/collect/IoDestroyLog.vue b/src/views/collect/IoDestroyLog.vue
index 9f0338f6..d8c1a5a8 100644
--- a/src/views/collect/IoDestroyLog.vue
+++ b/src/views/collect/IoDestroyLog.vue
@@ -84,7 +84,7 @@
-
+
@@ -115,7 +115,7 @@
@click="onReset"
>重置
- 查询
@@ -907,16 +907,18 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- if (this.actDateRange !== null) {
- this.filterQuery.startTime = this.actDateRange[0];
- this.filterQuery.endTime = this.actDateRange[1];
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ if (_this.actDateRange !== null) {
+ _this.filterQuery.startTime = _this.actDateRange[0];
+ _this.filterQuery.endTime = _this.actDateRange[1];
} else {
- this.filterQuery.startTime = null;
- this.filterQuery.endTime = null;
+ _this.filterQuery.startTime = null;
+ _this.filterQuery.endTime = null;
}
- this.filterQuery.page = 1;
- this.getList();
+ _this.filterQuery.page = 1;
+ _this.getList();
},
hideSearch() {
this.showSearch = !this.showSearch;
diff --git a/src/views/collect/IoDestroyOrder.vue b/src/views/collect/IoDestroyOrder.vue
index 41f48a35..244618c9 100644
--- a/src/views/collect/IoDestroyOrder.vue
+++ b/src/views/collect/IoDestroyOrder.vue
@@ -82,7 +82,7 @@
-
+
@@ -113,7 +113,7 @@
@click="onReset"
>重置
- 查询
@@ -409,16 +409,18 @@ export default {
this.actDateRange = [];
// this.getList();
},
- onSubmit() {
- if (this.actDateRange !== null) {
- this.filterQuery.startTime = this.actDateRange[0];
- this.filterQuery.endTime = this.actDateRange[1];
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ if (_this.actDateRange !== null) {
+ _this.filterQuery.startTime = _this.actDateRange[0];
+ _this.filterQuery.endTime = _this.actDateRange[1];
} else {
- this.filterQuery.startTime = null;
- this.filterQuery.endTime = null;
+ _this.filterQuery.startTime = null;
+ _this.filterQuery.endTime = null;
}
- this.filterQuery.page = 1;
- this.getList();
+ _this.filterQuery.page = 1;
+ _this.getList();
},
getList() {
getSplitCode(this.filterQuery).then(res => {
diff --git a/src/views/collect/IoSplitFifoCodePanel.vue b/src/views/collect/IoSplitFifoCodePanel.vue
index 15facff2..eb4595ba 100644
--- a/src/views/collect/IoSplitFifoCodePanel.vue
+++ b/src/views/collect/IoSplitFifoCodePanel.vue
@@ -36,11 +36,11 @@
class="query-form-item"
:label="item.columnDesc+`:`" :key="item.id">
@@ -62,19 +62,19 @@
class="query-form-item"
:label="item.columnDesc+`:`">
+ v-model="filterQuery[item.columnName]"
+ :placeholder="item.columnDesc"
+ @change="executeFuc($event,'5',item.checkRules)"
+ :disabled="executeEval(null,item.disabledFuc,false)"
+ filterable
+ remote
+ :remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
+ clearable>
@@ -82,26 +82,26 @@
class="query-form-item"
:label="item.columnDesc+`:`">
@@ -134,12 +134,12 @@
高级查询
重置
- 查询
@@ -154,36 +154,36 @@
@sort-change="handleSortChange">
+ v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
+ type="index" :label="item.columnDesc">
{{
@@ -192,17 +192,17 @@
+ :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
{{
item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
}}
@@ -210,12 +210,12 @@
{{
@@ -248,11 +248,11 @@
@@ -265,11 +265,11 @@
+ v-model="resultQuery[item.columnName]"
+ :placeholder="item.columnDesc"
+ @change="executeFuc($event,'5',item.checkRules)"
+ :disabled="executeEval(null,item.disabledFuc,false)"
+ filterable
+ remote
+ :remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
+ clearable>
@@ -334,9 +334,9 @@
重置
+ v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
+ type="index" :label="item.columnDesc">
{{
@@ -391,17 +391,17 @@
+ :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
{{
item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
}}
@@ -409,12 +409,12 @@
{{
@@ -447,11 +447,11 @@
@@ -463,11 +463,11 @@
+ v-model="codeQuery[item.columnName]"
+ :placeholder="item.columnDesc"
+ @change="executeFuc($event,'5',item.checkRules)"
+ :disabled="executeEval(null,item.disabledFuc,false)"
+ filterable
+ remote
+ :remote-method="(query) => executeFuc(query,'5',item.clickFuc)"
+ clearable>
@@ -532,9 +532,9 @@
重置
+ v-if="item.columnType == 'id' && executeEval(row,item.expression,true)"
+ type="index" :label="item.columnDesc">
{{
@@ -589,17 +589,17 @@
+ :type="executeFuc(scope.row,'4',item,item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName])">
{{
item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
}}
@@ -607,12 +607,12 @@
{{
@@ -645,41 +645,41 @@
@@ -837,12 +837,12 @@ export default {
///界面配置相关------------end
getInvList(_this) {
getInvListByUserOptimize()
- .then((response) => {
- _this.options.getInvList = response.data || [];
- _this.getList();
- })
- .catch(() => {
- });
+ .then((response) => {
+ _this.options.getInvList = response.data || [];
+ _this.getList();
+ })
+ .catch(() => {
+ });
},
hideSearch() {
@@ -860,9 +860,11 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
},
getList() {
@@ -929,11 +931,11 @@ export default {
this.apartTotal = res.data.total || 0
}
})
- .catch(() => {
- // this.loading = false
- this.apartDetailList = []
- this.apartTotal = res.data.total || 0
- })
+ .catch(() => {
+ // this.loading = false
+ this.apartDetailList = []
+ this.apartTotal = res.data.total || 0
+ })
},
onCodeResultSubmit() {
this.codeQuery = {
@@ -978,18 +980,18 @@ export default {
limit: 10,
}
filterWorkOptimize(query)
- .then((response) => {
- _this.loading = false;
- _this.options.findWorkPlace = response.data || [];
- if (_this.options.findWorkPlace.length == 1) {
- _this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code;
- _this.getWorkBindBusTypes(_this, _this.filterQuery.workPlaceCode)
- }
- })
- .catch(() => {
- _this.loading = false;
- _this.options.findWorkPlace = [];
- });
+ .then((response) => {
+ _this.loading = false;
+ _this.options.findWorkPlace = response.data || [];
+ if (_this.options.findWorkPlace.length == 1) {
+ _this.filterQuery.workPlaceCode = _this.options.findWorkPlace[0].code;
+ _this.getWorkBindBusTypes(_this, _this.filterQuery.workPlaceCode)
+ }
+ })
+ .catch(() => {
+ _this.loading = false;
+ _this.options.findWorkPlace = [];
+ });
},
invRemindSet(_this, row) {
diff --git a/src/views/collect/IoSplitFifoRemind.vue b/src/views/collect/IoSplitFifoRemind.vue
index 498cffa5..04ff3119 100644
--- a/src/views/collect/IoSplitFifoRemind.vue
+++ b/src/views/collect/IoSplitFifoRemind.vue
@@ -83,7 +83,7 @@
-
+
@@ -114,7 +114,7 @@
@click="onReset"
>重置
- 查询
@@ -384,9 +384,11 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
},
getList() {
diff --git a/src/views/collect/IoSplitFinishCode.vue b/src/views/collect/IoSplitFinishCode.vue
index 8d673d3e..dcd18dc8 100644
--- a/src/views/collect/IoSplitFinishCode.vue
+++ b/src/views/collect/IoSplitFinishCode.vue
@@ -113,7 +113,7 @@
@click="onReset"
>重置
- 查询
@@ -939,16 +939,18 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- if (this.actDateRange !== null) {
- this.filterQuery.startTime = this.actDateRange[0];
- this.filterQuery.endTime = this.actDateRange[1];
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ if (_this.actDateRange !== null) {
+ _this.filterQuery.startTime = _this.actDateRange[0];
+ _this.filterQuery.endTime = _this.actDateRange[1];
} else {
- this.filterQuery.startTime = null;
- this.filterQuery.endTime = null;
+ _this.filterQuery.startTime = null;
+ _this.filterQuery.endTime = null;
}
- this.filterQuery.page = 1;
- this.getList();
+ _this.filterQuery.page = 1;
+ _this.getList();
},
hideSearch() {
this.showSearch = !this.showSearch;
diff --git a/src/views/collect/IoSplitOperateCode.vue b/src/views/collect/IoSplitOperateCode.vue
index 663b0a52..f4310178 100644
--- a/src/views/collect/IoSplitOperateCode.vue
+++ b/src/views/collect/IoSplitOperateCode.vue
@@ -119,7 +119,7 @@
@click="onReset"
>重置
- 查询
@@ -956,16 +956,18 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- if (this.actDateRange !== null) {
- this.filterQuery.startTime = this.actDateRange[0];
- this.filterQuery.endTime = this.actDateRange[1];
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ if (_this.actDateRange !== null) {
+ _this.filterQuery.startTime = _this.actDateRange[0];
+ _this.filterQuery.endTime = _this.actDateRange[1];
} else {
- this.filterQuery.startTime = null;
- this.filterQuery.endTime = null;
+ _this.filterQuery.startTime = null;
+ _this.filterQuery.endTime = null;
}
- this.filterQuery.page = 1;
- this.getList();
+ _this.filterQuery.page = 1;
+ _this.getList();
},
hideSearch() {
this.showSearch = !this.showSearch;
diff --git a/src/views/collect/PanelOrderDeal.vue b/src/views/collect/PanelOrderDeal.vue
index 419ff039..f3864c6b 100644
--- a/src/views/collect/PanelOrderDeal.vue
+++ b/src/views/collect/PanelOrderDeal.vue
@@ -112,7 +112,7 @@
@click="onReset"
>重置
- 查询
@@ -430,7 +430,13 @@ export default {
});
},
onReset() {
- this.filterQuery = {};
+ this.filterQuery = {
+ busType: null,
+ billNo: null,
+ tagStatusList: [-1, 2],
+ page: 1,
+ limit: 10,
+ };
this.actDateRange = [];
this.getList();
},
@@ -450,9 +456,11 @@ export default {
this.bindWorkPlaceVisible = false;
this.getList();
},
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
},
getList() {
diff --git a/src/views/collect/PanelOrderEndSearch.vue b/src/views/collect/PanelOrderEndSearch.vue
index b667a00d..862a8df4 100644
--- a/src/views/collect/PanelOrderEndSearch.vue
+++ b/src/views/collect/PanelOrderEndSearch.vue
@@ -120,7 +120,7 @@
@click="onReset"
>重置
- 查询
@@ -426,13 +426,22 @@ export default {
});
},
onReset() {
- this.filterQuery = {}
+ this.filterQuery = {
+ busType: null,
+ tagStatus: 3,
+ billNo: null,
+ workPlaceCode: null,
+ page: 1,
+ limit: 10
+ }
this.actDateRange = []
this.getList()
},
- onSubmit() {
- this.filterQuery.page = 1
- this.getList()
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1
+ _this.getList()
},
getList() {
diff --git a/src/views/collect/PanelOrderUpload.vue b/src/views/collect/PanelOrderUpload.vue
index 7640e2c4..e7870873 100644
--- a/src/views/collect/PanelOrderUpload.vue
+++ b/src/views/collect/PanelOrderUpload.vue
@@ -119,7 +119,7 @@
@click="onReset"
>重置
- 查询
@@ -439,13 +439,22 @@ export default {
});
},
onReset() {
- this.filterQuery = {}
+ this.filterQuery = {
+ busType: null,
+ tagStatus: null,
+ billNo: null,
+ workPlaceCode: null,
+ page: 1,
+ limit: 10
+ }
this.actDateRange = []
this.getList()
},
- onSubmit() {
- this.filterQuery.page = 1
- this.getList()
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1
+ _this.getList()
},
getList() {
diff --git a/src/views/collect/chooseDraftOrderDialog.vue b/src/views/collect/chooseDraftOrderDialog.vue
index 3c762822..8fa5f973 100644
--- a/src/views/collect/chooseDraftOrderDialog.vue
+++ b/src/views/collect/chooseDraftOrderDialog.vue
@@ -113,7 +113,7 @@
@click="onReset"
>重置
- 查询
@@ -913,16 +913,18 @@ export default {
this.actDateRange = [];
this.getList();
},
- onSubmit() {
- if (this.actDateRange !== null) {
- this.filterQuery.startTime = this.actDateRange[0];
- this.filterQuery.endTime = this.actDateRange[1];
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ if (_this.actDateRange !== null) {
+ _this.filterQuery.startTime = _this.actDateRange[0];
+ _this.filterQuery.endTime = _this.actDateRange[1];
} else {
- this.filterQuery.startTime = null;
- this.filterQuery.endTime = null;
+ _this.filterQuery.startTime = null;
+ _this.filterQuery.endTime = null;
}
- this.filterQuery.page = 1;
- this.getList();
+ _this.filterQuery.page = 1;
+ _this.getList();
},
hideSearch() {
this.showSearch = !this.showSearch;
diff --git a/src/views/collect/selectCollectOrderDialog.vue b/src/views/collect/selectCollectOrderDialog.vue
index ef9666b0..6415d0ad 100644
--- a/src/views/collect/selectCollectOrderDialog.vue
+++ b/src/views/collect/selectCollectOrderDialog.vue
@@ -112,7 +112,7 @@
@click="onReset"
>重置
- 查询
@@ -615,11 +615,13 @@ export default {
closeDialog() {
this.getList();
},
- onSubmit() {
- this.filterQuery.page = 1;
- this.getList();
- this.getDraftList();
- this.getOtherList();
+ onSubmit(_this) {
+ if (_this == null)
+ _this = this
+ _this.filterQuery.page = 1;
+ _this.getList();
+ _this.getDraftList();
+ _this.getOtherList();
},