Commit 5ca2d628 by ZcyJames

1.基础数据查询

parent a361b3e7
...@@ -5,6 +5,14 @@ import Utils from "~/utils"; ...@@ -5,6 +5,14 @@ import Utils from "~/utils";
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
let dtatyp = this.model.nxpp.dtatyp;
if (!dtatyp || dtatyp == "") {
this.$notify.error({
title: this.$t("financing.错误"),
message: this.$t("financing.基础数据类型必输!"),
});
return;
}
this.load = true; this.load = true;
let rtnmsg = await Api.post("/frontend/nxysdb/query", { let rtnmsg = await Api.post("/frontend/nxysdb/query", {
...this.model.nxpp, ...this.model.nxpp,
......
...@@ -239,8 +239,10 @@ export default { ...@@ -239,8 +239,10 @@ export default {
handler(newVal) { handler(newVal) {
if (newVal == '2') { if (newVal == '2') {
this.stmData.columns = this.nxyrellstHead; this.stmData.columns = this.nxyrellstHead;
this.stmData.data = "";
} else { } else {
this.stmData.columns = this.nxypatlstHead; this.stmData.columns = this.nxypatlstHead;
this.stmData.data = "";
} }
}, },
immediate: true immediate: true
......
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