|
@@ -121,18 +121,24 @@
|
|
|
:rules="[
|
|
|
{required: true, message:'姓名不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
- <SelectUserTree
|
|
|
- ref="companyTree"
|
|
|
- :props="{
|
|
|
- value: 'id', // ID字段名
|
|
|
- label: 'name', // 显示名称
|
|
|
- children: 'children' // 子级字段名
|
|
|
- }"
|
|
|
- :url="`/system-server/sys/user/treeUserDataAllOffice?type=2`"
|
|
|
- :value="inputForm.name"
|
|
|
- :clearable="true"
|
|
|
- :accordion="true"
|
|
|
- @getValue="(value) => {inputForm.name=value}"/>
|
|
|
+<!-- <SelectUserTree-->
|
|
|
+<!-- ref="companyTree"-->
|
|
|
+<!-- :props="{-->
|
|
|
+<!-- value: 'id', // ID字段名-->
|
|
|
+<!-- label: 'name', // 显示名称-->
|
|
|
+<!-- children: 'children' // 子级字段名-->
|
|
|
+<!-- }"-->
|
|
|
+<!-- :url="`/system-server/sys/user/treeUserDataAllOffice?type=2`"-->
|
|
|
+<!-- :value="inputForm.name"-->
|
|
|
+<!-- :clearable="true"-->
|
|
|
+<!-- :accordion="true"-->
|
|
|
+<!-- @getValue="(value) => {inputForm.name=value}"/>-->
|
|
|
+ <el-input
|
|
|
+ placeholder="请填写姓名"
|
|
|
+ maxlength="15"
|
|
|
+ v-model="inputForm.name"
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -175,6 +181,13 @@
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-if="inputForm.billingType === '2'" :span="12">
|
|
|
+ <el-form-item label="电话" prop="telPhone"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <el-input v-model="inputForm.telPhone" placeholder="请填写电话" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="inputForm.billingType === '1' && status !== 'audit'" :span="12">
|
|
|
<el-form-item label="开户银行" prop="openBank"
|
|
|
:rules="[
|
|
@@ -190,7 +203,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col v-else="inputForm.billingType === '1' && status === 'audit'" :span="12">
|
|
|
+ <el-col v-if="inputForm.billingType === '1' && status === 'audit'" :span="12">
|
|
|
<el-form-item label="开户银行" prop="openBank"
|
|
|
:rules="[
|
|
|
{required: true, message:'开户银行不能为空', trigger:'blur'},{required: true, message:'开户银行不能为空', trigger:'change'}
|
|
@@ -198,6 +211,13 @@
|
|
|
<el-input :disabled="true" placeholder="请填写开户银行" v-model="inputForm.openBank" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-if="inputForm.billingType === '2'" :span="12">
|
|
|
+ <el-form-item label="开户银行" prop="openBank"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <el-input placeholder="请填写开户银行" v-model="inputForm.openBank" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
|
|
|
<el-col v-if="inputForm.billingType === '1'" :span="12">
|
|
|
<el-form-item label="银行账号" prop="bankAccount"
|
|
@@ -207,6 +227,13 @@
|
|
|
<el-input :disabled="true" placeholder="请填写银行账号" v-model="inputForm.bankAccount" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col v-if="inputForm.billingType === '2'" :span="12">
|
|
|
+ <el-form-item label="银行账号" prop="bankAccount"
|
|
|
+ :rules="[
|
|
|
+ ]">
|
|
|
+ <el-input placeholder="请填写银行账号" v-model="inputForm.bankAccount" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</template>
|
|
|
<template v-if="inputForm.type !== '1'">
|
|
|
<el-col v-if="inputForm.billingType === '1'" :span="12">
|
|
@@ -294,7 +321,7 @@
|
|
|
placeholder="请填写发票金额"
|
|
|
maxlength="15"
|
|
|
v-model="inputForm.accountTotal"
|
|
|
- :disabled="true"
|
|
|
+
|
|
|
>
|
|
|
|
|
|
</el-input>
|