|
|
@@ -113,26 +113,26 @@
|
|
|
align="center"
|
|
|
width="300"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button size="mini" @click="handleTableEdit(scope.row)"
|
|
|
+ <template slot-scope="scopes">
|
|
|
+ <el-button size="mini" @click="childEdit(scopes.row)"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="danger"
|
|
|
- @click="handleTableDelete(scope.row)"
|
|
|
+ @click="cardDelete(scopes.row)"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="danger"
|
|
|
- @click="handleTableExpend(scope.row)"
|
|
|
+ @click="handleTableExpend(scopes.row)"
|
|
|
>支出</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="danger"
|
|
|
- @click="handleTableIncome(scope.row)"
|
|
|
+ @click="handleTableIncome(scope.row,scopes.row)"
|
|
|
>收入</el-button
|
|
|
>
|
|
|
</template>
|
|
|
@@ -224,7 +224,7 @@
|
|
|
<expense-component
|
|
|
ref="expenseComponent"
|
|
|
:type="type"
|
|
|
- :formData="type==1?accountFormData:accountCardFormData"
|
|
|
+ :formData="type == 1 ? accountFormData : accountCardFormData"
|
|
|
:formDataId="formDataId"
|
|
|
:title="title"
|
|
|
:dialogFormVisible="dialogFormVisible"
|
|
|
@@ -413,7 +413,7 @@ export default {
|
|
|
],
|
|
|
remark: [{ required: true, message: "请选择备注", trigger: "change" }],
|
|
|
},
|
|
|
- enterAccountId: "", //点击收入按钮当条数据收入id
|
|
|
+ enterCardId: "", //点击收入按钮当条数据收入id
|
|
|
/**
|
|
|
* 账户模块
|
|
|
*/
|
|
|
@@ -670,6 +670,7 @@ export default {
|
|
|
// invoicingAmountExcess:0,//剩余开票额度
|
|
|
juridicalPerson: "", //法人
|
|
|
owned: "", //所属地
|
|
|
+ biller: "", //开票员
|
|
|
},
|
|
|
//账户卡信息form
|
|
|
accountCardFormData: {
|
|
|
@@ -678,27 +679,28 @@ export default {
|
|
|
bank: "", //开户行
|
|
|
bankName: "", //开户行名称
|
|
|
bankNum: "", //开户行号
|
|
|
+ balance: "", //余额
|
|
|
certExpirationDate: "", //证书有效期
|
|
|
- clearingProfit: "", //结算卡
|
|
|
- dayStrokeNum: "", //单日转账笔数限制
|
|
|
- dayStrokeNumExcess: "", //单日转账笔数剩余
|
|
|
- exteriorProfit: "", //外部过账金额
|
|
|
- fiscalProfit: "", // 财务公司利润
|
|
|
- insuranceProfit: "", //保险公司回款
|
|
|
- otherProfit: "", //其他利润
|
|
|
- parkProfit: "", //园区利润
|
|
|
- priDayLines: "", //对私单日限额
|
|
|
- priDayLinesExcess: "", //对私单日限额剩余
|
|
|
- priSingleLines: "", //对私单笔限额
|
|
|
- priYearExcess: "", //对私年剩余额度
|
|
|
- priYearLines: "", //对私年额度
|
|
|
- pubDayLines: "", //对公单日限额
|
|
|
- pubDayLinesExcess: "", //对公单日限额剩余
|
|
|
- pubSingleLines: "", //对公单笔限额
|
|
|
- pubYearExcess: "", //对公年剩余额度
|
|
|
- pubYearLines: "", //对公年额度
|
|
|
- spend: "", //支出金额
|
|
|
- tianqinProfit: "", //天勤利润
|
|
|
+ clearingProfit: 0, //结算卡
|
|
|
+ dayStrokeNum: 0, //单日转账笔数限制
|
|
|
+ dayStrokeNumExcess: 0, //单日转账笔数剩余
|
|
|
+ exteriorProfit: 0, //外部过账金额
|
|
|
+ fiscalProfit: 0, // 财务公司利润
|
|
|
+ insuranceProfit: 0, //保险公司回款
|
|
|
+ otherProfit: 0, //其他利润
|
|
|
+ parkProfit: 0, //园区利润
|
|
|
+ priDayLines: 0, //对私单日限额
|
|
|
+ priDayLinesExcess: 0, //对私单日限额剩余
|
|
|
+ priSingleLines: 0, //对私单笔限额
|
|
|
+ priYearExcess: 0, //对私年剩余额度
|
|
|
+ priYearLines: 0, //对私年额度
|
|
|
+ pubDayLines: 0, //对公单日限额
|
|
|
+ pubDayLinesExcess: 0, //对公单日限额剩余
|
|
|
+ pubSingleLines: 0, //对公单笔限额
|
|
|
+ pubYearExcess: 0, //对公年剩余额度
|
|
|
+ pubYearLines: 0, //对公年额度
|
|
|
+ spend: 0, //支出金额
|
|
|
+ tianqinProfit: 0, //天勤利润
|
|
|
},
|
|
|
/**
|
|
|
* 支出模块
|
|
|
@@ -742,7 +744,7 @@ export default {
|
|
|
pageSize: 10,
|
|
|
},
|
|
|
expendDialogVisible: false, //支出弹出框状态
|
|
|
- expendOutAccountId: "", //点击支出按钮当条数据支出id
|
|
|
+ outCardNum: "", //点击支出按钮当条数据支出id
|
|
|
companyItem: {}, //选择单位整条数据
|
|
|
typeName: "card", //账户信息 跟 卡信息
|
|
|
};
|
|
|
@@ -750,13 +752,13 @@ export default {
|
|
|
watch: {
|
|
|
expendDialogVisible(n) {
|
|
|
if (n == false) {
|
|
|
- this.expendOutAccountId = "";
|
|
|
+ this.outCardNum = "";
|
|
|
}
|
|
|
},
|
|
|
//收入去除form表单信息
|
|
|
incomeDialogVisible(n) {
|
|
|
if (n == false) {
|
|
|
- this.enterAccountId = "";
|
|
|
+ this.enterCardId = "";
|
|
|
this.$refs.inComeFormData.clearValidate();
|
|
|
this.inComeFormData = {
|
|
|
//收入form数据
|
|
|
@@ -790,21 +792,29 @@ export default {
|
|
|
//获取所有外部账户信息
|
|
|
getAllUser() {
|
|
|
this.$api.expense.getAccountByAccountName().then((res) => {
|
|
|
+ console.log(res);
|
|
|
if (res.code == 200) {
|
|
|
+ let arr = [];
|
|
|
let outArr = res.data.filter((item) => item.outerFlag == 1);
|
|
|
+ console.log(outArr);
|
|
|
outArr.forEach((item, index) => {
|
|
|
- item.name =
|
|
|
- (item.accountQuality == 0 ? "公户" : "私户") +
|
|
|
- " " +
|
|
|
- item.accountName +
|
|
|
- " " +
|
|
|
- item.bankCardNum +
|
|
|
- " " +
|
|
|
- item.bank;
|
|
|
- item.nameValue =
|
|
|
- item.accountName + " " + item.bankCardNum + " " + item.bank;
|
|
|
+ item.invAccountCardList.forEach((it) => {
|
|
|
+ it.name =
|
|
|
+ (item.outerFlag == 0 ? "内部用户" : "外部用户") +
|
|
|
+ " " +
|
|
|
+ (it.accountQuality == 0 ? "公户" : "私户") +
|
|
|
+ " " +
|
|
|
+ item.accountName +
|
|
|
+ " " +
|
|
|
+ it.bankCardNum +
|
|
|
+ " " +
|
|
|
+ it.bank;
|
|
|
+ it.nameValue =
|
|
|
+ item.accountName + " " + it.bankCardNum + " " + it.bank;
|
|
|
+ });
|
|
|
+ arr.push(...item.invAccountCardList)
|
|
|
});
|
|
|
- this.collectionData = outArr;
|
|
|
+ this.collectionData = arr;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -815,6 +825,7 @@ export default {
|
|
|
},
|
|
|
//选择账户类别
|
|
|
outChange(e) {
|
|
|
+ return
|
|
|
if (e == 1) {
|
|
|
this.formData = {
|
|
|
outerFlag: e, //账户类别
|
|
|
@@ -833,29 +844,29 @@ export default {
|
|
|
bankName: "", //开户行名称
|
|
|
bankNum: "", //开户行号
|
|
|
certExpirationDate: "", //证书有效期
|
|
|
- clearingProfit: "", //结算卡
|
|
|
- dayStrokeNum: "", //单日转账笔数限制
|
|
|
- exteriorProfit: "", //外部过账金额
|
|
|
- fiscalProfit: "", //财税公司利润
|
|
|
- insuranceProfit: "", //保险公司回款
|
|
|
- otherProfit: "", //其他利润
|
|
|
- parkProfit: "", //园区利润
|
|
|
- priDayLines: "", //对私单日限额
|
|
|
- priSingleLines: "", //对私单笔限额
|
|
|
- priYearExcess: "", //对私年剩余额度
|
|
|
- priYearLines: "", //对私年额度
|
|
|
- pubDayLines: "", //对公单日限额
|
|
|
- pubSingleLines: "", //对公单笔限额
|
|
|
- pubYearExcess: "", //对公年剩余额度
|
|
|
- pubYearLines: "", //对公年额度
|
|
|
- tianqinProfit: "", //天勤利润
|
|
|
+ clearingProfit: 0, //结算卡
|
|
|
+ dayStrokeNum: 0, //单日转账笔数限制
|
|
|
+ exteriorProfit: 0, //外部过账金额
|
|
|
+ fiscalProfit: 0, //财税公司利润
|
|
|
+ insuranceProfit: 0, //保险公司回款
|
|
|
+ otherProfit: 0, //其他利润
|
|
|
+ parkProfit: 0, //园区利润
|
|
|
+ priDayLines: 0, //对私单日限额
|
|
|
+ priSingleLines: 0, //对私单笔限额
|
|
|
+ priYearExcess: 0, //对私年剩余额度
|
|
|
+ priYearLines: 0, //对私年额度
|
|
|
+ pubDayLines: 0, //对公单日限额
|
|
|
+ pubSingleLines: 0, //对公单笔限额
|
|
|
+ pubYearExcess: 0, //对公年剩余额度
|
|
|
+ pubYearLines: 0, //对公年额度
|
|
|
+ tianqinProfit: 0, //天勤利润
|
|
|
};
|
|
|
}
|
|
|
},
|
|
|
//点击确认收入事件
|
|
|
submitIncomeForm() {
|
|
|
let obj = JSON.parse(JSON.stringify(this.inComeFormData));
|
|
|
- obj.enterAccountId = this.enterAccountId;
|
|
|
+ obj.enterCardId = this.enterCardId;
|
|
|
obj.fundFlow = obj.company + "→" + obj.collectionMessage;
|
|
|
this.$refs.inComeFormData.validate((valid) => {
|
|
|
if (valid) {
|
|
|
@@ -873,25 +884,27 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
//点击页面收入按钮
|
|
|
- handleTableIncome(e) {
|
|
|
- if (e.row.outerFlag == 1) {
|
|
|
+ handleTableIncome(row,rows) {
|
|
|
+ console.log(row,rows)
|
|
|
+ if (row.outerFlag == 1) {
|
|
|
this.$message.error("请选择内部账户");
|
|
|
return;
|
|
|
}
|
|
|
this.getAllUser();
|
|
|
- this.enterAccountId = e.row.accountId;
|
|
|
+ this.enterCardId = rows.bankCardNum;
|
|
|
this.inComeFormData.collectionMessage =
|
|
|
- e.row.accountName + " " + e.row.bankCardNum + " " + e.row.bank;
|
|
|
+ row.accountName + " " + rows.bankCardNum + " " + rows.bank;
|
|
|
this.incomeDialogVisible = true;
|
|
|
},
|
|
|
//点击页面支出按钮
|
|
|
- handleTableExpend(e) {
|
|
|
- if (e.row.outerFlag == 1) {
|
|
|
+ handleTableExpend(row) {
|
|
|
+ console.log(row)
|
|
|
+ if (row.outerFlag == 1) {
|
|
|
this.$message.error("请选择内部账户");
|
|
|
return;
|
|
|
}
|
|
|
this.expendDialogVisible = true;
|
|
|
- this.expendOutAccountId = e.row.accountId;
|
|
|
+ this.outCardNum = row.bankCardNum;
|
|
|
this.getExpendData();
|
|
|
},
|
|
|
//获取支出信息列表
|
|
|
@@ -904,7 +917,7 @@ export default {
|
|
|
pageNo: this.expendPageResult.pageNo,
|
|
|
pageSize: this.expendPageResult.pageSize,
|
|
|
transferFlag: 1,
|
|
|
- outAccountId: this.expendOutAccountId,
|
|
|
+ outCardNum: this.outCardNum,
|
|
|
};
|
|
|
this.$api.expense
|
|
|
.getAccountExcel(obj)
|
|
|
@@ -950,11 +963,11 @@ export default {
|
|
|
//选择证书有效日期区间
|
|
|
setDateInterval(e) {
|
|
|
if (e != null && e != "") {
|
|
|
- this.formData.startCertExpirationDate = e[0];
|
|
|
- this.formData.endCertExpirationDate = e[1];
|
|
|
+ this.accountCardFormData.startCertExpirationDate = e[0];
|
|
|
+ this.accountCardFormData.endCertExpirationDate = e[1];
|
|
|
} else {
|
|
|
- this.formData.startCertExpirationDate = "";
|
|
|
- this.formData.endCertExpirationDate = "";
|
|
|
+ this.accountCardFormData.startCertExpirationDate = "";
|
|
|
+ this.accountCardFormData.endCertExpirationDate = "";
|
|
|
}
|
|
|
},
|
|
|
//获取支出页面列表数据
|
|
|
@@ -982,7 +995,12 @@ export default {
|
|
|
}
|
|
|
element.outerFlagName =
|
|
|
element.outerFlag == 0 ? "内部账户" : "外部账户";
|
|
|
- element.accountQualityName = this.dictFn(element, 1); //转化账户性质跟账户性别
|
|
|
+ if (element.invAccountCardList != null) {
|
|
|
+ element.invAccountCardList.forEach((inv) => {
|
|
|
+ inv.outerFlag = element.outerFlag;
|
|
|
+ inv.accountQualityName = this.dictFn(inv, 1); //转化账户性质
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
this.accountData = res.data.records;
|
|
|
this.pageRequest.pageNo = res.data.current;
|
|
|
@@ -1022,9 +1040,26 @@ export default {
|
|
|
//新增事件
|
|
|
addAmount() {
|
|
|
this.title = "新增账户信息";
|
|
|
- this.type == 1;
|
|
|
+ this.type = 1;
|
|
|
this.dialogFormVisible = true;
|
|
|
},
|
|
|
+ //卡删除数据事件
|
|
|
+ cardDelete(row) {
|
|
|
+ this.$confirm("确认删除该条数据吗?", "提示", {
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ this.$api.expense.deleteAccountCard(row.bankCardNum).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success("删除成功");
|
|
|
+ this.findPage();
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {});
|
|
|
+ },
|
|
|
//账户删除数据事件
|
|
|
handleTableDelete(row) {
|
|
|
this.$confirm("确认删除该记录吗?", "提示", {
|
|
|
@@ -1054,39 +1089,82 @@ export default {
|
|
|
resetForm() {
|
|
|
this.dialogFormVisible = false;
|
|
|
this.formDataId = "";
|
|
|
- this.formData = {
|
|
|
- outerFlag: "0", //账户类别
|
|
|
- accountName: "", //户名
|
|
|
- accountQuality: "", //账户性质
|
|
|
- bankCardNum: "", //银行卡号
|
|
|
- bank: "", //开户行
|
|
|
- bankName: "", //开户行名称
|
|
|
- bankNum: "", //开户行号
|
|
|
- certExpirationDate: "", //证书有效期
|
|
|
- clearingProfit: "", //结算卡
|
|
|
- dayStrokeNum: "", //单日转账笔数限制
|
|
|
- exteriorProfit: "", //外部过账金额
|
|
|
- fiscalProfit: "", //财税公司利润
|
|
|
- insuranceProfit: "", //保险公司回款
|
|
|
- otherProfit: "", //其他利润
|
|
|
- parkProfit: "", //园区利润
|
|
|
- priDayLines: "", //对私单日限额
|
|
|
- priSingleLines: "", //对私单笔限额
|
|
|
- priYearExcess: "", //对私年剩余额度
|
|
|
- priYearLines: "", //对私年额度
|
|
|
- pubDayLines: "", //对公单日限额
|
|
|
- pubSingleLines: "", //对公单笔限额
|
|
|
- pubYearExcess: "", //对公年剩余额度
|
|
|
- pubYearLines: "", //对公年额度
|
|
|
- tianqinProfit: "", //天勤利润
|
|
|
- };
|
|
|
+ console.log(this.type)
|
|
|
+ if (this.type == 1) {
|
|
|
+ this.accountFormData = {
|
|
|
+ outerFlag: "0", //账户类别
|
|
|
+ accountName: "", //户名
|
|
|
+ businessQuality: "0", //营业性质
|
|
|
+ establishTime: "", //成立日期
|
|
|
+ invoicingAmount: 0, //开票额度
|
|
|
+ // invoicingAmountExcess:0,//剩余开票额度
|
|
|
+ juridicalPerson: "", //法人
|
|
|
+ owned: "", //所属地
|
|
|
+ };
|
|
|
+ } else {
|
|
|
+ this.accountCardFormData = {
|
|
|
+ accountQuality: "", //账户性质
|
|
|
+ bankCardNum: "", //银行卡号
|
|
|
+ bank: "", //开户行
|
|
|
+ bankName: "", //开户行名称
|
|
|
+ bankNum: "", //开户行号
|
|
|
+ balance: 0, //余额
|
|
|
+ certExpirationDate: "", //证书有效期
|
|
|
+ clearingProfit: 0, //结算卡
|
|
|
+ dayStrokeNum: 0, //单日转账笔数限制
|
|
|
+ dayStrokeNumExcess: 0, //单日转账笔数剩余
|
|
|
+ exteriorProfit: 0, //外部过账金额
|
|
|
+ fiscalProfit: 0, // 财务公司利润
|
|
|
+ insuranceProfit: 0, //保险公司回款
|
|
|
+ otherProfit: 0, //其他利润
|
|
|
+ parkProfit: 0, //园区利润
|
|
|
+ priDayLines: 0, //对私单日限额
|
|
|
+ priDayLinesExcess: 0, //对私单日限额剩余
|
|
|
+ priSingleLines: 0, //对私单笔限额
|
|
|
+ priYearExcess: 0, //对私年剩余额度
|
|
|
+ priYearLines: 0, //对私年额度
|
|
|
+ pubDayLines: 0, //对公单日限额
|
|
|
+ pubDayLinesExcess: 0, //对公单日限额剩余
|
|
|
+ pubSingleLines: 0, //对公单笔限额
|
|
|
+ pubYearExcess: 0, //对公年剩余额度
|
|
|
+ pubYearLines: 0, //对公年额度
|
|
|
+ spend: 0, //支出金额
|
|
|
+ tianqinProfit: 0, //天勤利润
|
|
|
+ };
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //卡信息修改事件
|
|
|
+ childEdit(row) {
|
|
|
+ this.type = 2; //卡信息
|
|
|
+ this.title = "编辑账户卡信息";
|
|
|
+ this.formDataId = row.accountId;
|
|
|
+ this.$api.expense
|
|
|
+ .getAccountCardList({
|
|
|
+ accountId: row.accountId,
|
|
|
+ bankCardNum: row.bankCardNum,
|
|
|
+ bank: row.bank,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ res.data[0].certExpirationDate = [
|
|
|
+ res.data[0].startCertExpirationDate,
|
|
|
+ res.data[0].endCertExpirationDate,
|
|
|
+ ];
|
|
|
+ this.accountCardFormData = res.data[0];
|
|
|
+ this.accountCardFormData.outerFlag = row.outerFlag;
|
|
|
+ this.dialogFormVisible = true;
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
//账户卡信息增加
|
|
|
handleTableAdd(row) {
|
|
|
this.type = 2; //卡信息
|
|
|
this.title = "新增账户卡信息";
|
|
|
this.dialogFormVisible = true;
|
|
|
- this.accountCardFormData.outerFlag = row.outerFlag
|
|
|
+ this.accountCardFormData.accountId = row.accountId;
|
|
|
+ this.accountCardFormData.outerFlag = row.outerFlag;
|
|
|
},
|
|
|
//账户信息修改
|
|
|
handleTableEdit(row) {
|
|
|
@@ -1105,8 +1183,9 @@ export default {
|
|
|
},
|
|
|
//提交
|
|
|
submitForm() {
|
|
|
- let params = JSON.parse(JSON.stringify(this.accountFormData));
|
|
|
- if (this.type == 1) { //新增修改账户信息
|
|
|
+ if (this.type == 1) {
|
|
|
+ //新增修改账户信息
|
|
|
+ let params = JSON.parse(JSON.stringify(this.accountFormData));
|
|
|
if (this.formDataId) {
|
|
|
//修改
|
|
|
params.accountId = this.formDataId;
|
|
|
@@ -1117,14 +1196,14 @@ export default {
|
|
|
message: "修改成功",
|
|
|
type: "success",
|
|
|
});
|
|
|
+ this.findPage();
|
|
|
+ this.resetForm();
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: `修改失败, ${res.msg}`,
|
|
|
type: "error",
|
|
|
});
|
|
|
}
|
|
|
- this.findPage();
|
|
|
- this.resetForm();
|
|
|
});
|
|
|
} else {
|
|
|
//新增
|
|
|
@@ -1134,19 +1213,54 @@ export default {
|
|
|
message: "添加成功",
|
|
|
type: "success",
|
|
|
});
|
|
|
+ this.findPage();
|
|
|
+ this.resetForm();
|
|
|
} else {
|
|
|
this.$message({
|
|
|
message: `添加失败, ${res.msg}`,
|
|
|
type: "error",
|
|
|
});
|
|
|
}
|
|
|
- this.findPage();
|
|
|
- this.resetForm();
|
|
|
});
|
|
|
}
|
|
|
- }else{ //新增修改卡信息
|
|
|
- console.log(params)
|
|
|
+ } else {
|
|
|
+ //新增修改卡信息
|
|
|
+ let params = JSON.parse(JSON.stringify(this.accountCardFormData));
|
|
|
delete params.certExpirationDate;
|
|
|
+ console.log(params);
|
|
|
+ //修改
|
|
|
+ if (this.formDataId) {
|
|
|
+ this.$api.expense.updateAccountCard(params).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: "修改成功",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ this.resetForm();
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ message: `修改失败, ${res.msg}`,
|
|
|
+ type: "error",
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ //新增
|
|
|
+ } else {
|
|
|
+ this.$api.expense.insertAccountCard(params).then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message({
|
|
|
+ message: "添加成功",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+ this.findPage();
|
|
|
+ this.resetForm();
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
},
|