|
@@ -523,6 +523,7 @@
|
|
|
<RegionCascaderSelect
|
|
|
v-model="form.xzqh"
|
|
|
style="width: 100%"
|
|
|
+ @nodeData="getKhyh"
|
|
|
valueProp="code"
|
|
|
:isDataRoot="true"
|
|
|
>
|
|
@@ -649,13 +650,22 @@
|
|
|
</div>
|
|
|
<div style="flex: 2" class="grid2">
|
|
|
<el-form-item label="开户银行" prop="khyh">
|
|
|
- <el-cascader
|
|
|
- :props="props"
|
|
|
- :options="dict.tree.C0044"
|
|
|
- v-model="form.khyh"
|
|
|
- placeholder="请选择开户银行"
|
|
|
- clearable
|
|
|
- />
|
|
|
+ <!--<el-cascader-->
|
|
|
+ <!--:props="props"-->
|
|
|
+ <!--:options="dict.tree.C0044"-->
|
|
|
+ <!--v-model="form.khyh"-->
|
|
|
+ <!--placeholder="请选择开户银行"-->
|
|
|
+ <!--clearable-->
|
|
|
+ <!--/>-->
|
|
|
+ <el-select v-model="form.khyh" placeholder="请选择开户银行">
|
|
|
+ <el-option
|
|
|
+ v-for="dict in khyhOpt"
|
|
|
+ :key="dict.dictValue"
|
|
|
+ :label="dict.dictLabel"
|
|
|
+ :value="dict.dictValue"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="银行网点" prop="khwd">
|
|
|
<el-input v-model="form.khwd" placeholder="请输入银行网点" />
|
|
@@ -1317,6 +1327,9 @@ import {
|
|
|
updateGljtLr,
|
|
|
ocrQuery,
|
|
|
} from "@/api/gljt/gljtLr";
|
|
|
+import {
|
|
|
+ getKhyh
|
|
|
+} from "@/api/gljt/qxpz";
|
|
|
import sqXq from "./sqXq";
|
|
|
import { mapState } from "vuex";
|
|
|
import { encrypt_ECBdef } from "@/api/tool/sm4";
|
|
@@ -1354,6 +1367,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ khyhOpt:[],
|
|
|
isMqtt:false,
|
|
|
hjOpt:[{label:'本地户籍',value:'0'},{label:'外地迁入',value:'1'}],
|
|
|
glsqsjRange: [],
|
|
@@ -1901,6 +1915,28 @@ export default {
|
|
|
// console.log(this.user.qxpz,'<---------qxpz');
|
|
|
},
|
|
|
methods: {
|
|
|
+ async getKhyh(){
|
|
|
+ let xzqh='';
|
|
|
+ if (this.form.xzqh !== null) {
|
|
|
+ if (Array.isArray(this.form.xzqh)) {
|
|
|
+ xzqh = this.form.xzqh[this.form.xzqh.length - 1];
|
|
|
+ } else {
|
|
|
+ let data = JSON.parse(this.form.xzqh);
|
|
|
+ xzqh = data[data.length - 1];
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(xzqh){
|
|
|
+ let res= await getKhyh({xzqh:xzqh})
|
|
|
+ this.khyhOpt=res.data;
|
|
|
+ // getKhyh({xzqh:xzqh}).then(res=>{
|
|
|
+ // // console.log(res)
|
|
|
+ // this.khyhOpt=res.data;
|
|
|
+ // })
|
|
|
+ }else{
|
|
|
+ this.khyhOpt=[];
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map(item => item.id)
|
|
@@ -2688,6 +2724,7 @@ export default {
|
|
|
if (this.user.userData.dept.locationCode) {
|
|
|
this.form.xzqh = [this.user.userData.dept.locationCode];
|
|
|
}
|
|
|
+ this.getKhyh();
|
|
|
this.getAccessToken();
|
|
|
|
|
|
// if(this.saveSpr();)
|
|
@@ -2758,6 +2795,7 @@ export default {
|
|
|
this.form.xjdxzqh = this.form.xjdxzqhCode
|
|
|
? JSON.stringify(this.form.xjdxzqhCode.split(","))
|
|
|
: [];
|
|
|
+ this.getKhyh();
|
|
|
//草稿、被拒绝、社区审核
|
|
|
if (this.status == "4" || this.status == "0" || this.status == "50") {
|
|
|
this.getSqShrxm();
|