Commit 7bec9043 authored by yanglilong's avatar yanglilong

'修改'

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