creditDetail.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <template>
  2. <div class="app-container zap-main zap-credit-detail">
  3. <div v-if="this.financeStatus == null || this.financeStatus == '00' || this.financeStatus == '03'" class="zap-No">
  4. <el-row type="flex" align="middle" :gutter="10">
  5. <el-col :span="6">
  6. <el-row type="flex" align="middle">
  7. <img class="icon" src="../../../assets/images/icon_contract_no.png" alt="">
  8. <span class="label">融信编号</span>
  9. <span class="value">{{form.zfiNumber}}</span>
  10. </el-row>
  11. </el-col>
  12. <el-col :span="6">
  13. <el-row type="flex" align="middle">
  14. <img class="icon" src="../../../assets/images/icon_calendar.png" alt="">
  15. <span class="label">创建时间</span>
  16. <el-date-picker disabled v-model="form.createTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss">
  17. </el-date-picker>
  18. </el-row>
  19. </el-col>
  20. <el-col :span="6">
  21. <el-row type="flex" align="middle">
  22. <img class="icon" src="../../../assets/images/icon_person.png" alt="">
  23. <span class="label">创建人</span>
  24. <span class="value">{{form.createName}}</span>
  25. </el-row>
  26. </el-col>
  27. <el-col :span="6">
  28. <el-row type="flex" align="middle" justify="end">
  29. <el-button type="success">成功按钮</el-button>
  30. </el-row>
  31. </el-col>
  32. </el-row>
  33. </div>
  34. <el-row class="zap-credit-detial__form zap-margin-top">
  35. <el-col :span="24">
  36. <el-form label-width="95px">
  37. <template v-if="this.financeStatus == null || this.financeStatus == '00' || this.financeStatus == '03'">
  38. <el-row>
  39. <el-col :span="10">
  40. <el-form-item size="large" label="开立方" prop="openName">
  41. <el-input v-model="form.openName" readonly />
  42. </el-form-item>
  43. </el-col>
  44. </el-row>
  45. <el-row>
  46. <el-col :span="10">
  47. <el-form-item size="large" label="接收方" prop="receiveName">
  48. <el-input v-model="form.receiveName" readonly />
  49. </el-form-item>
  50. </el-col>
  51. <el-col :span="10">
  52. <el-form-item size="large" label="授信额度" prop="zfpName">
  53. <el-input v-model="form.zfpName" readonly />
  54. </el-form-item>
  55. </el-col>
  56. </el-row>
  57. <el-row>
  58. <el-col :span="10">
  59. <el-form-item size="large" label="签发有效期" prop="zfiEffectiveDate">
  60. <el-date-picker disabled v-model="form.zfiEffectiveDate" type="date" value-format="yyyy-MM-dd">
  61. </el-date-picker>
  62. </el-form-item>
  63. </el-col>
  64. <el-col :span="10">
  65. <el-form-item size="large" label="承诺还款日" prop="zfiExpireDate">
  66. <el-date-picker disabled v-model="form.zfiExpireDate" type="date" value-format="yyyy-MM-dd">
  67. </el-date-picker>
  68. </el-form-item>
  69. </el-col>
  70. </el-row>
  71. </template>
  72. <el-row>
  73. <el-col :span="10">
  74. <el-form-item size="large" label="签发金额">
  75. <el-input v-model="form.zfiAmount" />
  76. </el-form-item>
  77. </el-col>
  78. <el-col :span="4">
  79. <span class="issued-words__label">金额大写</span>
  80. <span class="issued-words__value">{{issuedAmount}}</span>
  81. </el-col>
  82. </el-row>
  83. </el-form>
  84. </el-col>
  85. <el-col :span="24">
  86. <div class="zap-margin-top" style="margin-bottom: 28px;">
  87. <table class="gridtable" style="width:100%;text-align:center" align="center" v-show="financeStatus != null && financeStatus != '00' && financeStatus != '03'">
  88. <tr>
  89. <td rowspan="4">开立方</td>
  90. <td>全称</td>
  91. <td>{{openName}}</td>
  92. <td rowspan="4">接收方</td>
  93. <td>全称</td>
  94. <td>{{receiveName}}</td>
  95. </tr>
  96. <tr>
  97. <td>社会统一码</td>
  98. <td>{{openCode}}</td>
  99. <td>社会统一码</td>
  100. <td>{{receiverCode}}</td>
  101. </tr>
  102. <tr>
  103. <td>开户银行</td>
  104. <td>{{openBank}}</td>
  105. <td>开户银行</td>
  106. <td>{{receiverBank}}</td>
  107. </tr>
  108. <tr>
  109. <td>账号</td>
  110. <td>{{openAccount}}</td>
  111. <td>账号</td>
  112. <td>{{receiverAccount}}</td>
  113. </tr>
  114. <tr>
  115. <td colspan="2">粮信金额</td>
  116. <td colspan="4">人民币(大写):{{issuedAmount}}<br>人民币(小写)¥{{form.zfiAmount}}</td>
  117. </tr>
  118. <tr>
  119. <td colspan="2">起止日期</td>
  120. <td colspan="4">{{stopDate}}</td>
  121. </tr>
  122. </table>
  123. </div>
  124. <!-- 应收账款 -->
  125. <div class="zap-credit-detail__receivable">
  126. <el-row type="flex" justify="space-between" align="middle">
  127. <el-col>
  128. <el-row type="flex" align="middle">
  129. <div class="title"><span class="snow-tag">*</span>应收账款</div>
  130. <el-button type="primary">选择</el-button>
  131. </el-row>
  132. </el-col>
  133. <el-col>
  134. <el-row class="zap-credit-detail__receivable-total" type="flex" justify="end" align="middle">
  135. <span class="label">合计金额:</span>
  136. <span class="value">{{checkTotalAmt}}</span>
  137. <span class="label" style="margin-left: 48px;">金额大写:</span>
  138. <span class="value">{{checkTotalBigAmt}}</span>
  139. </el-row>
  140. </el-col>
  141. </el-row>
  142. </div>
  143. <el-table class="zap-margin-top" :data="payList" style="width: 100%;">
  144. <el-table-column label="账款名称" align="center" prop="zbiName" show-overflow-tooltip />
  145. <el-table-column label="应收企业" align="center" prop="receiveName" />
  146. <el-table-column label="应付企业" align="center" prop="payName" />
  147. <el-table-column label="预计还款期" align="center" prop="zbiPayDate" show-overflow-tooltip />
  148. <el-table-column label="金额" align="center" prop="zbiAmount" />
  149. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250">
  150. <template slot-scope="scope">
  151. <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.$index, payList)">详情</el-button>
  152. </template>
  153. </el-table-column>
  154. </el-table>
  155. </el-col>
  156. </el-row>
  157. <!-- 签署合同 -->
  158. <el-row class="zap-margin-top">
  159. <div class="zap-title">附件信息</div>
  160. <div class="zap-enclosure">
  161. <el-table :data="creditSealList" style="width: 100%">
  162. <el-table-column label="文件名称" align="center" prop="pfiFileName" show-overflow-tooltip>
  163. <template slot-scope="scope">
  164. <img style="width:30px;height:30px;" src="../../../assets/images/pdf.png" />
  165. <span>{{scope.row.pfiFileName}}
  166. </span>
  167. </template>
  168. </el-table-column>
  169. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right">
  170. <template slot-scope="scope">
  171. <el-button size="mini" type="text" icon="el-icon-view" @click="handleDownload(scope.row)">下载</el-button>
  172. <el-button size="mini" type="text" icon="el-icon-view" @click="handlePreview(scope.row)">预览</el-button>
  173. </template>
  174. </el-table-column>
  175. </el-table>
  176. </div>
  177. </el-row>
  178. <template v-if="this.companyType == '01'">
  179. <!-- 最终还款明细 -->
  180. <el-row class="zap-margin-top">
  181. <el-form :inline="true" ref="forms" :model="forms" label-width="auto" style="margin-top: 20px" disabled>
  182. <el-row>
  183. <el-col :span="8">
  184. <el-form-item label="还款明细编号:" prop="zfcName">
  185. <el-input v-model="forms.zfrPayNumber" />
  186. </el-form-item>
  187. </el-col>
  188. <el-col :span="8">
  189. <el-form-item label="最终付款方:" prop="core">
  190. <el-input v-model="forms.core" />
  191. </el-form-item>
  192. </el-col>
  193. <el-col :span="8">
  194. <el-form-item label="还款承诺函编号:" prop="zfiPaymentNumber">
  195. <el-input v-model="forms.zfiPaymentNumber" />
  196. </el-form-item>
  197. </el-col>
  198. </el-row>
  199. <el-row>
  200. <el-col :span="8">
  201. <el-form-item label="付款承诺日期:" prop="zfrRepaymentDate">
  202. <el-input v-model="forms.zfrRepaymentDate" />
  203. </el-form-item>
  204. </el-col>
  205. <el-col :span="8">
  206. <el-form-item label="承诺付款金额:" prop="zfrLoanAmount">
  207. <el-input v-model="forms.zfrLoanAmount" />
  208. </el-form-item>
  209. </el-col>
  210. <el-col :span="8">
  211. <el-form-item label="融信产品:" prop="zfpName">
  212. <el-input v-model="forms.zfpName" />
  213. </el-form-item>
  214. </el-col>
  215. </el-row>
  216. <el-row>
  217. <el-col :span="8">
  218. <el-form-item label="承诺付款账户:" prop="zfpcrAccount">
  219. <el-input v-model="forms.zfpcrAccount" />
  220. </el-form-item>
  221. </el-col>
  222. <el-col :span="8">
  223. <el-form-item label="付款账户开户行:" prop="zfpcrAccountBank">
  224. <el-input v-model="forms.zfpcrAccountBank" />
  225. </el-form-item>
  226. </el-col>
  227. <el-col :span="8">
  228. <el-form-item label="还款状态:" prop="zfrApplyStatus">
  229. <el-input v-model="forms.zfrApplyStatus" />
  230. </el-form-item>
  231. </el-col>
  232. </el-row>
  233. <el-table v-loading="loading" :data="list" border>
  234. <el-table-column label="收款账户" align="center" prop="zfrCollectionAccount" :show-overflow-tooltip="true" />
  235. <el-table-column label="收款账户户名" align="center" prop="supplier" :show-overflow-tooltip="true" />
  236. <el-table-column label="收款金额" align="center" prop="zfrLoanAmount" :show-overflow-tooltip="true" />
  237. </el-table>
  238. </el-form>
  239. </el-row>
  240. </template>
  241. <el-row type="flex" justify="center" align="middle" style="height: 67px">
  242. <el-button type="primary" plain @click="cancel">取消</el-button>
  243. </el-row>
  244. <!-- 附件详情 -->
  245. <el-dialog title="详情" :visible.sync="openDetailBill" width="1120px" append-to-body>
  246. <detail-bill :zbiId="this.zbiId" v-if="openDetailBill"></detail-bill>
  247. </el-dialog>
  248. <!--预览-->
  249. <el-dialog :visible.sync="openFile" width="1000px" append-to-body>
  250. <img :src="wordUrl" v-if="show" width='450px' height='500px' />
  251. <iframe :src="wordUrl" width='800px' height='600px' frameborder='1' v-if="heid" />
  252. </el-dialog>
  253. </div>
  254. </template>
  255. <script>
  256. import {
  257. getCreditDetail,
  258. getFile
  259. } from "@/api/service/credit/credit";
  260. import {
  261. accAdd
  262. } from "@/utils/calculation";
  263. import {
  264. getToken
  265. } from "@/utils/auth";
  266. import {
  267. getCreditSealFile
  268. } from "@/api/service/credit/creditHandle";
  269. import DetailBill from "@/views/service/credit/billDetail";
  270. import {
  271. getRepayment
  272. } from "@/api/service/repayment/repayment";
  273. export default {
  274. name: "addCredit",
  275. components: {
  276. DetailBill
  277. },
  278. data() {
  279. return {
  280. //企业类型
  281. companyType: null,
  282. //授信状态
  283. financeStatus: null,
  284. //融资id
  285. zfrId: null,
  286. //往来账款id
  287. zbiId: '',
  288. // 总条数
  289. total: 0,
  290. // 表单参数
  291. form: {
  292. },
  293. forms: {},
  294. // 表单校验
  295. rules: {},
  296. // 是否显示弹出层
  297. open: false,
  298. openDetailBill: false,
  299. //应付账款
  300. payList: [],
  301. //签发金额大写
  302. issuedAmount: "零元整",
  303. //合计选中的应付账款的金额
  304. checkTotalAmt: "0.00",
  305. //合计选中的应付账款的大写金额
  306. checkTotalBigAmt: "零元整",
  307. //标题
  308. tableTitle: "",
  309. //控制收款账号是否显示
  310. isShow: false,
  311. //获取类型
  312. createType: '',
  313. //合同附件
  314. contractFileList: [],
  315. //发票附件
  316. invoiceFileList: [],
  317. //其他文件
  318. otherFileList: [],
  319. openFile: false,
  320. wordUrl: "",
  321. show: false,
  322. heid: false,
  323. //盖章文件
  324. creditSealList: [],
  325. //开立方
  326. openName: null,
  327. //开立社会码
  328. openCode: null,
  329. //开立银行
  330. openBank: null,
  331. //开立账户
  332. openAccount: null,
  333. //接收方
  334. receiveName: null,
  335. //接收方社会统一码
  336. receiverCode: null,
  337. //接收方银行
  338. receiverBank: null,
  339. //接收方账户
  340. receiverAccount: null,
  341. //起止日期
  342. stopDate: null,
  343. };
  344. },
  345. created() {
  346. const zfiId = this.$route.params && this.$route.params.zfiId;
  347. getCreditDetail(zfiId).then((response) => {
  348. debugger
  349. if (response.data) {
  350. //融信信息
  351. this.form = response.data.financeInf;
  352. this.financeStatus = response.data.financeInf.zfiStatus;
  353. this.zfrId = response.data.zfrId;
  354. this.companyType = response.data.companyType;
  355. this.createType = response.data.financeInf.zfiCreateType;
  356. //核心开立
  357. if (response.data.financeInf.zfiCreateType == '1') {
  358. this.tableTitle = "资产信息";
  359. } else {
  360. this.tableTitle = "资产信息";
  361. //融资开立
  362. if (response.data.financeInf.zfiCreateType == '2') {
  363. //收款账号
  364. //非电子
  365. if (response.data.proComRel.zfpcrLoanType != '0') {
  366. this.isShow = true;
  367. }
  368. }
  369. }
  370. //接收方
  371. this.form.receiveName = response.data.receiveName;
  372. //授信额度
  373. this.form.zfpName = response.data.zfpName;
  374. //开立方
  375. this.form.openName = response.data.openName;
  376. //创建人
  377. this.form.createName = response.data.createName;
  378. //签发金额大写
  379. this.issuedAmount = this.smallToBig(this.form.zfiAmount);
  380. //给表格赋值
  381. this.openName = response.data.openName;
  382. this.openCode = response.data.openCode;
  383. this.openBank = response.data.openBank;
  384. this.openAccount = response.data.openAccount;
  385. this.receiveName = response.data.receiveName;
  386. this.receiverCode = response.data.receiverCode;
  387. this.receiverBank = response.data.receiverBank;
  388. this.receiverAccount = response.data.receiverAccount;
  389. this.stopDate = response.data.stopDate;
  390. }
  391. if (response.data.payList) {
  392. this.payList = response.data.payList.records;
  393. this.getReTotal(this.payList);
  394. //附件
  395. this.getFile(this.payList);
  396. }
  397. this.getCreditSealFile();
  398. }).then(() => {
  399. getRepayment(this.zfrId).then((response) => {
  400. this.forms = response.data[0];
  401. this.forms.zfrApplyStatus = this.selectDictLabel(this.applyStatusOptions, this.forms.zfrApplyStatus)
  402. this.list = response.data;
  403. })
  404. this.getDicts("zc_zfr_apply_status").then((response) => {
  405. this.applyStatusOptions = response.data;
  406. });
  407. })
  408. },
  409. methods: {
  410. // 取消按钮
  411. cancel() {
  412. this.$store.dispatch("tagsView/delView", this.$route);
  413. this.$router.go(-1);
  414. },
  415. /* 多选框跨页 */
  416. rowkeyCustomer(row) {
  417. return row.cciId;
  418. },
  419. //重新合计
  420. getReTotal(chooseTicket) {
  421. //合计
  422. this.checkTotalAmt = "0.00";
  423. for (var i = 0; i < chooseTicket.length; i++) {
  424. this.checkTotalAmt = accAdd(this.checkTotalAmt, chooseTicket[i].zbiAmount, 2);
  425. }
  426. this.checkTotalBigAmt = this.smallToBig(this.checkTotalAmt);
  427. this.checkTotalAmt = this.amtFormat(this.checkTotalAmt);
  428. },
  429. //获取附件信息
  430. getFile(datas) {
  431. var queryParamsFile = {};
  432. queryParamsFile.ticketList = datas;
  433. getFile(queryParamsFile).then((response) => {
  434. if (response.data) {
  435. //获取发票文件
  436. this.invoiceFileList = response.data.invoiceFileList;
  437. //获取合同文件
  438. this.contractFileList = response.data.contractFileList;
  439. //获取其他文件
  440. this.otherFileList = response.data.otherFileList;
  441. }
  442. });
  443. },
  444. //文件下载
  445. handleDownload(row) {
  446. const pfiUrl = row.pfiUrl;
  447. if (pfiUrl != null && pfiUrl != '') {
  448. window.open(pfiUrl + "/" + getToken());
  449. } else {
  450. this.$message({
  451. message: '该附件不存在!',
  452. type: 'warning'
  453. });
  454. return;
  455. }
  456. },
  457. //详情按钮
  458. handleDetail(index, rows) {
  459. debugger
  460. this.zbiId = rows[0].zbiId
  461. this.openDetailBill = true
  462. },
  463. //格式化金额
  464. amtFormat(cellValue) {
  465. if (cellValue == null || cellValue == undefined || cellValue == '') {
  466. cellValue = '0.00'
  467. }
  468. cellValue += '';
  469. if (!cellValue.includes('.')) {
  470. cellValue += '.00';
  471. }
  472. return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  473. return $1 + ',';
  474. }).replace(/\.$/, '');
  475. },
  476. /* // 将数字金额转换为大写金额 */
  477. smallToBig(money) {
  478. // 将数字金额转换为大写金额
  479. var cnNums = new Array(
  480. "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖"); //汉字的数字
  481. var cnIntRadice = new Array("", "拾", "佰", "仟"); //基本单位
  482. var cnIntUnits = new Array("", "万", "亿", "兆"); //对应整数部分扩展单位
  483. var cnDecUnits = new Array("角", "分", "毫", "厘"); //对应小数部分单位
  484. var cnInteger = "整"; //整数金额时后面跟的字符
  485. var cnIntLast = "元"; //整数完以后的单位
  486. //最大处理的数字
  487. var maxNum = 999999999999999.9999;
  488. var integerNum; //金额整数部分
  489. var decimalNum; //金额小数部分
  490. //输出的中文金额字符串
  491. var chineseStr = "";
  492. var parts; //分离金额后用的数组,预定义
  493. if (money == "" || money == null || money == undefined) {
  494. return "零元零角零分";
  495. }
  496. money = parseFloat(money);
  497. if (money >= maxNum) {
  498. //超出最大处理数字
  499. return "超出最大处理数字";
  500. }
  501. if (money == 0) {
  502. chineseStr = cnNums[0] + cnIntLast + cnInteger;
  503. return chineseStr;
  504. }
  505. //四舍五入保留两位小数,转换为字符串
  506. money = Math.round(money * 100).toString();
  507. integerNum = money.substr(0, money.length - 2);
  508. decimalNum = money.substr(money.length - 2);
  509. //获取整型部分转换
  510. if (parseInt(integerNum, 10) > 0) {
  511. var zeroCount = 0;
  512. var IntLen = integerNum.length;
  513. for (var i = 0; i < IntLen; i++) {
  514. var n = integerNum.substr(i, 1);
  515. var p = IntLen - i - 1;
  516. var q = p / 4;
  517. var m = p % 4;
  518. if (n == "0") {
  519. zeroCount++;
  520. } else {
  521. if (zeroCount > 0) {
  522. chineseStr += cnNums[0];
  523. }
  524. //归零
  525. zeroCount = 0;
  526. chineseStr += cnNums[parseInt(n)] + cnIntRadice[m];
  527. }
  528. if (m == 0 && zeroCount < 4) {
  529. chineseStr += cnIntUnits[q];
  530. }
  531. }
  532. chineseStr += cnIntLast;
  533. }
  534. //小数部分
  535. if (decimalNum != "") {
  536. var decLen = decimalNum.length;
  537. for (var i = 0; i < decLen; i++) {
  538. var n = decimalNum.substr(i, 1);
  539. if (n != "0") {
  540. chineseStr += cnNums[Number(n)] + cnDecUnits[i];
  541. }
  542. }
  543. }
  544. if (chineseStr == "") {
  545. chineseStr += cnNums[0] + cnIntLast + cnInteger;
  546. } else if (decimalNum == "" || /^0*$/.test(decimalNum)) {
  547. chineseStr += cnInteger;
  548. }
  549. return chineseStr;
  550. },
  551. //预览
  552. handlePreview(row) {
  553. const pfiUrl = row.pfiUrl;
  554. const pfiFileName = row.pfiFileName;
  555. if (row.pfiUrl) {
  556. console.log(pfiFileName.substr(-3));
  557. if (pfiFileName.substr(-3) == "pdf") {
  558. this.wordUrl = pfiUrl + "/" + getToken();
  559. this.show = false;
  560. this.heid = true;
  561. } else if (
  562. pfiFileName.substr(-3) == "jpg" ||
  563. pfiFileName.substr(-3) == "png" ||
  564. pfiFileName.substr(-3) == "JPG" ||
  565. pfiFileName.substr(-3) == "PNG" ||
  566. pfiFileName.substr(-4) == "jpeg" ||
  567. pfiFileName.substr(-3) == "JPEG"
  568. ) {
  569. this.wordUrl =
  570. pfiUrl +
  571. "/" +
  572. getToken();
  573. this.show = true;
  574. this.heid = false;
  575. console.log("====>", this.wordUrl);
  576. } else if (
  577. pfiFileName.substr(-3) == "doc" ||
  578. pfiFileName.substr(-3) == "DOC" ||
  579. pfiFileName.substr(-4) == "docx" ||
  580. pfiFileName.substr(-3) == "DOCX"
  581. ) {
  582. this.wordUrl =
  583. "https://view.officeapps.live.com/op/view.aspx?src=" +
  584. pfiUrl +
  585. "/" +
  586. getToken() +
  587. "/" +
  588. pfiFileName;
  589. this.show = false;
  590. this.heid = true;
  591. console.log("====>", this.wordUrl);
  592. } else {
  593. this.$message({
  594. message: "暂不支持该类型文件预览",
  595. type: "warning",
  596. });
  597. return;
  598. }
  599. }
  600. this.openFile = true;
  601. },
  602. //获取盖章文件
  603. getCreditSealFile() {
  604. getCreditSealFile(this.form).then((response) => {
  605. if (response.data.list) {
  606. this.creditSealList = response.data.list;
  607. }
  608. });
  609. },
  610. }
  611. };
  612. </script>
  613. <style lang="scss">
  614. .uoloadfj .el-upload--picture-card {
  615. width: 110px;
  616. height: 110px;
  617. line-height: 110px;
  618. }
  619. .fjUoloadSty .el-upload--picture-card {
  620. display: none;
  621. }
  622. table th.star div::before {
  623. content: '*';
  624. color: red;
  625. }
  626. </style><style>
  627. table.gridtable {
  628. font-size: 11px;
  629. color: #333333;
  630. border-width: 1px;
  631. border-collapse: collapse;
  632. }
  633. table.gridtable th {
  634. border-width: 1px;
  635. padding: 8px;
  636. border-style: solid;
  637. background-color: #dedede;
  638. }
  639. table.gridtable td {
  640. border-width: 1px;
  641. padding: 8px;
  642. border-style: solid;
  643. }
  644. </style><style lang="scss" scoped>
  645. .zap-credit-detail {}
  646. .zap-credit-detial__form {
  647. padding: 24px 12px 20px;
  648. background-color: #ffffff;
  649. }
  650. .zap-credet-detail__electronic--title {
  651. font-size: 14px;
  652. color: #333333;
  653. }
  654. .zap-credit-detial__title {
  655. padding: 20px 12px 28px;
  656. font-size: 16px;
  657. color: #333333;
  658. }
  659. .zap-credit-detail__receivable {
  660. .title {
  661. margin-right: 20px;
  662. font-size: 14px;
  663. color: #333333;
  664. }
  665. }
  666. .zap-credit-detail__receivable-total {
  667. .label {
  668. font-size: 12px;
  669. color: #999999;
  670. }
  671. .vlaue {
  672. font-size: 14px;
  673. color: #333333;
  674. }
  675. }
  676. .snow-tag {
  677. margin-right: 14px;
  678. font-size: 14px;
  679. color: #f41d27;
  680. }
  681. .issued-words__label,
  682. .issued-words__value {
  683. display: inline-block;
  684. height: 40px;
  685. line-height: 40px;
  686. font-size: 12px;
  687. color: #333333;
  688. }
  689. .issued-words__label {
  690. margin-left: 20px;
  691. }
  692. .zap-enclosure {
  693. padding: 0 12px 18px;
  694. background-color: #ffffff;
  695. }
  696. .zap-title {
  697. height: 60px;
  698. line-height: 60px;
  699. padding: 0 25px;
  700. font-size: 16px;
  701. color: #333333;
  702. background-color: #ffffff;
  703. }
  704. .el-date-editor.el-input,
  705. .el-date-editor.el-input__inner {
  706. width: 100%;
  707. }
  708. .zap-No {
  709. padding: 14px 25px;
  710. background-color: #ffffff;
  711. .icon {
  712. width: 18px;
  713. margin-right: 10px;
  714. }
  715. .label {
  716. white-space: nowrap;
  717. margin-right: 8px;
  718. font-size: 14px;
  719. color: #999999;
  720. }
  721. .value {
  722. font-size: 14px;
  723. color: #333333;
  724. }
  725. }
  726. </style>