Commit 7bec9043 authored by yanglilong's avatar yanglilong

'修改'

parent 9556345d
...@@ -227,11 +227,15 @@ export default { ...@@ -227,11 +227,15 @@ export default {
// 获取列表数据 // 获取列表数据
getData() { getData() {
this.selectedRowKeys = []; this.selectedRowKeys = [];
this.$apis.QUERYCIRECEIPSENDLIST({ let filter = {
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize, pageSize: this.pagination.pageSize,
...this.form ...this.form,
}).then((res) => { sendDate: this.form.sendDate?moment(this.form.sendDate).format('YYYY-MM-DD 00:00:00'):''
}
delete filter.dateRange;
this.$apis.QUERYCIRECEIPSENDLIST(filter)
.then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
let content = res.content || {}; let content = res.content || {};
this.pagination.total = content.total || 0; this.pagination.total = content.total || 0;
...@@ -366,7 +370,8 @@ export default { ...@@ -366,7 +370,8 @@ export default {
this.$apis.SAVERECEIPSENDINFO(formData) this.$apis.SAVERECEIPSENDINFO(formData)
.then((res) => { .then((res) => {
if (res.returnCode == "0000") { if (res.returnCode == "0000") {
this.$message.success("编辑成功"); this.$message.success("新建成功");
this.handlerReset();
this.getData(); this.getData();
} else { } else {
this.$message.error(res.returnMsg); this.$message.error(res.returnMsg);
......
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