|
@@ -263,6 +263,15 @@
|
|
|
qySeller = element[2]
|
|
|
}
|
|
|
}
|
|
|
+ // 编辑,不允许修改销售数量
|
|
|
+ if(contractInfo.form.contract_register_id){
|
|
|
+ if(!(ficcSeller&&qySeller)){
|
|
|
+ ElMessage.warning('合规套餐类型已定,不允许修改销售数量')
|
|
|
+ cascaderSelectSeller.value = contractInfo.form.seller_ids.split(',').map(item => +item)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log(contractInfo.form.seller_ids);
|
|
|
cascaderSelectSeller.value=[ficcSeller,qySeller]
|
|
|
contractInfo.form.seller_ids= cascaderSelectSeller.value.join(',')
|
|
|
// 根据销售选择是否显示套餐
|
|
@@ -270,7 +279,10 @@
|
|
|
// 都有
|
|
|
contractInfo.showServiceFicc=true
|
|
|
contractInfo.showServiceQy=true
|
|
|
- contractInfo.form.services_amount = contractInfo.form.services_Qy_amount = ''
|
|
|
+ if(!contractInfo.form.contract_register_id){
|
|
|
+ // 新增的情况才置空
|
|
|
+ contractInfo.form.services_amount = contractInfo.form.services_Qy_amount = ''
|
|
|
+ }
|
|
|
}else if(!ficcSeller){
|
|
|
// 没有ficc销售
|
|
|
contractInfo.showServiceFicc=false
|
|
@@ -285,6 +297,11 @@
|
|
|
contractInfo.form.services_Qy_amount =''
|
|
|
}
|
|
|
}else{
|
|
|
+ if(contractInfo.form.contract_register_id){
|
|
|
+ ElMessage.warning('合规套餐类型已定,不允许修改销售数量')
|
|
|
+ cascaderSelectSeller.value = contractInfo.form.seller_ids.split(',').map(item => +item)
|
|
|
+ return
|
|
|
+ }
|
|
|
contractInfo.showServiceFicc = contractInfo.showServiceQy=true
|
|
|
contractInfo.form.services_amount = contractInfo.form.services_Qy_amount = ''
|
|
|
cascaderSelectSeller.value=[]
|
|
@@ -486,9 +503,12 @@
|
|
|
sign_date:'',
|
|
|
agreed_pay_time:'',
|
|
|
services:[],
|
|
|
+ services_amount:'',
|
|
|
+ services_Qy_amount:'',
|
|
|
service_remark:'',
|
|
|
remark:""
|
|
|
}
|
|
|
+
|
|
|
contractInfo.checkedService=[]
|
|
|
contractInfo.checkedServiceQy=[]
|
|
|
|
|
@@ -497,6 +517,8 @@
|
|
|
contractInfo.checkedPermissionQySmall=[]
|
|
|
sellerArray.value=value==0?allSellerArray.all_list||[]:[]
|
|
|
|
|
|
+ sellerListType.value = value==0?3:''
|
|
|
+
|
|
|
// 1-大套餐 2-小套餐
|
|
|
contractInfo.serviceType=0
|
|
|
contractInfo.serviceTypeQy=0
|
|
@@ -606,20 +628,45 @@
|
|
|
// 获取套餐详情
|
|
|
getServiceDetail({contract_id:selectItem.contract_id}).then(res=>{
|
|
|
// console.log(res);
|
|
|
- contractInfo.form.services = res.data?res.data.Service||[]:[]
|
|
|
- // 小套餐
|
|
|
- let smallService = contractInfo.form.services.find(item => item.ServiceTemplateId==2)
|
|
|
- // 是否有大套餐
|
|
|
- let hasBigService = contractInfo.form.services.some(item => item.ServiceTemplateId==1)
|
|
|
+ let servivesTemp = res.data?res.data.Service||[]:[]
|
|
|
+ if(selectItem.product_id==1){
|
|
|
+ // FICC套餐
|
|
|
+ // 小套餐
|
|
|
+ let smallService = servivesTemp.find(item => item.ServiceTemplateId==2)
|
|
|
+ // 是否有大套餐
|
|
|
+ let hasBigService = servivesTemp.some(item => item.ServiceTemplateId==1)
|
|
|
+ contractInfo.serviceVarietyShow=!!smallService
|
|
|
+ contractInfo.serviceType = !!smallService?2:hasBigService?1:0
|
|
|
+ contractInfo.checkedService=servivesTemp.map(item => item.ServiceTemplateId)
|
|
|
+ contractInfo.checkedPermission=smallService?smallService.ChartPermissionIds||[]:[]
|
|
|
+ contractInfo.form.services_Qy_amount = ''
|
|
|
+ }else{
|
|
|
+ //权益
|
|
|
+ // 权益大套餐
|
|
|
+ let bigServiceQY = servivesTemp.find(item => item.FMSServiceTemplateId==11 || item.FMSServiceTemplateId==12)
|
|
|
+ // 行业套餐
|
|
|
+ let smallServiceQY = servivesTemp.filter(item => [14,15,16,17,18].includes(item.FMSServiceTemplatePId))
|
|
|
|
|
|
- contractInfo.serviceVarietyShow=!!smallService
|
|
|
- contractInfo.serviceVarietyShowQy=!!false
|
|
|
+ contractInfo.serviceVarietyShowQy = (!!bigServiceQY) || (!!smallServiceQY)
|
|
|
+ contractInfo.serviceTypeQy = contractInfo.qYDiaType = !!bigServiceQY?1:!!smallServiceQY?2:0
|
|
|
+ contractInfo.checkedServiceQy=[!!bigServiceQY?10:13]
|
|
|
+ if(!!bigServiceQY){
|
|
|
+ //权益大套餐
|
|
|
+ contractInfo.checkedPermissionQyBig = [bigServiceQY.FMSServiceTemplateId]
|
|
|
+ contractInfo.checkedPermissionQySmall = []
|
|
|
+ }else{
|
|
|
+ //行业套餐
|
|
|
+ contractInfo.checkedPermissionQyBig = []
|
|
|
+ contractInfo.checkedPermissionQySmall = smallServiceQY.map(item => item.FMSServiceTemplateId)
|
|
|
+ }
|
|
|
+ contractInfo.form.services_amount = ''
|
|
|
+ }
|
|
|
contractInfo.varietyDiaType='edit'
|
|
|
- contractInfo.serviceType = !!smallService?2:hasBigService?1:0
|
|
|
- contractInfo.checkedService=contractInfo.form.services.map(item => item.ServiceTemplateId)
|
|
|
- contractInfo.checkedPermission=smallService?smallService.ChartPermissionIds||[]:[]
|
|
|
+
|
|
|
})
|
|
|
+
|
|
|
contractInfo.form.product_ids = selectItem.product_id.toString()
|
|
|
+ sellerListType.value = selectItem.product_id
|
|
|
sellerArray.value = selectItem.product_id==1?allSellerArray.ficc_list||[]:allSellerArray.rai_list || []
|
|
|
// console.log(contractInfo.form);
|
|
|
contractInfo.form.company_name=selectItem.company_name
|
|
@@ -631,8 +678,12 @@
|
|
|
contractInfo.form.seller_id=selectItem.seller_id
|
|
|
contractInfo.form.seller_ids=selectItem.seller_id+''
|
|
|
contractInfo.form.contract_type=selectItem.contract_type_key
|
|
|
- contractInfo.form.relate_contract_code=selectItem.relate_contract_code
|
|
|
- contractInfo.form.actual_company_name=selectItem.actual_company_name
|
|
|
+ contractInfo.form.relate_contract_code=contractInfo.form.contract_type==3 || contractInfo.form.contract_type==4?selectItem.relate_contract_code:''
|
|
|
+ contractInfo.form.actual_company_name=contractInfo.form.contract_type==3?selectItem.actual_company_name:''
|
|
|
+ if(contractInfo.form.contract_type==3){
|
|
|
+ // 代付
|
|
|
+ contractInfo.form.has_payment=''
|
|
|
+ }
|
|
|
contractInfoForm.value &&
|
|
|
contractInfoForm.value.validateField([
|
|
|
'contract_code','company_name','contract_type','seller_ids',
|
|
@@ -850,12 +901,12 @@
|
|
|
}
|
|
|
}
|
|
|
// 合规登记-提交
|
|
|
- const
|
|
|
- complianceSubmit=()=>{
|
|
|
+ const complianceSubmit=()=>{
|
|
|
// console.log(contractInfo.checkedService);
|
|
|
contractInfoForm.value.validate(valid=>{
|
|
|
if(valid){
|
|
|
contractInfo.form.services=[]
|
|
|
+ contractInfo.form.service_amount=[]
|
|
|
// FICC
|
|
|
if(contractInfo.showServiceFicc){
|
|
|
if(contractInfo.checkedService.length==0){
|
|
@@ -896,6 +947,7 @@
|
|
|
ElMessage.error('FICC套餐金额格式错误')
|
|
|
return
|
|
|
}
|
|
|
+ contractInfo.form.service_amount.push({product_id:1,service_amount:+contractInfo.form.services_amount})
|
|
|
}
|
|
|
|
|
|
// 权益
|
|
@@ -917,7 +969,6 @@
|
|
|
ElMessage.warning('请保存行业套餐品种')
|
|
|
return
|
|
|
}
|
|
|
- console.log(contractInfo.checkedServiceQy);
|
|
|
contractInfo.checkedServiceQy.map(serviceId=>{
|
|
|
console.log(contractInfo.serviceArrayQy);
|
|
|
let serviceItem = contractInfo.serviceArrayQy.find(it=> it.service_template_id==serviceId)
|
|
@@ -960,18 +1011,20 @@
|
|
|
ElMessage.error('权益套餐金额格式错误')
|
|
|
return
|
|
|
}
|
|
|
+ contractInfo.form.service_amount.push({product_id:2,service_amount:+contractInfo.form.services_Qy_amount})
|
|
|
}
|
|
|
|
|
|
contractInfo.form.contract_amount = +parseFloat(contractInfo.form.contract_amount).toFixed(2)
|
|
|
contractInfo.form.services_amount = +parseFloat(contractInfo.form.services_amount).toFixed(2) || 0
|
|
|
contractInfo.form.services_Qy_amount = +parseFloat(contractInfo.form.services_Qy_amount).toFixed(2) || 0
|
|
|
+ console.log(contractInfo.form.services_amount,contractInfo.form.services_Qy_amount);
|
|
|
let servicesAll = Math.round((contractInfo.form.services_Qy_amount+contractInfo.form.services_amount)*100)/100
|
|
|
if(servicesAll!=contractInfo.form.contract_amount){
|
|
|
ElMessage.error('套餐总金额不等于合同金额')
|
|
|
return
|
|
|
}
|
|
|
- contractInfo.form.service_amount = [{product_id:1,service_amount:contractInfo.form.services_amount},
|
|
|
- {product_id:2,service_amount:contractInfo.form.services_Qy_amount}]
|
|
|
+ // contractInfo.form.service_amount = [{product_id:1,service_amount:contractInfo.form.services_amount},
|
|
|
+ // {product_id:2,service_amount:contractInfo.form.services_Qy_amount}]
|
|
|
if(!contractInfo.form.has_payment) contractInfo.form.has_payment=0
|
|
|
console.log(contractInfo.form);
|
|
|
// 检验合同名称或者合同有效期是否重复
|
|
@@ -1147,7 +1200,7 @@
|
|
|
// 到款预登记Id
|
|
|
supplementary_item.id = parseInt(route.query.supplementaryId) || ''
|
|
|
// complianceId没有,认为是合规登记
|
|
|
- contractInfo.operationtype=contractInfo.form.contract_register_id?(route.query.type || 'compliance'):'compliance'
|
|
|
+ contractInfo.operationtype=contractInfo.form.contract_register_id?(route.query.type || 'view'):'compliance'
|
|
|
|
|
|
|
|
|
// 是否是开票登记或者单款登记
|
|
@@ -1192,7 +1245,7 @@
|
|
|
currency_unit:res.data.currency_unit,
|
|
|
new_company:res.data.new_company,
|
|
|
seller_ids:res.data.seller_ids,
|
|
|
- seller_id:res.data.seller_id,
|
|
|
+ seller_id:res.data.seller_id || res.data.rai_seller_id,
|
|
|
contract_status:res.data.contract_status,
|
|
|
start_date:res.data.start_date,
|
|
|
end_date:res.data.end_date,
|
|
@@ -1210,6 +1263,8 @@
|
|
|
// 销售
|
|
|
if(res.data.seller_id && res.data.rai_seller_id){
|
|
|
contractInfo.showServiceFicc = contractInfo.showServiceQy=true
|
|
|
+ sellerArray.value = allSellerArray.all_list
|
|
|
+ cascaderSelectSeller.value = res.data.seller_ids.split(',').map(item => +item)
|
|
|
}else if(!res.data.seller_id){
|
|
|
sellerArray.value=allSellerArray.rai_list
|
|
|
contractInfo.showServiceQy=true
|
|
@@ -1217,10 +1272,10 @@
|
|
|
sellerArray.value=allSellerArray.ficc_list
|
|
|
contractInfo.showServiceFicc=true
|
|
|
}
|
|
|
- if(res.data.contract_source == 0){
|
|
|
- sellerArray.value = allSellerArray.all_list
|
|
|
- cascaderSelectSeller.value = res.data.seller_ids.split(',').map(item => +item)
|
|
|
- }
|
|
|
+ // if(res.data.contract_source == 0){
|
|
|
+ // sellerArray.value = allSellerArray.all_list
|
|
|
+ // cascaderSelectSeller.value = res.data.seller_ids.split(',').map(item => +item)
|
|
|
+ // }
|
|
|
|
|
|
rmbRate.value=res.data.rmb_rate
|
|
|
console.log(rmbRate.value,res.data.rmb_rate);
|
|
@@ -1295,37 +1350,15 @@
|
|
|
placementForm.placementData[0].service_product_id=sellerListType.value == 3?'':sellerListType.value
|
|
|
|
|
|
// 开票
|
|
|
- // haveInvoiceMoney:'',
|
|
|
- // waitInvoiceMoney:'',
|
|
|
- // allInvoiceMoney:'',
|
|
|
- // // 到款金额
|
|
|
- // havePlacementMoney:'',
|
|
|
- // waitPlacementMoney:'',
|
|
|
- // allPlacementMoney:'',
|
|
|
- // // FICC开票金额
|
|
|
- // haveInvoiceMoneyFICC:'',
|
|
|
- // waitInvoiceMoneyFICC:'',
|
|
|
- // allInvoiceMoneyFICC:'',
|
|
|
- // // FICC到款金额
|
|
|
- // havePlacementMoneyFICC:'',
|
|
|
- // waitPlacementMoneyFICC:'',
|
|
|
- // allPlacementMoneyFICC:'',
|
|
|
- // // 权益开票金额
|
|
|
- // haveInvoiceMoneyQY:'',
|
|
|
- // waitInvoiceMoneyQY:'',
|
|
|
- // allInvoiceMoneyQY:'',
|
|
|
- // // 权益到款金额
|
|
|
- // havePlacementMoneyQY:'',
|
|
|
- // waitPlacementMoneyQY:'',
|
|
|
- // allPlacementMoneyQY:'',
|
|
|
+ // console.log(res.data.service_amount_list.find(item => item.product_id==1),res.data.service_amount_list.find(item => item.product_id==2));
|
|
|
// FICC套餐总金额 = FICC套餐剩余开篇金额
|
|
|
contractInfo.moneyData.waitInvoiceMoneyFICC=contractInfo.moneyData.waitPlacementMoneyFICC=
|
|
|
contractInfo.moneyData.allInvoiceMoneyFICC = contractInfo.moneyData.allPlacementMoneyFICC=
|
|
|
- res.data.service_amount_list.find(item => item.product_id==1)?.service_amount
|
|
|
+ res.data.service_amount_list.find(item => item.product_id==1)?res.data.service_amount_list.find(item => item.product_id==1).service_amount:0
|
|
|
// 权益套餐总金额 = 权益套餐剩余开篇金额
|
|
|
contractInfo.moneyData.waitInvoiceMoneyQY=contractInfo.moneyData.waitPlacementMoneyQY=
|
|
|
contractInfo.moneyData.allInvoiceMoneyQY = contractInfo.moneyData.allPlacementMoneyQY=
|
|
|
- res.data.service_amount_list.find(item => item.product_id==2)?.service_amount
|
|
|
+ res.data.service_amount_list.find(item => item.product_id==2)?res.data.service_amount_list.find(item => item.product_id==2).service_amount:0
|
|
|
|
|
|
if(res.data.invoice_list.length>0){
|
|
|
invoiceForm.invoiceData=[]
|
|
@@ -1446,10 +1479,10 @@
|
|
|
<div class="info-row-title">合同信息</div>
|
|
|
<div style="margin: 0px 42px 0 62px;">
|
|
|
<el-form :model="contractInfo.form" inline ref="contractInfoForm" label-width="130"
|
|
|
- :disabled="contractInfo.operationtype!='compliance'&&contractInfo.operationtype!='placement'"
|
|
|
+ :disabled="contractInfo.operationtype!='compliance'"
|
|
|
:rules="contractInfo.rules" class="contractInfo-form">
|
|
|
<el-form-item label="合同来源" prop="contract_source" >
|
|
|
- <el-select v-model="contractInfo.form.contract_source" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-select v-model="contractInfo.form.contract_source"
|
|
|
placeholder="请选择合同来源" @change="contractSourceChange">
|
|
|
<el-option :label="item" :value="index"
|
|
|
v-for="(item,index) in contractSourceArray" :key="item"></el-option>
|
|
@@ -1457,83 +1490,83 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="合同编号" prop="contract_code" id="selectContract">
|
|
|
<el-input v-model="contractInfo.form.contract_code" placeholder="请输入合同编号"
|
|
|
- v-if="(contractInfo.form.contract_source==0)" :disabled="contractInfo.operationtype!='compliance'"/>
|
|
|
+ v-if="(contractInfo.form.contract_source==0)" />
|
|
|
<scrollableSelect :loadMoreMethod="loadContractNoMore" v-model="contractInfo.form.contract_code" placeholder="请搜索合同编号" v-else
|
|
|
:searchMethod="contractNoSearch" @change="selectContractNo" useLoading :isLoading="contractInfo.contractNoLoading"
|
|
|
- :disabled="contractInfo.operationtype!='compliance'">
|
|
|
+ >
|
|
|
<el-option :label="item.contract_code" :value="item.contract_code" v-for="item in contractInfo.contractNoArray" :key="item.contract_id"></el-option>
|
|
|
</scrollableSelect>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="客户名称" prop="company_name" id="contractInfo-companyName">
|
|
|
<el-input v-model="contractInfo.form.company_name"
|
|
|
- placeholder="请输入客户名称" :disabled="contractInfo.operationtype!='compliance'" />
|
|
|
+ placeholder="请输入客户名称" />
|
|
|
<el-checkbox v-model="is_new_company" label="新客户" style="margin-left: 20px;min-width: 100px;"
|
|
|
- size="large" @change="isNewChange" :disabled="contractInfo.form.contract_type!='' && contractInfo.form.contract_type!=3 " />
|
|
|
+ size="large" @change="isNewChange" :disabled="contractInfo.form.contract_type!='' && contractInfo.form.contract_type!=3 " />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="销售" prop="seller_ids">
|
|
|
- <el-select v-if="contractInfo.form.contract_source==1" v-model="contractInfo.form.seller_id" placeholder="请选择销售"
|
|
|
- filterable @change="selectSeller" :disabled="contractInfo.operationtype!='compliance'">
|
|
|
- <el-option :label="item.seller_name" :value="item.seller_id" v-for="item in sellerArray" :key="item.admin_id"></el-option>
|
|
|
- </el-select>
|
|
|
- <el-cascader v-else filterable :options="sellerArray" placeholder="请选择销售" @change="sellerChange"
|
|
|
- clearable :show-all-levels="false" v-model="cascaderSelectSeller" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-cascader v-if="sellerListType==3" filterable :options="sellerArray" placeholder="请选择销售" @change="sellerChange"
|
|
|
+ :show-all-levels="false" v-model="cascaderSelectSeller" :clearable="false"
|
|
|
:props="{multiple:true,label:'seller_name',value:'seller_id',children:'child'}"
|
|
|
key="seller" >
|
|
|
</el-cascader>
|
|
|
+ <el-select v-else v-model="contractInfo.form.seller_id" placeholder="请选择销售"
|
|
|
+ filterable @change="selectSeller" >
|
|
|
+ <el-option :label="item.seller_name" :value="item.seller_id" v-for="item in sellerArray" :key="item.admin_id"></el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="合同金额" id="contractInfo-contractAmount"
|
|
|
prop="contract_amount">
|
|
|
<el-input v-model.trim="contractInfo.form.contract_amount"
|
|
|
- placeholder="请输入合同金额" :disabled="contractInfo.operationtype!='compliance'" />
|
|
|
+ placeholder="请输入合同金额" />
|
|
|
<el-select v-model="contractInfo.form.currency_unit" placeholder="请选择货币类型"
|
|
|
- style="margin-left: 20px;" :disabled="contractInfo.operationtype!='compliance'">
|
|
|
+ style="margin-left: 20px;" >
|
|
|
<el-option v-for="item in currencyList" :key="item.code" :label="item.name" :value="item.code">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="合同有效期"
|
|
|
prop="start_date">
|
|
|
- <el-date-picker type="daterange" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-date-picker type="daterange"
|
|
|
v-model="contractInfo.contractValidityDate" @change="contractValidityDateChane"
|
|
|
start-placeholder="开始日期" end-placeholder="结束日期" value-format="YYYY-MM-DD"
|
|
|
:clearable="false">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="合同类型" prop="contract_type">
|
|
|
- <el-select v-model="contractInfo.form.contract_type" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-select v-model="contractInfo.form.contract_type"
|
|
|
placeholder="请选择合同类型" @change="contractTypeChange">
|
|
|
<el-option :label="item.label" :value="item.id" v-for="item in contractTypeArray" :key="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="是否代付" prop="has_payment" v-if="[1,2,4].includes(contractInfo.form.contract_type)">
|
|
|
- <el-radio-group v-model="contractInfo.form.has_payment" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-radio-group v-model="contractInfo.form.has_payment"
|
|
|
style="min-width:286px;width: 15vw;">
|
|
|
<el-radio :label="1">是</el-radio>
|
|
|
<el-radio :label="0">否</el-radio>
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="实际使用方" prop="actual_company_name" v-if="contractInfo.form.contract_type==3">
|
|
|
- <el-input v-model="contractInfo.form.actual_company_name" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-input v-model="contractInfo.form.actual_company_name"
|
|
|
placeholder="请输入实际使用方" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="关联合同" prop="relate_contract_code" v-if="contractInfo.form.contract_type==3 || contractInfo.form.contract_type==4">
|
|
|
- <el-input v-model="contractInfo.form.relate_contract_code" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-input v-model="contractInfo.form.relate_contract_code"
|
|
|
placeholder="请输入关联合同" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="合同状态" prop="contract_status">
|
|
|
- <el-select v-model="contractInfo.form.contract_status" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-select v-model="contractInfo.form.contract_status"
|
|
|
placeholder="请选择合同状态" >
|
|
|
<el-option :label="item.label" :value="item.id" v-for="item in contractStatusArray" :key="item.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="签订日" prop="sign_date" >
|
|
|
- <el-date-picker v-model="contractInfo.form.sign_date" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-date-picker v-model="contractInfo.form.sign_date"
|
|
|
placeholder="请选择签订日" value-format="YYYY-MM-DD"
|
|
|
:clearable="false">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="约定付款时间" prop="agreed_pay_time">
|
|
|
- <el-input v-model="contractInfo.form.agreed_pay_time" :disabled="contractInfo.operationtype!='compliance'"
|
|
|
+ <el-input v-model="contractInfo.form.agreed_pay_time"
|
|
|
placeholder="请输入约定付款时间" />
|
|
|
</el-form-item>
|
|
|
</el-form>
|