checkcust.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056
  1. <template>
  2. <div class="content">
  3. <!-- 主体内容-->
  4. <div class="row content-row">
  5. <!--page1-->
  6. <div class="list-inline">
  7. <div class="all">
  8. <div class="form-group">
  9. <label class="control-label">公司名称(中文名):</label>
  10. <input type="text" class="form-control" v-model="$store.state.tab1.cu_name" disabled/>
  11. </div>
  12. <div class="form-group">
  13. <label class="control-label">公司名称(英文名):</label>
  14. <input type="text" class="form-control" v-model="$store.state.tab1.cu_engname"/>
  15. </div>
  16. </div>
  17. <div class="all">
  18. <div class="form-group">
  19. <label class="control-label">机构类型:</label>
  20. <select class="form-control" v-model="$store.state.tab1.cu_institutype">
  21. <option>法人企业</option>
  22. <option>非法人企业</option>
  23. <option>其他</option>
  24. </select>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label">成立时间:</label>
  28. <el-date-picker
  29. required
  30. v-model="$store.state.tab1.cu_licensedate"
  31. type="date"
  32. placeholder="选择日期">
  33. </el-date-picker>
  34. </div>
  35. </div>
  36. <div class="all">
  37. <div class="form-group">
  38. <label class="control-label">证件类型:</label>
  39. <select class="form-control" required v-model="$store.state.tab1.cu_paperstype">
  40. <option>统一社会信用代码</option>
  41. <option>组织机构代码证</option>
  42. <option>其他</option>
  43. </select>
  44. </div>
  45. <div class="form-group">
  46. <label class="control-label">证件号码:</label>
  47. <input type="text" class="form-control" required v-model="$store.state.tab1.cu_paperscode"/>
  48. </div>
  49. </div>
  50. <div class="all">
  51. <div class="form-group">
  52. <label class="control-label">证件有效期:</label>
  53. <el-date-picker
  54. required
  55. v-model="$store.state.tab1.cu_ctfduedate"
  56. type="date"
  57. placeholder="选择日期">
  58. </el-date-picker>
  59. </div>
  60. <div class="form-group" style="margin-left: 100px">
  61. <label class="control-label">营业执照号:</label>
  62. <input type="text" class="form-control" v-model="$store.state.tab1.cu_businesscode" required maxlength="50"/>
  63. </div>
  64. </div>
  65. <div class="all">
  66. <div class="form-group">
  67. <label class="control-label">国标行业分类:</label>
  68. <select class="form-control" v-model="$store.state.tab1.cu_nastdinducls" required>
  69. <option>农、林、牧、渔业</option>
  70. <option>采矿业</option>
  71. <option>制造业</option>
  72. <option>电力、热力、燃气及水生产和供应链</option>
  73. <option>建筑业</option>
  74. <option>批发和零售业</option>
  75. <option>交通运输、仓储和邮政业</option>
  76. <option>住宿和餐饮业</option>
  77. <option>信息传输、软件和信息技术服务业</option>
  78. <option>金融业</option>
  79. <option>房地产业</option>
  80. <option>租赁和商务服务业</option>
  81. <option>科学研究和技术服务</option>
  82. <option>水利、环境和公共设施管理业</option>
  83. <option>居民服务、修理和其他服务业</option>
  84. <option>教育</option>
  85. <option>卫生和社会工作</option>
  86. <option>文化、体育和娱乐业</option>
  87. <option>公共管理、社会保障和社会组织</option>
  88. <option>国际组织</option>
  89. </select>
  90. </div>
  91. <div class="form-group">
  92. <label class="control-label">注册资本币种:</label>
  93. <input type="text" class="form-control" v-model="$store.state.tab1.cu_capcurrency" required />
  94. </div>
  95. </div>
  96. <div class="all">
  97. <div class="form-group">
  98. <label class="control-label">注册资本(万元):</label>
  99. <input type="number" class="form-control" min="0"
  100. v-model.nubmer="$store.state.tab1.cu_regcapital" required/>
  101. </div>
  102. <div class="form-group">
  103. <label class="control-label">实缴资本(万元):</label>
  104. <input type="number" class="form-control" min="0"
  105. v-model="$store.state.tab1.cu_paidincapital" required/>
  106. </div>
  107. </div>
  108. <div class="all">
  109. <div class="form-group1">
  110. <label class="control-label">公司注册地:</label>
  111. <textarea class="form-control" max-length="50" rows="2" placeholder="限50字符" maxlength="50"
  112. v-model="$store.state.tab1.cu_regadd" required>
  113. </textarea>
  114. </div>
  115. </div>
  116. <div class="all">
  117. <div class="form-group1">
  118. <label class="control-label">办公地址:</label>
  119. <textarea class="form-control" rows="2" max-length="500" placeholder="限50字符" maxlength="50"
  120. v-model="$store.state.tab1.cu_officeadd" required >
  121. </textarea>
  122. </div>
  123. </div>
  124. <div class="all">
  125. <div class="form-group1">
  126. <label class="control-label">经营范围:</label>
  127. <textarea class="form-control" rows="10" max-length="500" placeholder="限500字符" maxlength="500"
  128. v-model="$store.state.tab1.cu_businsscope" required>
  129. </textarea>
  130. </div>
  131. </div>
  132. <div class="all">
  133. <div class="form-group1">
  134. <label class="control-label">其他情况说明:</label>
  135. <textarea class="form-control" rows="10" placeholder="限500字符" maxlength="500"
  136. v-model="$store.state.tab1.cu_others" required>
  137. </textarea>
  138. </div>
  139. </div>
  140. </div>
  141. <!--page2-->
  142. <div id="tab2" class="tab">
  143. <table class="table table-striped">
  144. <thead>
  145. <tr>
  146. <th style="width: 70px">序号</th>
  147. <th>股东名称</th>
  148. <th>证件类型</th>
  149. <th>证件号码</th>
  150. <th>股权比例(%)</th>
  151. <th>出资金额(万元)</th>
  152. </tr>
  153. </thead>
  154. <tbody>
  155. <tr v-for="(page2, index) in $store.state.tab2">
  156. <td v-text="index + 1"></td>
  157. <td><input type="text" v-model="page2.cs_name" :readonly="page2.isDisabled"></td>
  158. <td><input type="text" v-model="page2.cs_paperstype" :readonly="page2.isDisabled"/></td>
  159. <td><input type="text" v-model="page2.cs_paperscode" :readonly="page2.isDisabled"/></td>
  160. <td><input type="number" min="0" v-model="page2.cs_investratio" :readonly="page2.isDisabled"/></td>
  161. <td><input type="number" min="0" v-model="page2.cs_investamount" :readonly="page2.isDisabled"/></td>
  162. </tr>
  163. <tr>
  164. <td><input type="button" value="+" @click="$store.commit('addtab2')"/></td>
  165. <td></td>
  166. <td></td>
  167. <td></td>
  168. <td></td>
  169. <td></td>
  170. </tr>
  171. </tbody>
  172. </table>
  173. </div>
  174. <!--page3-->
  175. <div class="tab" style="overflow-x: auto">
  176. <table class="table table-striped">
  177. <thead>
  178. <tr>
  179. <th width="70">序号</th>
  180. <th>企业名称</th>
  181. <th>关联关系</th>
  182. <th>法人代表</th>
  183. <th>注册资本(万元)</th>
  184. <th>法人代表股权(占比%)</th>
  185. <th>主营业务</th>
  186. </tr>
  187. </thead>
  188. <tbody>
  189. <tr v-for="(page3,index) in $store.state.tab3">
  190. <td v-text="index + 1"></td>
  191. <td><input type="text" v-model="page3.cud_name" :readonly="page3.isDisabled"></td>
  192. <td><input type="text" v-model="page3.cud_association" :readonly="page3.isDisabled"/></td>
  193. <td><input type="text" v-model="page3.cud_legalperson" :readonly="page3.isDisabled"/></td>
  194. <td><input type="number" min="0" v-model="page3.cud_amount" :readonly="page3.isDisabled"/></td>
  195. <td><input type="number" min="0" v-model="page3.cud_ratio" :readonly="page3.isDisabled"/></td>
  196. <td><input type="text" v-model="page3.cud_product" :readonly="page3.isDisabled"/></td>
  197. </tr>
  198. <tr>
  199. <td><input type="button" value="+" @click="$store.commit('addtab3')" /></td>
  200. <td></td>
  201. <td></td>
  202. <td></td>
  203. <td></td>
  204. <td></td>
  205. <td></td>
  206. </tr>
  207. </tbody>
  208. </table>
  209. </div>
  210. <!--page4-->
  211. <div class="tab">
  212. <div class="all" style="overflow:hidden">
  213. <div class="form-group">
  214. <label class="control-label">最高权力机构:</label>
  215. <input type="text" class="form-control" v-model="$store.state.tab1.cu_highestauthority" />
  216. </div>
  217. <div class="form-group">
  218. <label class="control-label">员工人数:</label>
  219. <input type="text" class="form-control"
  220. v-model="$store.state.tab1.cu_employeesnum"/>
  221. </div>
  222. </div>
  223. <div class="all">
  224. <div class="form-group1">
  225. <label class="control-label">部门设置概况:</label>
  226. <textarea class="form-control" rows="10" placeholder="限500字符" v-model="$store.state.tab1.cu_departsituation"
  227. maxlength="500">
  228. </textarea>
  229. </div>
  230. </div>
  231. <div style="overflow-x: auto">
  232. <table class="table table-striped">
  233. <thead>
  234. <tr>
  235. <th>序号</th>
  236. <th>变更科目</th>
  237. <th>变更时间</th>
  238. <th>变更前内容</th>
  239. <th>变更后内容</th>
  240. </tr>
  241. </thead>
  242. <tbody>
  243. <tr v-for="(change,index) in $store.state.changeInstruction">
  244. <td style="width:70px" v-text="index+1"></td>
  245. <td v-text="change.cd_type"></td>
  246. <td>
  247. <el-date-picker
  248. required
  249. v-model="change.cs_date"
  250. type="date"
  251. placeholder="选择日期">
  252. </el-date-picker>
  253. </td>
  254. <td><input type="text" v-model="change.cs_before"/></td>
  255. <td><input type="text" v-model="change.cs_after"/></td>
  256. </tr>
  257. </tbody>
  258. </table>
  259. </div>
  260. <!--管理层背景-->
  261. <div style="overflow-x: auto">
  262. <button class="toggle" @click="$store.commit('changeShow',{index:0})"><h5>管理层背景</h5></button>
  263. <table class="table table-striped" style="display: none" v-show="$store.state.show[0].isshow">
  264. <thead>
  265. <tr>
  266. <th style="width:50px">序号</th>
  267. <th>姓名</th>
  268. <th>性别</th>
  269. <th>证件类型</th>
  270. <th>证件号码</th>
  271. <th>学历</th>
  272. <th>职务</th>
  273. <th style="width:70px">担任该职务时间</th>
  274. <th style="width:70px">从事本行业年限</th>
  275. <th>住所</th>
  276. <th>工作简介</th>
  277. </tr>
  278. </thead>
  279. <tbody>
  280. <tr v-for="(item,index) in $store.state.tab4">
  281. <td v-text="index+1"></td>
  282. <td><input type="text" v-model="item.ce_name" :readonly="item.isDisabled" /></td>
  283. <td>
  284. <select v-model="item.ce_sex" :readonly="item.isDisabled">
  285. <option>男</option>
  286. <option>女</option>
  287. </select>
  288. </td>
  289. <td><input type="text" v-model="item.ce_paperstype" :readonly="item.isDisabled"/></td>
  290. <td><input type="text" v-model="item.ce_paperscode" :readonly="item.isDisabled"/></td>
  291. <td><input type="text" v-model="item.ce_education" :readonly="item.isDisabled"/></td>
  292. <td><input type="text" v-model="item.ce_position" :readonly="item.isDisabled"/></td>
  293. <td style="width:70px">
  294. <el-date-picker
  295. required
  296. v-model="item.ce_stwkfpo"
  297. type="date"
  298. placeholder="选择日期"
  299. :readonly="item.isDisabled"
  300. >
  301. </el-date-picker>
  302. </td>
  303. <td style="width:70px"><input type="number" v-model="item.ce_workeyears" :readonly="item.isDisabled"/></td>
  304. <td><input type="text" v-model="item.ce_nowaddress" :readonly="item.isDisabled"/></td>
  305. <td><input type="text" v-model="item.ce_woekexper" @click="infoTab($store.state.tab4[index])" :readonly="item.isDisabled"/></td>
  306. </tr>
  307. <tr>
  308. <td><input type="button" value="+" @click="$store.commit('addtab4')"></td>
  309. <td></td>
  310. <td></td>
  311. <td></td>
  312. <td></td>
  313. <td></td>
  314. <td></td>
  315. <td></td>
  316. <td></td>
  317. <td></td>
  318. <td></td>
  319. </tr>
  320. </tbody>
  321. </table>
  322. <el-dialog
  323. title="请填写工作简介信息"
  324. :visible.sync="dialogVisible"
  325. width="30%">
  326. <textarea id="info-textarea" v-model="woekexper_modal"></textarea>
  327. <span slot="footer" class="dialog-footer">
  328. <el-button @click="dialogVisible = false">取 消</el-button>
  329. <el-button type="primary" @click="subTab">确 定</el-button>
  330. </span>
  331. </el-dialog>
  332. </div>
  333. </div>
  334. <!--page5-->
  335. <div class="tab">
  336. <div class="all">
  337. <div class="form-group1">
  338. <label class="control-label">经营状况简述:</label>
  339. <textarea v-model='$store.state.condition.bc_bcremark' class="form-control" rows="10" placeholder="限500字符"
  340. maxlength="500">
  341. </textarea>
  342. </div>
  343. </div>
  344. <!--上年度和今年经营状况-->
  345. <div style="overflow-x: auto">
  346. <button class="toggle" @click="$store.commit('changeShow',{index:1})"><h5>经营情况</h5></button>
  347. <table class="table table-striped" v-show="$store.state.show[1].isshow">
  348. <thead>
  349. <tr>
  350. <th style="width:70px">序号</th>
  351. <th>产品/服务种类</th>
  352. <th>去年营业收入(元)</th>
  353. <th>去年营业收入占比(%)</th>
  354. <th>今年营业收入(元)</th>
  355. <th>今年营业收入占比(%)</th>
  356. </tr>
  357. </thead>
  358. <tbody>
  359. <tr v-for="(item,index) in $store.state.tab5">
  360. <td v-text="index+1" style="padding:10px 20px"></td>
  361. <td><input type="text" v-model="item.pm_kind"></td>
  362. <td><input type="number" min="0" v-model="item.pm_tannualrevenue"/></td>
  363. <td><input type="number" min="0" v-model="item.pm_tratio"/></td>
  364. <td><input type="number" min="0" v-model="item.pm_annualrevenue"/></td>
  365. <td><input type="number" min="0" v-model="item.pm_ratio"/></td>
  366. </tr>
  367. <tr>
  368. <td><input type="button" value="+" @click="$store.commit('addtab5')"></td>
  369. <td></td>
  370. <td></td>
  371. <td></td>
  372. <td></td>
  373. <td></td>
  374. </tr>
  375. </tbody>
  376. </table>
  377. </div>
  378. </div>
  379. <!--page6-->
  380. <div class="tab">
  381. <div class="all">
  382. <div class="form-group1">
  383. <label class="control-label">贸易流程简述:</label>
  384. <textarea class="form-control" v-model="$store.state.condition.bc_sweaterprocess" rows="10"
  385. placeholder="限500字符" maxlength="500">
  386. </textarea>
  387. </div>
  388. </div>
  389. <!--前五大供应商-->
  390. <div>
  391. <button class="toggle" style="width:100px"><h5>前五大供应商</h5></button>
  392. <table class="table table-striped">
  393. <thead>
  394. <tr>
  395. <th>序号</th>
  396. <th>名称</th>
  397. <th>产品</th>
  398. <th>上年交易额(元)</th>
  399. <th>今年交易额(元)</th>
  400. <th>结账方式及账期</th>
  401. <th>合作年限</th>
  402. </tr>
  403. </thead>
  404. <tbody>
  405. <tr v-for="(item,index) in $store.state.tab6">
  406. <td v-text="index+1" style="width:70px"></td>
  407. <td><input type="text" v-model="item.udc_name"/></td>
  408. <td><input type="text" v-model="item.udc_product"/></td>
  409. <td><input type="number" v-model="item.udc_lastyear"/></td>
  410. <td><input type="number" v-model="item.udc_thisyear"/></td>
  411. <td><input type="text" v-model="item.udc_payment"/></td>
  412. <td><input type="number" v-model="item.udc_cooperationyears"/></td>
  413. </tr>
  414. </tbody>
  415. </table>
  416. <!--前五大客户-->
  417. <div>
  418. <button class="toggle" style="width:100px"><h5>前五大客户</h5></button>
  419. <table class="table table-striped">
  420. <thead>
  421. <tr>
  422. <th>序号</th>
  423. <th>名称</th>
  424. <th>产品</th>
  425. <th>上年交易额(元)</th>
  426. <th>今年交易额(元)</th>
  427. <th>结账方式及日期</th>
  428. <th>合作年限</th>
  429. </tr>
  430. </thead>
  431. <tbody>
  432. <tr v-for="(item,index) in $store.state.tab6_2">
  433. <td v-text="index+1" style="width:70px"></td>
  434. <td><input type="text" v-model="item.udc_name"/></td>
  435. <td><input type="text" v-model="item.udc_product"/></td>
  436. <td><input type="number" v-model="item.udc_lastyear"/></td>
  437. <td><input type="number" v-model="item.udc_thisyear"/></td>
  438. <td><input type="text" v-model="item.udc_payment"/></td>
  439. <td><input type="text" v-model="item.udc_cooperationyears"/></td>
  440. </tr>
  441. </tbody>
  442. </table>
  443. </div>
  444. </div>
  445. </div>
  446. <!--page7-->
  447. <div class="tab" id="tab7">
  448. <!--应收账款明细-->
  449. <div>
  450. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:2})"><h5>应收账目详情</h5></button>
  451. <table class="table table-striped" v-show="$store.state.show[2].isshow">
  452. <thead>
  453. <tr>
  454. <th width="70px">序号</th>
  455. <th>买方客户名称</th>
  456. <th>金额(元)</th><!--实际是UAS的余额-->
  457. <th>占比(%)</th>
  458. <th>账龄(月)</th>
  459. </tr>
  460. </thead>
  461. <tbody>
  462. <tr v-for="(li, index) in $store.state.tab7">
  463. <td v-text="index + 1"></td>
  464. <td><input type="text" v-model="li.ai_cuname"></td>
  465. <td><input type="number" v-model="li.ai_leftamount"/></td>
  466. <td><input type="number" v-model="li.ai_rate"/></td>
  467. <td><input type="text" v-model="li.ai_payment"/></td>
  468. </tr>
  469. <tr>
  470. <td><input type="button" value="+" @click="$store.commit('addtab7')"/></td>
  471. <td></td>
  472. <td></td>
  473. <td></td>
  474. <td></td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. </div>
  479. <div>
  480. <span>截止至</span><input type="number" v-model="$store.state.financecondition.year"/><span>年</span><input
  481. type="number" v-model="$store.state.financecondition.month"/><span>月末应收账款余额</span>
  482. <input type="number" style="width: 150px" v-model="$store.state.financecondition.fc_arbalance"><span>元</span>
  483. </div>
  484. <div>
  485. <table class="table table-striped">
  486. <tbody>
  487. <tr>
  488. <td>账龄&gt;=3个月以内的(元)</td>
  489. <td><input type="number" style="width:100%" v-model="$store.state.financecondition.fc_agingamount1"/>
  490. </td>
  491. <td>3个月&gt;账龄&gt;=6个月以内的(元)
  492. </td>
  493. <td><input type="number" v-model="$store.state.financecondition.fc_agingamount2"/></td>
  494. </tr>
  495. <tr>
  496. <td>6个月&gt;账龄&gt;=12个月以内的(元)
  497. </td>
  498. <td><input type="number" v-model="$store.state.financecondition.fc_agingamount4"/></td>
  499. <td>账龄&lt;=12个月以上的(元)</td>
  500. <td><input type="number" v-model="$store.state.financecondition.fc_agingamount3"/></td>
  501. </tr>
  502. </tbody>
  503. </table>
  504. </div>
  505. <!--其他应收账款-->
  506. <div>
  507. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:4})"><h5>其他应收账款</h5></button>
  508. <table class="table table-striped" v-show="$store.state.show[4].isshow">
  509. <thead>
  510. <tr>
  511. <th width="70px">序号</th>
  512. <th>名称</th>
  513. <th>占比(%)</th>
  514. <th>账龄(月)</th>
  515. <th>产生原因</th>
  516. </tr>
  517. </thead>
  518. <tbody>
  519. <tr v-for="(li, index) in $store.state.tab8">
  520. <td v-text="index + 1"></td>
  521. <td><input type="text" v-model="li.ai_cuname"></td>
  522. <td><input type="number" v-model="li.ai_rate"/></td>
  523. <td><input type="text" v-model="li.ai_payment"/></td>
  524. <td><input type="text" v-model="li.ai_remark"/></td>
  525. </tr>
  526. <tr>
  527. <td><input type="button" value="+" @click="$store.commit('addtab8')"/></td>
  528. <td></td>
  529. <td></td>
  530. <td></td>
  531. <td></td>
  532. </tr>
  533. </tbody>
  534. </table>
  535. </div>
  536. <!--预付账款-->
  537. <div>
  538. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:5})"><h5>预付账款</h5></button>
  539. <table class="table table-striped" v-show="$store.state.show[5].isshow">
  540. <thead>
  541. <tr>
  542. <th width="70px">序号</th>
  543. <th>名称</th>
  544. <th>余额(元)</th>
  545. </tr>
  546. </thead>
  547. <tbody>
  548. <tr v-for="(li, index) in $store.state.tab9">
  549. <td v-text="index + 1"></td>
  550. <td><input type="text" v-model="li.ai_cuname"/></td>
  551. <td><input type="number" v-model="li.ai_leftamount"/></td>
  552. </tr>
  553. <tr>
  554. <td><input type="button" value="+" @click="$store.commit('addtab9')"/></td>
  555. <td></td>
  556. <td></td>
  557. </tr>
  558. </tbody>
  559. </table>
  560. </div>
  561. <!--固定资产-->
  562. <div>
  563. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:6})"><h5>固定资产</h5></button>
  564. <table class="table table-striped" v-show="$store.state.show[6].isshow">
  565. <thead>
  566. <tr>
  567. <th width="70px">序号</th>
  568. <th>项目名称</th>
  569. <th>金额(元)</th>
  570. </tr>
  571. </thead>
  572. <tbody>
  573. <tr v-for="(li, index) in $store.state.tab10">
  574. <td v-text="index + 1"></td>
  575. <td><input type="text" v-model="li.ai_caname"/></td>
  576. <td><input type="number" v-model="li.ai_amount"/></td>
  577. </tr>
  578. <tr>
  579. <td><input type="button" value="+" @click="$store.commit('addtab10')"/></td>
  580. <td></td>
  581. <td></td>
  582. </tr>
  583. </tbody>
  584. </table>
  585. </div>
  586. <!--存货-->
  587. <div>
  588. <button class="toggle" @click="$store.commit('changeShow',{index:7})"><h5>存货</h5></button>
  589. <table class="table table-striped" v-show="$store.state.show[7].isshow">
  590. <thead>
  591. <tr>
  592. <th width="70px">序号</th>
  593. <th>项目名称</th>
  594. <th>金额(元)</th>
  595. </tr>
  596. </thead>
  597. <tbody>
  598. <tr v-for="(li, index) in $store.state.tab11">
  599. <td v-text="index + 1"></td>
  600. <td><input type="text" v-model="li.ai_caname"/></td>
  601. <td><input type="number" v-model="li.ai_amount"/></td>
  602. </tr>
  603. <tr>
  604. <td><input type="button" value="+" @click="$store.commit('addtab11')"/></td>
  605. <td></td>
  606. <td></td>
  607. </tr>
  608. </tbody>
  609. </table>
  610. </div>
  611. </div>
  612. <!--page8-->
  613. <div class="tab">
  614. <!--短期借款-->
  615. <div>
  616. <button class="toggle" @click="$store.commit('changeShow',{index:8})"><h5>短期借款</h5></button>
  617. <table class="table table-striped" v-show="$store.state.show[8].isshow">
  618. <thead>
  619. <tr>
  620. <th style="width:70px">序号</th>
  621. <th>机构名称</th>
  622. <th>金额(元)</th>
  623. </tr>
  624. </thead>
  625. <tbody>
  626. <tr v-for="(li, index) in $store.state.tab12">
  627. <td v-text="index + 1"></td>
  628. <td><input type="text" v-model="li.ai_bank"/></td>
  629. <td><input type="number" v-model="li.ai_leftamount"/></td>
  630. </tr>
  631. <tr>
  632. <td><input type="button" value="+" @click="$store.commit('addtab12')"/></td>
  633. <td></td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. </div>
  639. <!--应付账款-->
  640. <div>
  641. <button class="toggle" @click="$store.commit('changeShow',{index:9})"><h5>应付账款</h5></button>
  642. <table class="table table-striped" v-show="$store.state.show[9].isshow">
  643. <thead>
  644. <tr>
  645. <th style="width:70px">序号</th>
  646. <th>卖方名称</th>
  647. <th>金额(元)</th><!--对应UAS余额-->
  648. <th>占比(%)</th>
  649. <th>账龄(月)</th>
  650. </tr>
  651. </thead>
  652. <tbody>
  653. <tr v-for="(li, index) in $store.state.tab13">
  654. <td v-text="index + 1"></td>
  655. <td><input type="text" v-model="li.ai_cuname"></td>
  656. <td><input type="number" v-model="li.ai_leftamount"/></td>
  657. <td><input type="number" v-model="li.ai_rate"/></td>
  658. <td><input type="text" v-model="li.ai_payment"/></td>
  659. </tr>
  660. <tr>
  661. <td><input type="button" value="+" @click="$store.commit('addtab13')"/></td>
  662. <td></td>
  663. <td></td>
  664. <td></td>
  665. <td></td>
  666. </tr>
  667. </tbody>
  668. </table>
  669. </div>
  670. <!--其他应付账款-->
  671. <div>
  672. <button class="toggle" style="width: 120px" @click="$store.commit('changeShow',{index:10})"><h5>其他应付账款</h5></button>
  673. <table class="table table-striped" v-show="$store.state.show[10].isshow">
  674. <thead>
  675. <tr>
  676. <th style="width:70px">序号</th>
  677. <th>卖方名称</th>
  678. <th>余额(元)</th><!--其他应付余额对应UAS金额-->
  679. <th>占比(%)</th>
  680. <th>产生原因</th>
  681. </tr>
  682. </thead>
  683. <tbody>
  684. <tr v-for="(li, index) in $store.state.tab14">
  685. <td v-text="index + 1"></td>
  686. <td><input type="text" v-model="li.ai_cuname"></td>
  687. <td><input type="number" v-model="li.ai_amount"/></td>
  688. <td><input type="number" v-model="li.ai_rate"/></td>
  689. <td><input type="text" v-model="li.ai_remark"/></td>
  690. </tr>
  691. <tr>
  692. <td><input type="button" value="+" @click="$store.commit('addtab14')"/></td>
  693. <td></td>
  694. <td></td>
  695. <td></td>
  696. <td></td>
  697. </tr>
  698. </tbody>
  699. </table>
  700. </div>
  701. <!--说明-->
  702. <div class="all">
  703. <!-- <div class="form-group1">-->
  704. <label class="control-label">说明:</label>
  705. <textarea class="form-control" rows="10" placeholder="限500字符" maxlength="500"
  706. v-model="$store.state.financecondition.fc_apremark">
  707. </textarea>
  708. <!--</div>-->
  709. </div>
  710. </br>
  711. <!--长期借款-->
  712. <div>
  713. <button class="toggle" @click="$store.commit('changeShow',{index:11})"><h5>长期借款</h5></button>
  714. <table class="table table-striped" v-show="$store.state.show[11].isshow">
  715. <thead>
  716. <tr>
  717. <th style="width:70px">序号</th>
  718. <th>机构名称</th><!--对应UAS项目名称-->
  719. <th>余额(元)</th>
  720. </tr>
  721. </thead>
  722. <tbody>
  723. <tr v-for="(li,index) in $store.state.tab15">
  724. <td v-text="index+1"></td>
  725. <td><input type="text" v-model="li.ai_caname"/></td>
  726. <td><input type="number" v-model="li.ai_leftamount"/></td>
  727. </tr>
  728. <tr>
  729. <td><input type="button" value="+" @click="$store.commit('addtab15')"/></td>
  730. <td></td>
  731. <td></td>
  732. </tr>
  733. </tbody>
  734. </table>
  735. </div>
  736. </div>
  737. <!--买方客户列表-->
  738. <div class="tab">
  739. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:12})"><h5>买方客户信息</h5></button>
  740. <table class="table table-striped" v-show="$store.state.show[12].isshow">
  741. <thead>
  742. <tr>
  743. <th style="width: 70px">序号</th>
  744. <th>买方客户名称</th>
  745. </tr>
  746. </thead>
  747. <tbody>
  748. <tr v-for="(item,index) in $store.state.mfmodal" @click="$store.commit('infoMfmodal',index)">
  749. <td v-text="index+1"></td>
  750. <td v-text="item.mf_custname" data-toggle="modal"
  751. data-target="#mfdetail" @click="$store.commit('infoMfmodal',index)"></td>
  752. </tr>
  753. <tr>
  754. <td><input type="button" value="+" @click="$store.commit('addMfmodal')" data-target="#mfdetail"
  755. data-toggle="modal"/></td>
  756. <td></td>
  757. </tr>
  758. </tbody>
  759. </table>
  760. </div>
  761. <!-- 买方附件上传 -->
  762. <div class="tab">
  763. <button class="toggle" style="width:100px" @click="$store.commit('changeShow',{index:12})"><h5>客户上传的附件</h5></button>
  764. <table class="table table-striped" v-show="$store.state.show[12].isshow">
  765. <thead>
  766. <tr>
  767. <th style="width: 70px">序号</th>
  768. <th width="571">文件类型</th>
  769. <th width="571">下载文件</th>
  770. </tr>
  771. </thead>
  772. <tbody>
  773. <tr v-for="(item,index) in filesTypeData" class="files-tab-tr">
  774. <td v-text="index+1"></td>
  775. <td>{{item.type}}</td>
  776. <td>
  777. <template v-if="item.fileObj">
  778. <a class="files-tab" :href="fileObj.path" target="_blank" v-if="item.fileObj.length > 0" v-for="fileObj in item.fileObj" :title="fileObj.name">{{fileObj.name}}</a>
  779. <span v-if="item.fileObj.length == 0">无</span>
  780. </template>
  781. <template v-else>
  782. <span>无</span>
  783. </template>
  784. </td>
  785. </tr>
  786. </tbody>
  787. </table>
  788. </div>
  789. <modal v-model="$store.state.openmf" title="买方客户资料填写" ref="modal" size="lg">
  790. <div v-for="(item,index) in $store.state.mfmodal" v-show="item.show">
  791. <div class="tab">
  792. <button class="toggle" style="width:100px"><h5>买方客户信息</h5></button>
  793. <table class='table table-striped'>
  794. <tbody>
  795. <tr>
  796. <td style="width: 100px">买方名称</td>
  797. <td colspan="3"><input style="width:100%" type="text"
  798. v-model="item.mf_custname"></td>
  799. </tr>
  800. <tr>
  801. <td>申请额度(元)</td>
  802. <td colspan="3"><input type="number" v-model="item.mf_credit"/></td>
  803. </tr>
  804. <tr>
  805. <td>法人代表</td>
  806. <td><input type="text" v-model="item.mf_legrep" /></td>
  807. <td>注册资本(万元)</td>
  808. <td><input type="number" v-model="item.mf_regcapital"/></td>
  809. </tr>
  810. <tr>
  811. <td>经营地址</td>
  812. <td><input type="text" v-model="item.mf_addr"/></td>
  813. <td>成立时间</td>
  814. <td>
  815. <el-date-picker
  816. required
  817. v-model="item.mf_estabtime"
  818. type="date"
  819. placeholder="选择日期">
  820. </el-date-picker>
  821. </td>
  822. </tr>
  823. <tr>
  824. <td>联系人</td>
  825. <td><input type="text" v-model="item.mf_contact"></td>
  826. <td>联系电话</td>
  827. <td><input type="text" v-model="item.mf_contactnum"/></td>
  828. </tr>
  829. <tr>
  830. <td>传真</td>
  831. <td><input type="text" v-model="item.mf_fax"/></td>
  832. <td>电子邮箱</td>
  833. <td><input type="text" v-model="item.mf_email"/></td>
  834. </tr>
  835. <tr>
  836. <td>结算开户行</td>
  837. <td><input type="text" v-model="item.mf_balancebank"/></td>
  838. <td>银行账户</td>
  839. <td><input type="text" v-model="item.mf_bankaccount"/></td>
  840. </tr>
  841. <tr>
  842. <td>交易产品</td>
  843. <td><input type="text" v-model="item.mf_tradprod"/></td>
  844. <td>付款条件</td>
  845. <td><input type="text" v-model="item.mf_payterm"/></td>
  846. </tr>
  847. <tr>
  848. <td>股东占比(%)</td>
  849. <td colspan="3"><input type="number" v-model="item.mf_shareholder"/></td>
  850. </tr>
  851. <tr>
  852. <td>经营范围</td>
  853. <td colspan="3"><input type="text" v-model="item.mf_businsscope"/></td>
  854. </tr>
  855. <tr>
  856. <td>是否与其他保理商合作</td>
  857. <td>
  858. <select v-model="item.mf_coopohers" style="width:100%;border;none;">
  859. <option value="-1">是</option>
  860. <option value="0">否</option>
  861. </select>
  862. </td>
  863. <td>是否在保险公司取得保险额度</td>
  864. <td>
  865. <select v-model="item.mf_hasinslimit" style="width:100%;border;none;">
  866. <option value="-1">是</option>
  867. <option value="0">否</option>
  868. </select>
  869. </td>
  870. </tr>
  871. </tbody>
  872. </table>
  873. </div>
  874. <!--双方交易情况-->
  875. <div class="tab">
  876. <button class="toggle" style="width:150px"><h5>近三年双方交易情况</h5></button>
  877. <table class="table table-striped">
  878. <thead>
  879. <tr>
  880. <th style="width:70px">序号</th>
  881. <th style="width:70px">年度</th>
  882. <th style="width:100px">购买总额(元)</th>
  883. <th style="width:200px">其他赊账总金额(元)</th>
  884. <th style="width:200px">折扣金额(元)</th>
  885. <th style="width:200px">有无逾期付款记录</th>
  886. </tr>
  887. </thead>
  888. <tbody>
  889. <tr v-for="(item1,index1) in item.mfCustInfoDetailList">
  890. <td v-text="index1+1"></td>
  891. <td><input type="number" v-model="item1.mfd_year" /></td>
  892. <td><input type="number" v-model="item1.mfd_amount"/></td>
  893. <td><input type="number" v-model="item1.mfd_chargeamount"/></td>
  894. <td><input type="number" v-model="item1.mfd_discountamount"/></td>
  895. <td>
  896. <select>
  897. <option>有</option>
  898. <option>没有</option>
  899. </select>
  900. </td>
  901. </tr>
  902. <tr>
  903. <td><input type="button" value="+" @click="$store.commit('addmfCustInfoDetailList',index)"/>
  904. </td>
  905. <td></td>
  906. <td></td>
  907. <td></td>
  908. <td></td>
  909. <td></td>
  910. </tr>
  911. </tbody>
  912. </table>
  913. </div>
  914. </div>
  915. </modal>
  916. </div>
  917. </div>
  918. </template>
  919. <script>
  920. export default {
  921. fetch({store}){
  922. return Promise.all([
  923. store.dispatch('findcustomer'),
  924. store.dispatch('findCustomerFiles')
  925. ])
  926. },
  927. data(){
  928. return{
  929. dialogVisible:false,
  930. tabInfo: {},
  931. woekexper_modal: ''
  932. }
  933. },
  934. computed: {
  935. files () {
  936. return this.$store.state.custFiles
  937. },
  938. filesTypeData () {
  939. let fileTypes = [
  940. {
  941. type: '保理业务申请书'
  942. },
  943. {
  944. type: '营业执照正副本'
  945. },
  946. {
  947. type: '开户许可证'
  948. },
  949. {
  950. type: '法人代表身份证'
  951. },
  952. {
  953. type: '实际控制人身份证'
  954. },
  955. {
  956. type: '法人代表证明书'
  957. },
  958. {
  959. type: '公司章程'
  960. },
  961. {
  962. type: '实际控制人征信授权书'
  963. },
  964. {
  965. type: '租赁合同/房产证'
  966. },
  967. {
  968. type: '近三个月水电费单据'
  969. },
  970. {
  971. type: '法定代表人和实际控制人简历(Word版)'
  972. },
  973. {
  974. type: '近三年财务报表和近一期月度财报(含资产负债表、损益表、现金流量表)'
  975. },
  976. {
  977. type: '前五大上游企业贸易合同(两份)'
  978. },
  979. {
  980. type: '前五大下游企业贸易合同(两份)'
  981. },
  982. {
  983. type: '近1年税控系统导出的增值税发票清单(Excel版)'
  984. },
  985. {
  986. type: '近一年最大的五份贸易合同'
  987. },
  988. {
  989. type: '税控系统导出近一年全部发票(Excel版)'
  990. },
  991. {
  992. type: '公司人行征信报告及对外担保信息'
  993. },
  994. {
  995. type: '担保人的人行征信报告及对外担保信息'
  996. },
  997. {
  998. type: '上一年度增值税(营业税)、所得税纳税证明'
  999. },
  1000. {
  1001. type: '企业近1年主要结算银行流水'
  1002. },
  1003. {
  1004. type: '个人近1年主要结算银行流水'
  1005. },
  1006. {
  1007. type: '其他'
  1008. }
  1009. ]
  1010. if (this.files.length) {
  1011. fileTypes.map(item => {
  1012. item.fileObj = []
  1013. this.files.map(custF => {
  1014. if (item.type === custF.type) {
  1015. item.fileObj.push({
  1016. path: custF.path,
  1017. name: custF.name
  1018. })
  1019. }
  1020. })
  1021. })
  1022. }
  1023. return fileTypes
  1024. }
  1025. },
  1026. methods: {
  1027. //弹出工作简介模态框
  1028. infoTab: function (tab) {
  1029. this.tabInfo = tab
  1030. this.dialogVisible = true
  1031. this.woekexper_modal = this.tabInfo.ce_woekexper
  1032. },
  1033. //保存工作简介
  1034. subTab: function () {
  1035. this.tabInfo.ce_woekexper = this.woekexper_modal
  1036. this.dialogVisible = false
  1037. }
  1038. }
  1039. }
  1040. </script>
  1041. <style scoped>
  1042. .files-tab {
  1043. display: block;
  1044. overflow: hidden;
  1045. text-overflow: ellipsis;
  1046. white-space: nowrap;
  1047. max-width: 570px;
  1048. }
  1049. .files-tab-tr td {
  1050. vertical-align: middle;
  1051. }
  1052. </style>