|
@@ -84,6 +84,12 @@
|
|
|
>
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
+ <crop-select
|
|
|
+ v-else-if="item.prop === 'belongtocompany'"
|
|
|
+ v-model="form[item.prop]"
|
|
|
+ @getCorpData="getCorpName"
|
|
|
+ corpType="GS"
|
|
|
+ ></crop-select>
|
|
|
<el-input
|
|
|
type="age"
|
|
|
v-else
|
|
@@ -155,6 +161,21 @@
|
|
|
:value="item.dictValue"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
+ <el-select
|
|
|
+ v-else-if="item.prop === 'packageRemarks'"
|
|
|
+ v-model="form[item.prop]"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ size="small"
|
|
|
+ style="width: 100%;"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in packageOptions"
|
|
|
+ :key="index"
|
|
|
+ :label="item.dictValue"
|
|
|
+ :value="item.dictValue"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
<el-input
|
|
|
v-else
|
|
|
type="age"
|
|
@@ -239,6 +260,7 @@ import flowDialog from "@/components/flow-dialog/main";
|
|
|
import { customerParameter } from "@/enums/management-type";
|
|
|
import { gainUser } from "@/api/basicData/customerInquiry";
|
|
|
import addressOption from "./configuration/addressOption.json";
|
|
|
+
|
|
|
export default {
|
|
|
name: "detailsPage",
|
|
|
data() {
|
|
@@ -364,6 +386,28 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ label: "CNAPS",
|
|
|
+ prop: "cnaps",
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: false,
|
|
|
+ message: " ",
|
|
|
+ trigger: "blur"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "银行地址",
|
|
|
+ prop: "localBankAddress",
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: false,
|
|
|
+ message: " ",
|
|
|
+ trigger: "blur"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "外币账户名称",
|
|
|
prop: "accountNameFcy",
|
|
|
rules: [
|
|
@@ -397,6 +441,28 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ label: "Swift Code",
|
|
|
+ prop: "swiftCode",
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: false,
|
|
|
+ message: " ",
|
|
|
+ trigger: "blur"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "外币银行地址",
|
|
|
+ prop: "foreignBankAddress",
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: false,
|
|
|
+ message: " ",
|
|
|
+ trigger: "blur"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "授信状态",
|
|
|
prop: "creditstatus",
|
|
|
rules: [
|
|
@@ -559,19 +625,29 @@ export default {
|
|
|
paymentOption: [],
|
|
|
addressOption: addressOption,
|
|
|
addressForm: {},
|
|
|
- addressData: []
|
|
|
+ addressData: [],
|
|
|
+ // 包装要求
|
|
|
+ packageOptions: [],
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
flowDialog
|
|
|
},
|
|
|
created() {
|
|
|
+ this.customerContact.column.map(item => {
|
|
|
+ if (item.prop == 'tel') {
|
|
|
+ item.rules[1].pattern = /^1[3-9]\d{9}$/
|
|
|
+ }
|
|
|
+ })
|
|
|
corpstypeTree({ corpType: customerParameter.code }).then(res => {
|
|
|
this.dic = res.data.data;
|
|
|
});
|
|
|
areaTypeTree().then(res => {
|
|
|
this.dicArea = res.data.data;
|
|
|
});
|
|
|
+ this.getWorkDicts("packageRemarks").then(res => {
|
|
|
+ this.packageOptions = res.data.data;
|
|
|
+ });
|
|
|
this.getWorkDicts("payment_term").then(res => {
|
|
|
this.paymentOption = res.data.data;
|
|
|
});
|
|
@@ -808,7 +884,8 @@ export default {
|
|
|
},
|
|
|
onClose(val) {
|
|
|
this.switchDialog = val;
|
|
|
- }
|
|
|
+ },
|
|
|
+ getCorpName(row) {},
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
@@ -817,4 +894,8 @@ export default {
|
|
|
::v-deep .el-form-item {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
+
|
|
|
+::v-deep .el-form-item__content{
|
|
|
+ line-height: 32px;
|
|
|
+}
|
|
|
</style>
|