商品订单 重置

This commit is contained in:
shidongli 2022-11-07 13:39:08 +08:00
parent a68169cfa7
commit 72feab4f9d

View File

@ -806,6 +806,20 @@ refundcancel() {
},
//
reset() {
this.queryParams={
pageNum: 1,
pageSize: 10,
nurseStationId: null,
patientId: null,
orderNo: null,
orderStatus: null,
totalPrice: null,
receiver: null,
receiveAddress: null,
phone: null,
orderTime: null,
orderChannel: null,
}
this.form = {
id: null,
nurseStationId: null,
@ -825,7 +839,7 @@ reset() {
updateTime: null,
orderStatus: "",
};
this.resetForm("form");
this.resetForm("queryParams");
},
/** 搜索按钮操作 */
handleQuery() {
@ -834,11 +848,11 @@ handleQuery() {
},
/** 重置按钮操作 */
resetQuery() {
this.reset();
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)