detailDialog.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. <template>
  2. <div>
  3. <el-form ref="form" :model="form" :rules="rules" label-width="120px">
  4. <headerTitle title="订单信息"> </headerTitle>
  5. <el-row>
  6. <el-col :span="12">
  7. <el-form-item
  8. label="订单编号:"
  9. prop="orderNo"
  10. style="margin-bottom: 16px"
  11. >
  12. {{ form.orderNo }}
  13. </el-form-item>
  14. <el-form-item
  15. label="项目名称:"
  16. prop="projectName"
  17. style="margin-bottom: 16px"
  18. >
  19. {{ form.projectName }}
  20. </el-form-item>
  21. <el-form-item
  22. label="需求部门:"
  23. prop="requireDeptName"
  24. style="margin-bottom: 16px"
  25. >
  26. {{ form.requireDeptName }}
  27. </el-form-item>
  28. <el-form-item
  29. label="订单类型:"
  30. prop="requireDeptName"
  31. style="margin-bottom: 16px"
  32. >
  33. {{ form.sourceTypeName }}
  34. </el-form-item>
  35. <!-- <el-form-item-->
  36. <!-- label="采购订单类型:"-->
  37. <!-- prop="purchaseTypeName"-->
  38. <!-- style="margin-bottom: 16px"-->
  39. <!-- >-->
  40. <!-- {{ form.purchaseTypeName }}-->
  41. <!-- </el-form-item>-->
  42. <el-form-item prop="orderFiles" label="附件:">
  43. <fileMain v-model="form.orderFiles" type="view"></fileMain>
  44. <!-- <div-->
  45. <!-- v-if="detailData.orderFiles && detailData.orderFiles?.length"-->
  46. <!-- >-->
  47. <!-- <el-link-->
  48. <!-- v-for="link in detailData.orderFiles"-->
  49. <!-- :key="link.id"-->
  50. <!-- type="primary"-->
  51. <!-- :underline="false"-->
  52. <!-- @click="downloadFile(link)"-->
  53. <!-- >-->
  54. <!-- {{ link.name }}</el-link-->
  55. <!-- >-->
  56. <!-- </div>-->
  57. </el-form-item>
  58. <el-form-item prop="remark" label="备注:">
  59. {{ form.remark }}
  60. </el-form-item>
  61. </el-col>
  62. <el-col :span="12">
  63. <el-form-item
  64. label="合同名称:"
  65. prop="contractName"
  66. style="margin-bottom: 16px"
  67. >
  68. {{ form.contractName }}
  69. </el-form-item>
  70. <el-form-item
  71. label="采购计划名称:"
  72. prop="purchasePlanName"
  73. style="margin-bottom: 16px"
  74. >
  75. {{ form.purchasePlanName }}
  76. </el-form-item>
  77. <el-form-item
  78. label="结算方式:"
  79. prop="settlementModeName"
  80. style="margin-bottom: 16px"
  81. >
  82. {{ detailData.settlementModeName }}
  83. </el-form-item>
  84. <el-form-item
  85. label="需求人:"
  86. prop="requireUserName"
  87. style="margin-bottom: 16px"
  88. >
  89. {{ form.requireUserName }}
  90. </el-form-item>
  91. <el-form-item
  92. label="优惠总金额:"
  93. prop="payAmount"
  94. style="margin-bottom: 16px"
  95. >
  96. {{ form.payAmount }}元
  97. </el-form-item>
  98. <el-form-item
  99. label="订单总金额:"
  100. prop="totalAmount"
  101. style="margin-bottom: 16px"
  102. >
  103. {{ form.totalAmount }}元
  104. </el-form-item>
  105. <!-- <el-form-item label="计价方式:" style="margin-bottom: 16px">
  106. {{ form.pricingWay == 1 ? '按数量计费' : '按重量计费' }}
  107. </el-form-item> -->
  108. </el-col>
  109. </el-row>
  110. <headerTitle title="基本信息"></headerTitle>
  111. <el-row>
  112. <el-col :span="12">
  113. <el-form-item
  114. label="采购方名称:"
  115. prop="partaName"
  116. style="margin-bottom: 16px"
  117. >
  118. {{ form.partaName }}
  119. </el-form-item>
  120. <el-form-item
  121. label="采购方统一社会信用代码"
  122. prop="partaUnifiedSocialCreditCode"
  123. label-width="170px"
  124. style="margin-bottom: 16px"
  125. >
  126. {{ form.partaUnifiedSocialCreditCode }}
  127. </el-form-item>
  128. <el-form-item
  129. label="采购方联系人:"
  130. prop="partaLinkName"
  131. style="margin-bottom: 16px"
  132. >
  133. {{ form.partaLinkName }}
  134. </el-form-item>
  135. <el-form-item
  136. label="采购方电话:"
  137. prop="partaTel"
  138. style="margin-bottom: 16px"
  139. >
  140. {{ form.partaTel }}
  141. </el-form-item>
  142. <el-form-item
  143. label="采购方传真:"
  144. prop="partaFax"
  145. style="margin-bottom: 16px"
  146. >
  147. {{ form.partaFax }}
  148. </el-form-item>
  149. <el-form-item
  150. label=" 采购方Email:"
  151. prop="partaEmail"
  152. style="margin-bottom: 16px"
  153. >
  154. {{ form.partaEmail }}
  155. </el-form-item>
  156. <el-form-item
  157. label="采购方地址:"
  158. prop="partaAddress"
  159. style="margin-bottom: 16px"
  160. >
  161. {{ form.partaAddress }}
  162. </el-form-item>
  163. <!-- <el-form-item
  164. label="客户税号"
  165. prop="contactAddress"
  166. style="margin-bottom: 16px"
  167. >
  168. <el-input
  169. clearable
  170. v-model="form.contactAddress"
  171. placeholder="请输入"
  172. />
  173. </el-form-item> -->
  174. </el-col>
  175. <el-col :span="12">
  176. <el-form-item
  177. label="供应商名称:"
  178. prop="partbName"
  179. style="margin-bottom: 16px"
  180. >
  181. {{ form.partbName }}
  182. </el-form-item>
  183. <el-form-item
  184. label="供应商统一社会信用代码"
  185. prop="partbUnifiedSocialCreditCode"
  186. label-width="180px"
  187. style="margin-bottom: 16px"
  188. >
  189. {{ form.partbUnifiedSocialCreditCode }}
  190. </el-form-item>
  191. <el-form-item
  192. label="供应商联系人:"
  193. prop="partbLinkName"
  194. style="margin-bottom: 16px"
  195. >
  196. {{ form.partbLinkName }}
  197. </el-form-item>
  198. <el-form-item
  199. prop="partbTel"
  200. label="供应商联系电话:"
  201. label-width="140px"
  202. >
  203. {{ form.partbTel }}
  204. </el-form-item>
  205. <el-form-item prop="partbFax" label="供应商传真:">
  206. {{ form.partbFax }}
  207. </el-form-item>
  208. <el-form-item
  209. label="供应商Email:"
  210. prop="partbEmail"
  211. style="margin-bottom: 16px"
  212. >
  213. {{ form.partbEmail }}
  214. </el-form-item>
  215. <el-form-item
  216. label="供应商地址:"
  217. prop="partbAddress"
  218. style="margin-bottom: 16px"
  219. >
  220. {{ form.partbAddress }}
  221. </el-form-item>
  222. <!-- <el-form-item
  223. label="售出方税号"
  224. prop="contactAddress"
  225. style="margin-bottom: 16px"
  226. >
  227. <el-input
  228. clearable
  229. v-model="form.contactAddress"
  230. placeholder="请输入"
  231. />
  232. </el-form-item> -->
  233. </el-col>
  234. </el-row>
  235. </el-form>
  236. <el-tabs v-model="activeName" style="margin-top: 15px" type="border-card">
  237. <el-tab-pane label="物品清单" name="1">
  238. <ele-pro-table
  239. ref="table"
  240. :needPage="false"
  241. :columns="competAnalysisListcolumns"
  242. :toolkit="[]"
  243. :datasource="detailData.productList"
  244. row-key="id"
  245. >
  246. <template v-slot:toolbar>
  247. <div class="headbox">
  248. <span class="amount">总计:{{ detailData.totalAmount }}元</span>
  249. <span class="amount">应付金额:{{ detailData.payAmount }}元</span>
  250. </div>
  251. </template>
  252. <template v-slot:technicalDrawings="{ row }">
  253. <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
  254. </template>
  255. </ele-pro-table>
  256. </el-tab-pane>
  257. <el-tab-pane
  258. label="带料清单"
  259. name="2"
  260. v-if="['3', '4', '5', '6','7'].includes(form.sourceType)"
  261. >
  262. <ele-pro-table
  263. ref="table"
  264. :needPage="false"
  265. :columns="competAnalysisListcolumns1"
  266. :toolkit="[]"
  267. :datasource="detailData.rawList"
  268. row-key="id"
  269. >
  270. <template v-slot:technicalDrawings="{ row }">
  271. <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
  272. </template>
  273. </ele-pro-table>
  274. </el-tab-pane>
  275. <el-tab-pane
  276. label="产出清单"
  277. name="3"
  278. v-if="['3', '4', '5', '6','7'].includes(form.sourceType)"
  279. >
  280. <ele-pro-table
  281. ref="table"
  282. :needPage="false"
  283. :columns="competAnalysisListcolumns1"
  284. :toolkit="[]"
  285. :datasource="detailData.outputList"
  286. row-key="id"
  287. >
  288. <template v-slot:technicalDrawings="{ row }">
  289. <fileMain v-model="row.technicalDrawings" type="view"></fileMain>
  290. </template>
  291. </ele-pro-table>
  292. </el-tab-pane>
  293. </el-tabs>
  294. </div>
  295. </template>
  296. <script>
  297. import { getpurchaseorderDetail } from '@/api/bpm/components/purchasingManage/purchaseOrder';
  298. import { getFile } from '@/api/system/file';
  299. import dictMixins from '@/mixins/dictMixins';
  300. import { copyObj } from '@/utils/util';
  301. import fileMain from '@/components/addDoc/index.vue';
  302. export default {
  303. mixins: [dictMixins],
  304. components: { fileMain },
  305. props: {
  306. businessId: {
  307. default: ''
  308. }
  309. },
  310. data() {
  311. return {
  312. visible: false,
  313. detailId: '',
  314. title: '详情',
  315. row: {},
  316. activeName: '1',
  317. form: {
  318. orderFiles: [{ name: '222' }]
  319. },
  320. rules: {},
  321. detailData: {},
  322. receiptPaymentListcolumns: [
  323. {
  324. width: 45,
  325. type: 'index',
  326. columnKey: 'index',
  327. align: 'center',
  328. fixed: 'left'
  329. },
  330. {
  331. width: 200,
  332. prop: 'moneyName',
  333. label: '款项名称',
  334. slot: 'moneyName'
  335. },
  336. {
  337. width: 100,
  338. prop: 'price',
  339. label: '金额',
  340. slot: 'price',
  341. formatter: (_row, _column, cellValue) => {
  342. return _row.price + '元';
  343. }
  344. },
  345. {
  346. width: 100,
  347. prop: 'ratio',
  348. label: '比例',
  349. slot: 'ratio',
  350. formatter: (_row, _column, cellValue) => {
  351. return _row.ratio + '%';
  352. }
  353. },
  354. {
  355. width: 160,
  356. prop: 'deadLine',
  357. label: '截止日期',
  358. slot: 'deadLine'
  359. },
  360. {
  361. prop: 'remark',
  362. label: ' 说明',
  363. slot: 'remark'
  364. }
  365. ],
  366. competAnalysisListcolumns: [
  367. {
  368. width: 45,
  369. type: 'index',
  370. columnKey: 'index',
  371. align: 'center',
  372. fixed: 'left'
  373. },
  374. {
  375. width: 200,
  376. prop: 'productName',
  377. label: '名称',
  378. slot: 'productName',
  379. align: 'center'
  380. },
  381. {
  382. width: 120,
  383. prop: 'productCode',
  384. label: '编码',
  385. slot: 'productCode',
  386. align: 'center'
  387. },
  388. {
  389. width: 200,
  390. prop: 'productCategoryName',
  391. label: '类型',
  392. slot: 'productCategoryName',
  393. align: 'center'
  394. },
  395. {
  396. width: 160,
  397. prop: 'productBrand',
  398. label: '牌号',
  399. slot: 'productBrand',
  400. align: 'center'
  401. },
  402. {
  403. width: 120,
  404. prop: 'modelType',
  405. label: '型号',
  406. slot: 'modelType',
  407. align: 'center'
  408. },
  409. {
  410. width: 120,
  411. prop: 'supplierMark',
  412. label: '供应商代号',
  413. slot: 'supplierMark',
  414. align: 'center'
  415. },
  416. {
  417. width: 120,
  418. prop: 'specification',
  419. label: '规格',
  420. slot: 'specification',
  421. align: 'center'
  422. },
  423. {
  424. width: 120,
  425. prop: 'totalCount',
  426. label: '数量',
  427. slot: 'totalCount',
  428. align: 'center'
  429. },
  430. {
  431. width: 120,
  432. prop: 'measuringUnit',
  433. label: '计量单位',
  434. slot: 'measuringUnit',
  435. align: 'center'
  436. },
  437. {
  438. width: 120,
  439. prop: 'singleWeight',
  440. label: '单重',
  441. slot: 'singleWeight',
  442. align: 'center'
  443. },
  444. {
  445. width: 120,
  446. prop: 'totalWeight',
  447. label: '总重',
  448. slot: 'totalWeight',
  449. align: 'center'
  450. },
  451. {
  452. width: 120,
  453. prop: 'weightUnit',
  454. label: '重量单位',
  455. slot: 'weightUnit',
  456. align: 'center'
  457. },
  458. {
  459. width: 160,
  460. prop: 'pricingWay',
  461. label: '计价方式',
  462. slot: 'pricingWay',
  463. align: 'center',
  464. formatter: (row, column) => {
  465. return row.pricingWay == 1 ? '按数量计费' : row.pricingWay == 2 ? '按重量计费':'';
  466. }
  467. },
  468. {
  469. width: 160,
  470. prop: 'singlePrice',
  471. label: '单价',
  472. slot: 'singlePrice',
  473. align: 'center'
  474. },
  475. {
  476. width: 120,
  477. prop: 'taxRate',
  478. label: '税率',
  479. slot: 'taxRate',
  480. align: 'center',
  481. },
  482. {
  483. width: 160,
  484. prop: 'discountSinglePrice',
  485. label: '折后单价',
  486. slot: 'discountSinglePrice',
  487. align: 'center'
  488. },
  489. {
  490. width: 120,
  491. prop: 'totalPrice',
  492. label: '合计',
  493. slot: 'totalPrice',
  494. formatter: (_row, _column, cellValue) => {
  495. return _row.totalPrice + '元';
  496. },
  497. align: 'center'
  498. },
  499. {
  500. width: 120,
  501. prop: 'discountTotalPrice',
  502. label: '折后合计',
  503. slot: 'discountTotalPrice',
  504. formatter: (_row, _column, cellValue) => {
  505. return _row.discountTotalPrice + '元';
  506. },
  507. align: 'center'
  508. },
  509. {
  510. width: 120,
  511. prop: 'deliveryDays',
  512. label: '交期(天)',
  513. slot: 'deliveryDays'
  514. },
  515. {
  516. width: 160,
  517. prop: 'deliveryDeadline',
  518. label: '交期截止日期',
  519. slot: 'deliveryDeadline',
  520. align: 'center'
  521. },
  522. {
  523. width: 200,
  524. prop: 'guaranteePeriod',
  525. label: '质保期',
  526. slot: 'guaranteePeriod',
  527. formatter: (_row, _column, cellValue) => {
  528. return (
  529. (_row.guaranteePeriod || '') + _row.guaranteePeriodUnitName
  530. );
  531. },
  532. align: 'center'
  533. },
  534. {
  535. width: 160,
  536. prop: 'guaranteePeriodDeadline',
  537. label: '质保截止日期',
  538. slot: 'guaranteePeriodDeadline',
  539. align: 'center'
  540. },
  541. {
  542. width: 120,
  543. prop: 'technicalAnswerName',
  544. label: '技术答疑人',
  545. slot: 'technicalAnswerName',
  546. align: 'center'
  547. },
  548. {
  549. width: 220,
  550. prop: 'technicalParams',
  551. label: '技术参数',
  552. slot: 'technicalParams',
  553. align: 'center'
  554. },
  555. {
  556. width: 240,
  557. prop: 'technicalDrawings',
  558. label: '技术图纸',
  559. slot: 'technicalDrawings',
  560. formatter: (_row, _column, cellValue) => {
  561. return (
  562. (_row.guaranteePeriod || '') + _row.guaranteePeriodUnitName
  563. );
  564. },
  565. align: 'center'
  566. },
  567. {
  568. width: 220,
  569. prop: 'remark',
  570. label: '备注',
  571. slot: 'remark',
  572. align: 'center'
  573. }
  574. ],
  575. competAnalysisListcolumns1: [
  576. {
  577. width: 45,
  578. type: 'index',
  579. columnKey: 'index',
  580. align: 'center',
  581. fixed: 'left'
  582. },
  583. {
  584. width: 200,
  585. prop: 'productName',
  586. label: '名称',
  587. slot: 'productName',
  588. align: 'center'
  589. },
  590. {
  591. width: 120,
  592. prop: 'productCode',
  593. label: '编码',
  594. slot: 'productCode',
  595. align: 'center'
  596. },
  597. {
  598. width: 200,
  599. prop: 'productCategoryName',
  600. label: '类型',
  601. slot: 'productCategoryName',
  602. align: 'center'
  603. },
  604. {
  605. width: 160,
  606. prop: 'productBrand',
  607. label: '牌号',
  608. slot: 'productBrand',
  609. align: 'center'
  610. },
  611. {
  612. width: 120,
  613. prop: 'modelType',
  614. label: '型号',
  615. slot: 'modelType',
  616. align: 'center'
  617. },
  618. {
  619. width: 120,
  620. prop: 'supplierMark',
  621. label: '供应商代号',
  622. slot: 'supplierMark',
  623. align: 'center'
  624. },
  625. {
  626. width: 120,
  627. prop: 'specification',
  628. label: '规格',
  629. slot: 'specification',
  630. align: 'center'
  631. },
  632. {
  633. minWidth: 200,
  634. prop: 'taskName',
  635. label: '工序',
  636. slot: 'taskName',
  637. align: 'center'
  638. },
  639. {
  640. width: 120,
  641. prop: 'requirementTotalCount',
  642. label: '采购需求数量',
  643. slot: 'requirementTotalCount',
  644. align: 'center'
  645. },
  646. {
  647. width: 120,
  648. prop: 'planTotalCount',
  649. label: '采购计划数量',
  650. slot: 'planTotalCount',
  651. align: 'center'
  652. },
  653. {
  654. width: 120,
  655. prop: 'inquiryTotalCount',
  656. label: '采购核价数量',
  657. slot: 'inquiryTotalCount',
  658. align: 'center'
  659. },
  660. {
  661. width: 120,
  662. prop: 'contractTotalCount',
  663. label: '采购合同数量',
  664. slot: 'contractTotalCount',
  665. align: 'center'
  666. },
  667. {
  668. width: 80,
  669. prop: 'doneTotalCount',
  670. label: '已采数量',
  671. slot: 'doneTotalCount',
  672. align: 'center'
  673. },
  674. {
  675. width: 80,
  676. prop: 'waitTotalCount',
  677. label: '待采数量',
  678. // slot: 'waitTotalCount',
  679. align: 'center'
  680. },
  681. {
  682. width: 120,
  683. prop: 'totalCount',
  684. label: '数量',
  685. slot: 'totalCount',
  686. align: 'center'
  687. },
  688. {
  689. width: 120,
  690. prop: 'measuringUnit',
  691. label: '计量单位',
  692. slot: 'measuringUnit',
  693. align: 'center'
  694. },
  695. {
  696. width: 120,
  697. prop: 'singleWeight',
  698. label: '单重',
  699. slot: 'singleWeight',
  700. align: 'center'
  701. },
  702. {
  703. width: 120,
  704. prop: 'totalWeight',
  705. label: '总重',
  706. slot: 'totalWeight',
  707. align: 'center'
  708. },
  709. {
  710. width: 120,
  711. prop: 'weightUnit',
  712. label: '重量单位',
  713. slot: 'weightUnit',
  714. align: 'center'
  715. },
  716. {
  717. width: 110,
  718. prop: 'batchNo',
  719. label: '批次号',
  720. slot: 'batchNo',
  721. align: 'center'
  722. },
  723. {
  724. width: 120,
  725. prop: 'deliveryDays',
  726. label: '交期(天)',
  727. slot: 'deliveryDays'
  728. },
  729. {
  730. width: 160,
  731. prop: 'deliveryDeadline',
  732. label: '交期截止日期',
  733. slot: 'deliveryDeadline',
  734. align: 'center'
  735. },
  736. {
  737. width: 200,
  738. prop: 'guaranteePeriod',
  739. label: '质保期',
  740. slot: 'guaranteePeriod',
  741. formatter: (_row, _column, cellValue) => {
  742. return (
  743. (_row.guaranteePeriod || '') + _row.guaranteePeriodUnitName
  744. );
  745. },
  746. align: 'center'
  747. },
  748. {
  749. width: 160,
  750. prop: 'guaranteePeriodDeadline',
  751. label: '质保截止日期',
  752. slot: 'guaranteePeriodDeadline',
  753. align: 'center'
  754. },
  755. {
  756. width: 120,
  757. prop: 'technicalAnswerName',
  758. label: '技术答疑人',
  759. slot: 'technicalAnswerName',
  760. align: 'center'
  761. },
  762. {
  763. width: 220,
  764. prop: 'technicalParams',
  765. label: '技术参数',
  766. slot: 'technicalParams',
  767. align: 'center'
  768. },
  769. {
  770. width: 240,
  771. prop: 'technicalDrawings',
  772. label: '技术图纸',
  773. slot: 'technicalDrawings',
  774. formatter: (_row, _column, cellValue) => {
  775. return (
  776. (_row.guaranteePeriod || '') + _row.guaranteePeriodUnitName
  777. );
  778. },
  779. align: 'center'
  780. },
  781. {
  782. width: 220,
  783. prop: 'remark',
  784. label: '备注',
  785. slot: 'remark',
  786. align: 'center'
  787. }
  788. ]
  789. };
  790. },
  791. created() {
  792. this.getDetailData(this.businessId);
  793. },
  794. methods: {
  795. downloadFile(file) {
  796. getFile({ objectName: file.storePath }, file.name);
  797. },
  798. async getDetailData(id) {
  799. this.loading = true;
  800. const data = await getpurchaseorderDetail(id);
  801. this.loading = false;
  802. if (data) {
  803. this.form = data;
  804. this.detailData = data;
  805. }
  806. }
  807. }
  808. };
  809. </script>
  810. <style scoped lang="scss">
  811. .ele-dialog-form {
  812. .el-form-item {
  813. margin-bottom: 10px;
  814. }
  815. }
  816. .headbox {
  817. display: flex;
  818. justify-content: flex-start;
  819. align-items: center;
  820. .amount {
  821. font-size: 14px;
  822. font-weight: bold;
  823. margin-right: 20px;
  824. }
  825. }
  826. .switch_left ul .active {
  827. border-top: 4px solid var(--color-primary);
  828. color: var(--color-primary-5);
  829. }
  830. .switch {
  831. padding-bottom: 20px;
  832. }
  833. :deep .divider .content {
  834. justify-content: flex-start;
  835. }
  836. </style>