Commit fbcc2891 by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents a05d14b7 0bec1101
...@@ -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
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SG000818 : Uetr --> <!-- SG000818 : Uetr -->
<c-col :span="24" v-if="model.cpdgrp.rec.swftyp!='OTH'"> <!-- <c-col :span="24" v-if="model.cpdgrp.rec.swftyp!='OTH'">
<el-form-item label="Uetr(121)" prop="cpdgrp.rec.uetr"> <el-form-item label="Uetr(121)" prop="cpdgrp.rec.uetr">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.cpdgrp.rec.uetr" maxlength="40" placeholder="请输入Uetr"></c-input> <c-input disabled v-model="model.cpdgrp.rec.uetr" maxlength="40" placeholder="请输入Uetr"></c-input>
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="解付日期" prop="cpdgrp.rec.paydat"> <el-form-item label="解付日期" prop="cpdgrp.rec.paydat">
......
...@@ -285,10 +285,11 @@ export default { ...@@ -285,10 +285,11 @@ export default {
let res = await Api.post(`/${this.moduleRouter()}/cptopn/calAmt`, this.model); let res = await Api.post(`/${this.moduleRouter()}/cptopn/calAmt`, this.model);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
console.log("计算金额为:"+res.data); console.log("计算金额为:"+res.data.amt);
if(this.model.calflg == "Y"){ if(this.model.calflg == "Y"){
this.model.cpdgrp.cbs.nom1.amt = res.data; this.model.cpdgrp.cbs.nom1.amt = res.data.amt;
this.model.cpdgrp.cbs.max.amt = res.data; this.model.cpdgrp.cbs.max.amt = res.data.amt;
this.model.cpdgrp.rec.f36 = res.data.f36;
if(this.model.cpdgrp.cbs.nom1.amt != '' && this.model.cpdgrp.cbs.nom1.amt != 0){ if(this.model.cpdgrp.cbs.nom1.amt != '' && this.model.cpdgrp.cbs.nom1.amt != 0){
this.buildSetmod(); this.buildSetmod();
} }
......
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