|
|
|
@ -210,6 +210,50 @@ |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'终端客户代码'"> |
|
|
|
<el-input v-model="finalCustomerData.customerNo" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="8"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'终端客户名称'"> |
|
|
|
<el-input v-model="finalCustomerData.customerDesc" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户币种'"> |
|
|
|
<el-input v-model="finalCustomerData.customerCurrency" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'年营业额'"> |
|
|
|
<el-input v-model="finalCustomerData.turnoverOfYear" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'年潜在投入'"> |
|
|
|
<el-input v-model="finalCustomerData.potentialRevenueOfYear" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="20"> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'重要程度'"> |
|
|
|
<el-input v-model="finalCustomerData.importantCustomer" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="4"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户状态'"> |
|
|
|
<el-input v-model="finalCustomerData.customerStatus" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
<el-col :span="16"><div class="grid-content bg-purple"> |
|
|
|
<el-form-item :label="'客户描述'"> |
|
|
|
<el-input v-model="finalCustomerData.customerDescription" readonly ></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div></el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
</el-tab-pane> |
|
|
|
<el-tab-pane label="客户联系人" name="customer_contact"> |
|
|
|
@ -430,7 +474,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import { |
|
|
|
customerInformationSearch, // 客户信息列表查询` |
|
|
|
customerInformationSearchForCheck, // 客户信息列表查询` |
|
|
|
} from '@/api/customer/customerInformation.js' |
|
|
|
import AddOrUpdate from './com_projectInfo-add-or-update' |
|
|
|
import { |
|
|
|
@ -1055,6 +1099,26 @@ |
|
|
|
contactStatus: '', |
|
|
|
addressName: '' |
|
|
|
}, |
|
|
|
finalCustomerData:{ |
|
|
|
site: '', |
|
|
|
customerNo: '', |
|
|
|
customerDesc: '', |
|
|
|
customerDescription: '', |
|
|
|
customerIndustry: '', |
|
|
|
customerCurrency: '', |
|
|
|
turnoverOfYear: '', |
|
|
|
potentialRevenueOfYear: '', |
|
|
|
importantCustomer: '', |
|
|
|
customerStatus: '', |
|
|
|
companyName: '', |
|
|
|
jobDescription: '', |
|
|
|
remark: '', |
|
|
|
contactName: '', |
|
|
|
contactPhoneNumber1: '', |
|
|
|
primaryContact: '', |
|
|
|
contactStatus: '', |
|
|
|
addressName: '' |
|
|
|
}, |
|
|
|
columnFileContentArray: [ |
|
|
|
{ |
|
|
|
columnProp: 'fileName', |
|
|
|
@ -1259,13 +1323,26 @@ |
|
|
|
limit: 10, |
|
|
|
} |
|
|
|
this.refreshCurrentTabTable (); |
|
|
|
customerInformationSearch(inData).then(({data}) => { |
|
|
|
customerInformationSearchForCheck(inData).then(({data}) => { |
|
|
|
if (data.code == 0) { |
|
|
|
if(data.page.list.length>0){ |
|
|
|
this.customerData=data.page.list[0] |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
let inData2= { |
|
|
|
site:row.site, |
|
|
|
customerNo:row.finalCustomerId, |
|
|
|
page: 1, |
|
|
|
limit: 10, |
|
|
|
} |
|
|
|
customerInformationSearchForCheck(inData2).then(({data}) => { |
|
|
|
if (data.code == 0) { |
|
|
|
if(data.page.list.length>0){ |
|
|
|
this.finalCustomerData=data.page.list[0] |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
addUploadFileModal(){ |
|
|
|
let currentData = { |
|
|
|
|