|
@@ -722,20 +722,20 @@ placementPreList()
|
|
|
<el-table :data="placemenetPre.tableData" border max-height="695px"
|
|
|
size="default">
|
|
|
<el-table-column label="客户名称" prop="company_name"
|
|
|
- show-overflow-tooltip min-width="120"></el-table-column>
|
|
|
- <el-table-column label="约定起始日期" width="110" prop="start_date"></el-table-column>
|
|
|
- <el-table-column label="约定结束日期" width="110" prop="end_date"></el-table-column>
|
|
|
- <el-table-column label="合同类型" align="center" width="90" prop="contract_type_string"></el-table-column>
|
|
|
+ show-overflow-tooltip min-width="120px"></el-table-column>
|
|
|
+ <el-table-column label="约定起始日期" width="110px" prop="start_date"></el-table-column>
|
|
|
+ <el-table-column label="约定结束日期" width="110px" prop="end_date"></el-table-column>
|
|
|
+ <el-table-column label="合同类型" align="center" width="90px" prop="contract_type_string"></el-table-column>
|
|
|
<el-table-column label="套餐" prop="services" show-overflow-tooltip></el-table-column>
|
|
|
- <el-table-column label="开票日" prop="invoice_time" width="110"></el-table-column>
|
|
|
- <el-table-column label="开票金额" prop="origin_amount" width="120"></el-table-column>
|
|
|
- <el-table-column label="开票换算金额(元)" prop="amount" width="151"></el-table-column>
|
|
|
- <el-table-column label="开票销售" width="100" prop="seller_name"></el-table-column>
|
|
|
- <el-table-column label="到款日" prop="arrive_time" width="110"></el-table-column>
|
|
|
- <el-table-column label="到款金额" prop="arrive_origin_amount" width="120"></el-table-column>
|
|
|
- <el-table-column label="到款换算金额(元)" prop="arrive_amount" width="151"></el-table-column>
|
|
|
- <el-table-column label="到款销售" width="100" prop="payment_seller_name"></el-table-column>
|
|
|
- <el-table-column label="操作" fixed="right" min-width="100">
|
|
|
+ <el-table-column label="开票日" prop="invoice_time" width="110px"></el-table-column>
|
|
|
+ <el-table-column label="开票金额" prop="origin_amount" width="120px"></el-table-column>
|
|
|
+ <el-table-column label="开票换算金额(元)" prop="amount" width="151px"></el-table-column>
|
|
|
+ <el-table-column label="开票销售" width="100px" prop="seller_name"></el-table-column>
|
|
|
+ <el-table-column label="到款日" prop="arrive_time" width="110px"></el-table-column>
|
|
|
+ <el-table-column label="到款金额" prop="arrive_origin_amount" width="120px"></el-table-column>
|
|
|
+ <el-table-column label="到款换算金额(元)" prop="arrive_amount" width="151px"></el-table-column>
|
|
|
+ <el-table-column label="到款销售" width="100px" prop="payment_seller_name"></el-table-column>
|
|
|
+ <el-table-column label="操作" fixed="right" min-width="100px">
|
|
|
<template #default="{row}">
|
|
|
<div class="table-options" style="padding-right: 20px;">
|
|
|
<span class="table-option-buttons" v-permission="'financial:registrationPre:supplementary'"
|
|
@@ -807,12 +807,12 @@ placementPreList()
|
|
|
width="942px" @closed="dialogClosed"
|
|
|
:close-on-click-modal="false">
|
|
|
<el-form :model="dialog.registrationPreForm" inline ref="registrationPreFormRef" style="margin:0 10px;">
|
|
|
- <el-form-item label="客户名称" prop="company_name" label-width="90" style="margin-right: 30px;"
|
|
|
+ <el-form-item label="客户名称" prop="company_name" label-width="90px" style="margin-right: 30px;"
|
|
|
:rules="{required:true,message:'客户名称不能为空',trigger:'blur'}">
|
|
|
<el-input v-model="dialog.registrationPreForm.company_name"
|
|
|
placeholder="请输入客户名称" style="width:320px" />
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="约定有效期" prop="end_date" label-width="102" style="margin-right: 20px;"
|
|
|
+ <el-form-item label="约定有效期" prop="end_date" label-width="102px" style="margin-right: 20px;"
|
|
|
:rules="{required:true,message:'约定有效期不能为空',trigger:'change'}">
|
|
|
<el-date-picker type="daterange"
|
|
|
v-model="dialog.validityDate" style="max-width: 320px;"
|
|
@@ -820,7 +820,7 @@ placementPreList()
|
|
|
:clearable="false">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="套餐" prop="services" label-width="90" style="margin-right: 30px;"
|
|
|
+ <el-form-item label="套餐" prop="services" label-width="90px" style="margin-right: 30px;"
|
|
|
:rules="{required:true,message:'套餐不能为空',trigger:'change'}">
|
|
|
<el-cascader filterable :options="servicesList" placeholder="请选择套餐" @change="(value)=>servicesChange(value,1)"
|
|
|
:show-all-levels="true" v-model="dialog.selectServices" :clearable="false" ref="selectServicesRef"
|
|
@@ -828,7 +828,7 @@ placementPreList()
|
|
|
key="seriveces" style="min-width: 320px;z-index: 100;">
|
|
|
</el-cascader>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="合同类型" prop="contract_type" label-width="102" style="margin-right: 20px;"
|
|
|
+ <el-form-item label="合同类型" prop="contract_type" label-width="102px" style="margin-right: 20px;"
|
|
|
:rules="{required:true,message:'合同类型不能为空',trigger:'change'}">
|
|
|
<el-cascader :options="contractTypeArray" placeholder="请选择合同类型" style="min-width: 320px;"
|
|
|
v-model="contractTypeCheck" :clearable="false" key="contractType" @change="contractTypeChange">
|
|
@@ -840,7 +840,7 @@ placementPreList()
|
|
|
border:dialog.currentEditPreId==item.pre_register_id?'1px solid #E9DDA2':'none'}"
|
|
|
v-for="(item,index) in dialog.registrationPreForm.IorPInfo" :key="index">
|
|
|
<el-form-item label="套餐类型" :prop="`IorPInfo.${index}.service_product_id`" v-if="serviceType==3"
|
|
|
- label-width="90" style="margin-right: 20px;"
|
|
|
+ label-width="90px" style="margin-right: 20px;"
|
|
|
:rules="{required:true,message:'套餐类型不能为空',trigger:'change'}">
|
|
|
<el-select v-model="item.service_product_id" style="width: 176px;" @change="productIdChange(item)"
|
|
|
placeholder="请选择套餐" :disabled="dialog.registrationType=='到款' && item.has_invoice_seller==1">
|
|
@@ -848,7 +848,7 @@ placementPreList()
|
|
|
<el-option label="权益套餐" :value="2"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item :label="dialog.registrationType+'金额'" :prop="`IorPInfo.${index}.amount`" label-width="90" style="margin-right: 20px;"
|
|
|
+ <el-form-item :label="dialog.registrationType+'金额'" :prop="`IorPInfo.${index}.amount`" label-width="90px" style="margin-right: 20px;"
|
|
|
:rules="[{required:true,message:'金额不能为空',trigger:'blur'},
|
|
|
{validator:(rule,value,callback)=>currencyValidator(item,callback),trigger:'blur'}]">
|
|
|
<el-input v-model.trim="item.amount"
|
|
@@ -858,14 +858,14 @@ placementPreList()
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item :label="dialog.registrationType+'日'" :prop="`IorPInfo.${index}.register_date`" label-width="73"
|
|
|
+ <el-form-item :label="dialog.registrationType+'日'" :prop="`IorPInfo.${index}.register_date`" label-width="73px"
|
|
|
:style="{marginRight:serviceType==3?'0':'20px'}"
|
|
|
:rules="{required:true,message:dialog.registrationType+'日不能为空',trigger:'change'}">
|
|
|
<el-date-picker v-model="item.register_date" style="max-width: 156px!important;"
|
|
|
:placeholder="`请选择${dialog.registrationType}日`" value-format="YYYY-MM-DD" :clearable="false">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item :label="dialog.registrationType+'销售'" :prop="`IorPInfo.${index}.seller_id`" label-width="90" style="margin-right: 0;"
|
|
|
+ <el-form-item :label="dialog.registrationType+'销售'" :prop="`IorPInfo.${index}.seller_id`" label-width="90px" style="margin-right: 0;"
|
|
|
:rules="{required:true,message:'销售不能为空',trigger:'change'}" >
|
|
|
<el-cascader :options="item.service_product_id==1?sellerInvoiceListFandQ:onlyQYSellerData"
|
|
|
:disabled="dialog.registrationType=='到款' && item.has_invoice_seller==1"
|
|
@@ -878,7 +878,7 @@ placementPreList()
|
|
|
@visible-change="selectVisible">
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="备注" :prop="`IorPInfo.${index}.remark`" label-width="90"
|
|
|
+ <el-form-item label="备注" :prop="`IorPInfo.${index}.remark`" label-width="90px"
|
|
|
style="margin-right: 0;" :style="{marginLeft:serviceType==3 ?'20px':'0'}">
|
|
|
<el-input v-model="item.remark" placeholder="请输入备注" :style="{width:serviceType==3?'486px':'772px'}" />
|
|
|
</el-form-item>
|