|
@@ -111,36 +111,35 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+
|
|
|
<el-row :gutter="15">
|
|
|
- <el-col v-if="inputForm.billingType === '2'" :span="12">
|
|
|
- <el-form-item label="姓名" prop="name"
|
|
|
- :rules="[
|
|
|
+ <el-col v-if="inputForm.billingType === '2'" :span="12">
|
|
|
+ <el-form-item label="姓名" prop="name"
|
|
|
+ :rules="[
|
|
|
{required: true, message:'姓名不能为空', trigger:'blur'}
|
|
|
]">
|
|
|
-<!-- <SelectUserTree-->
|
|
|
-<!-- ref="companyTree"-->
|
|
|
-<!-- size="default"-->
|
|
|
-<!-- :props="{-->
|
|
|
-<!-- value: 'id', // ID字段名-->
|
|
|
-<!-- label: 'name', // 显示名称-->
|
|
|
-<!-- children: 'children' // 子级字段名-->
|
|
|
-<!-- }"-->
|
|
|
-<!-- :url="`/system-server/sys/user/treeUserDataAllOffice?type=2`"-->
|
|
|
-<!-- :value="inputForm.name"-->
|
|
|
-<!-- :clearable="true"-->
|
|
|
-<!-- :accordion="true"-->
|
|
|
+ <!-- <SelectUserTree-->
|
|
|
+ <!-- ref="companyTree"-->
|
|
|
+ <!-- size="default"-->
|
|
|
+ <!-- :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>
|
|
|
- <el-row :gutter="15">
|
|
|
+ <!-- @getValue="(value) => {inputForm.name=value}"/>-->
|
|
|
+ <el-input
|
|
|
+ placeholder="请填写姓名"
|
|
|
+ maxlength="15"
|
|
|
+ v-model="inputForm.name"
|
|
|
+ >
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col v-if="inputForm.billingType === '1'" :span="12">
|
|
|
<el-form-item label="实际开票单位" prop="billingWorkplaceReal"
|
|
|
:rules="[
|
|
@@ -248,6 +247,13 @@
|
|
|
<el-input v-model="inputForm.telPhone" placeholder="请填写电话" clearable></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'" :span="12">
|
|
|
<el-form-item label="开户银行" prop="openBank"
|
|
|
:rules="[
|
|
@@ -262,6 +268,13 @@
|
|
|
</el-select>
|
|
|
</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"
|
|
|
:rules="[
|
|
@@ -269,6 +282,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>
|
|
|
|
|
|
<el-col :span="12">
|