Commit 291183af authored by tanjunxin's avatar tanjunxin

fix: 解决刀模版上下机搜索问题

parent a0e798f0
......@@ -268,8 +268,6 @@ export default {
/** 查询刀模版上下机记录列表 */
getList() {
this.loading = true;
const params = Object.assign({}, this.queryParams)
delete params.type
this.queryParams.params = {};
if (null != this.daterangePurchaseDate && '' != this.daterangePurchaseDate) {
this.queryParams.params["beginPurchaseDate"] = this.daterangePurchaseDate[0];
......@@ -279,6 +277,8 @@ export default {
this.queryParams.params["beginPurchaseDate2"] = this.daterangePurchaseDate2[0];
this.queryParams.params["endPurchaseDate2"] = this.daterangePurchaseDate2[1];
}
const params = Object.assign({}, this.queryParams)
delete params.type
listRecord(params).then(response => {
this.recordList = response.rows;
this.total = response.total;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment