|
@@ -87,7 +87,7 @@
|
|
|
</div>
|
|
|
<div class="form-line">
|
|
|
<t-form-item label="所属销售" name="saller">
|
|
|
- <t-cascader :disabled="currentRoute === 'businessDetail'" v-model:modelValue="firstFormData.saller"
|
|
|
+ <t-cascader :disabled="currentRoute !== 'addBusiness'" v-model:modelValue="firstFormData.saller"
|
|
|
:options="salesArr" :show-all-levels="false" :keys="cascaderProps" filterable @change="changeSaller"
|
|
|
clearable placeholder="请选择销售" />
|
|
|
</t-form-item>
|
|
@@ -534,16 +534,18 @@ const changeActiveStep = (index) => {
|
|
|
|
|
|
// 编辑
|
|
|
const editEtaBusiness = async () => {
|
|
|
- const {creditCode, province, city, decisionMaker,industry,nation,teamSize} = firstFormData;
|
|
|
+ const {fundsize, province, city, decisionMaker,industry,nation,teamSize} = firstFormData;
|
|
|
const {signDate,expirationDate} = secondFormData;
|
|
|
- console.log('editEtaBusiness', secondFormData);
|
|
|
+ console.log('editEtaBusiness', firstFormData);
|
|
|
+ console.log('editEtaBusiness', tradeArr.value);
|
|
|
+ console.log('editEtaBusiness', industry);
|
|
|
|
|
|
const IndustryName = tradeArr.value.find(item => item.IndustryId === industry)?.IndustryName || '';
|
|
|
const query = {
|
|
|
EtaBusinessId: businessId.value,
|
|
|
Leader: decisionMaker,
|
|
|
IndustryName,
|
|
|
- CapitalScale:creditCode||'',
|
|
|
+ CapitalScale:fundsize||'',
|
|
|
ResearchTeamSize: teamSize||'',
|
|
|
Nation: nation,
|
|
|
IndustryId:Number(industry),
|