|
@@ -273,8 +273,18 @@
|
|
|
:close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false">
|
|
|
<el-form :model="accountFormData" ref="accountFormData">
|
|
|
<el-form-item label="账户名称" class="landConFrom-input" prop="accountName" :rules="rules">
|
|
|
- <el-input v-model="accountFormData.accountName" style="width: 220px;" size="small" clearable
|
|
|
- placeholder="请输入"></el-input>
|
|
|
+<!-- <el-input v-model="accountFormData.accountName" style="width: 220px;" size="small" clearable-->
|
|
|
+<!-- placeholder="请输入"></el-input>-->
|
|
|
+
|
|
|
+ <el-select v-model="accountFormData.accountName" style="width: 220px;" size="small" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in primaryServiceAccountTitle"
|
|
|
+ :key="item.dictKey"
|
|
|
+ :label="item.dictValue"
|
|
|
+ :value="item.dictKey">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+
|
|
|
</el-form-item>
|
|
|
<el-form-item label="结算日期" class="landConFrom-input" prop="payTime" :rules="rules">
|
|
|
<el-date-picker type="date" v-model="accountFormData.payTime" value-format="yyyy-MM-dd HH:mm:ss" size="small"
|
|
@@ -318,6 +328,11 @@ import { getDeptLazyTree } from "@/api/system/dept";
|
|
|
import {corpsbank, projectFiles} from "@/api/basicData/configuration"
|
|
|
//事务
|
|
|
import examineApprove from "@/components/examineApprove/index";
|
|
|
+
|
|
|
+// 字典
|
|
|
+import { getWorkDicts } from "@/api/system/dictbiz";
|
|
|
+
|
|
|
+
|
|
|
//对象数组比较
|
|
|
import { contrastObj, contrastList2 } from "@/util/contrastData";
|
|
|
import _ from "lodash";
|
|
@@ -341,6 +356,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 客户名称字典
|
|
|
+ primaryServiceAccountTitle: [],
|
|
|
pgList: [],
|
|
|
pgDialog: false,
|
|
|
goodsDescList: [],
|
|
@@ -988,7 +1005,10 @@ export default {
|
|
|
beforeCloseAccount(row) {
|
|
|
if (this.verificationData()) {
|
|
|
this.account = row;
|
|
|
- this.accountDialog = true;
|
|
|
+ getWorkDicts("primary_service_account_title").then(res => {
|
|
|
+ this.primaryServiceAccountTitle = res.data.data;
|
|
|
+ this.accountDialog = true;
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
dispatch(row, index) {
|