sales_list.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. <template>
  2. <div class="app-container">
  3. <div v-show="!isShowDetail && !isShowExamine && !isShowReturnForm">
  4. <!-- 筛选条件 -->
  5. <div class="screen-container">
  6. <el-form
  7. ref="screenForm"
  8. :model="screenForm"
  9. label-width="85px"
  10. size="mini"
  11. label-position="left"
  12. >
  13. <el-row :gutter="20">
  14. <el-col :xs="24" :sm="24" :lg="24">
  15. <el-form-item prop="orderNum" label-width="0">
  16. <el-radio-group v-model="screenForm.status" @change="getList()">
  17. <el-radio-button label="">全部</el-radio-button>
  18. <el-radio-button
  19. v-for="(item, index) in statusList"
  20. :key="index"
  21. :label="item.value"
  22. >{{ item.label }}</el-radio-button
  23. >
  24. </el-radio-group>
  25. </el-form-item>
  26. </el-col>
  27. <el-col :xs="24" :sm="12" :lg="6">
  28. <el-form-item label="发货单号" prop="orderNum">
  29. <el-input
  30. v-model="screenForm.orderNum"
  31. placeholder="请输入发货单号"
  32. ></el-input>
  33. </el-form-item>
  34. </el-col>
  35. <el-col :xs="24" :sm="12" :lg="6">
  36. <el-form-item label="订单号" prop="mainOrderId">
  37. <el-input
  38. v-model="screenForm.mainOrderId"
  39. placeholder="请输入订单号"
  40. ></el-input>
  41. </el-form-item>
  42. </el-col>
  43. <el-col :xs="24" :sm="12" :lg="6">
  44. <el-form-item label="经销商名称" prop="jxsName">
  45. <el-input
  46. v-model="screenForm.jxsName"
  47. placeholder="请输入经销商名称"
  48. ></el-input>
  49. </el-form-item>
  50. </el-col>
  51. <el-col :xs="24" :sm="12" :lg="6">
  52. <el-form-item label="经销商编号" prop="jxsNum">
  53. <el-input
  54. v-model="screenForm.jxsNum"
  55. placeholder="请输入规格型号"
  56. ></el-input>
  57. </el-form-item>
  58. </el-col>
  59. <el-col :xs="24" :sm="12" :lg="6">
  60. <el-form-item label="产品名称" prop="chName">
  61. <el-input
  62. v-model="screenForm.chName"
  63. placeholder="请输入产品名称"
  64. ></el-input>
  65. </el-form-item>
  66. </el-col>
  67. <el-col :xs="24" :sm="12" :lg="6">
  68. <el-form-item label="产品编码" prop="chNum">
  69. <el-input
  70. v-model="screenForm.chNum"
  71. placeholder="请输入产品编码"
  72. ></el-input>
  73. </el-form-item>
  74. </el-col>
  75. <el-col :xs="24" :sm="12" :lg="6">
  76. <el-form-item label="规格型号" prop="model">
  77. <el-input
  78. v-model="screenForm.model"
  79. placeholder="请输入规格型号"
  80. ></el-input>
  81. </el-form-item>
  82. </el-col>
  83. <el-col :xs="24" :sm="12" :lg="6">
  84. <el-form-item label="仓库名称" prop="warehouse">
  85. <el-input
  86. v-model="screenForm.warehouse"
  87. placeholder="请输入仓库名称"
  88. ></el-input>
  89. </el-form-item>
  90. </el-col>
  91. <el-col :xs="24" :sm="12" :lg="6">
  92. <el-form-item label="单据日期" prop="date">
  93. <el-date-picker
  94. v-model="screenForm.date"
  95. type="datetimerange"
  96. range-separator="至"
  97. style="width: 100%"
  98. value-format="yyyy-MM-dd HH:mm:ss"
  99. start-placeholder="开始日期"
  100. end-placeholder="结束日期"
  101. >
  102. </el-date-picker>
  103. </el-form-item>
  104. </el-col>
  105. <el-col :xs="24" :sm="12" :lg="6">
  106. <el-form-item label="审核日期" prop="approval">
  107. <el-date-picker
  108. v-model="screenForm.approval"
  109. type="datetimerange"
  110. range-separator="至"
  111. style="width: 100%"
  112. value-format="yyyy-MM-dd HH:mm:ss"
  113. start-placeholder="开始日期"
  114. end-placeholder="结束日期"
  115. >
  116. </el-date-picker>
  117. </el-form-item>
  118. </el-col>
  119. <el-col :xs="24" :sm="12" :lg="6">
  120. <el-form-item label="出库单号" prop="id">
  121. <el-input
  122. v-model="screenForm.id"
  123. placeholder="请输入出库单号"
  124. ></el-input>
  125. </el-form-item>
  126. </el-col>
  127. <el-col :xs="24" :sm="12" :lg="12" class="tr">
  128. <el-form-item label="">
  129. <el-button @click="resetScreenForm">清空</el-button>
  130. <el-button type="primary" @click="submitScreenForm"
  131. >搜索</el-button
  132. >
  133. </el-form-item>
  134. </el-col>
  135. </el-row>
  136. </el-form>
  137. </div>
  138. <div class="mymain-container">
  139. <div class="btn-group clearfix">
  140. <div class="fl">
  141. <el-button
  142. size="mini"
  143. type="primary"
  144. icon="el-icon-plus"
  145. @click="toReturnForm()"
  146. v-if="$checkBtnRole('refund', $route.meta.roles)"
  147. >退货申请</el-button
  148. >
  149. <el-button
  150. size="mini"
  151. type="warning"
  152. icon="el-icon-finished"
  153. @click="batchExamine"
  154. :disabled="multipleSelection.length < 1"
  155. v-if="$checkBtnRole('examine', $route.meta.roles)"
  156. >批量审批</el-button
  157. >
  158. <template v-if="$checkBtnRole('receipt', $route.meta.roles)">
  159. <el-date-picker
  160. v-model="value1"
  161. size="mini"
  162. type="daterange"
  163. value-format="yyyy-MM-dd HH:mm:ss"
  164. range-separator="至"
  165. :picker-options="setDisabled"
  166. start-placeholder="开始日期"
  167. end-placeholder="结束日期"
  168. style="margin:0 10px"
  169. >
  170. </el-date-picker>
  171. <el-button
  172. size="mini"
  173. type="warning"
  174. icon="el-icon-finished"
  175. @click="updateReceipt"
  176. >更新发票</el-button
  177. >
  178. </template>
  179. </div>
  180. <div class="fr">
  181. <ExportButton :exUrl="'sale/order/export'" :exParams="exParams" />
  182. </div>
  183. </div>
  184. <div class="table">
  185. <el-table
  186. v-loading="listLoading"
  187. :data="dataList"
  188. element-loading-text="Loading"
  189. border
  190. fit
  191. highlight-current-row
  192. stripe
  193. @selection-change="handleSelectionChange"
  194. show-summary
  195. :summary-method="$getSummaries"
  196. >
  197. <el-table-column
  198. align="center"
  199. type="selection"
  200. width="55"
  201. ></el-table-column>
  202. <el-table-column
  203. align="left"
  204. label="状态"
  205. prop="examineStatus"
  206. min-width="100"
  207. show-overflow-tooltip
  208. >
  209. <template slot-scope="scope">
  210. {{ scope.row.examineStatus | statusFilter }}
  211. </template>
  212. </el-table-column>
  213. <el-table-column
  214. align="left"
  215. label="发票号"
  216. prop="billReceipt"
  217. min-width="250"
  218. show-overflow-tooltip
  219. >
  220. <template slot-scope="scope">
  221. {{ scope.row.billReceipt }}
  222. </template>
  223. </el-table-column>
  224. <el-table-column
  225. align="left"
  226. label="出库单号"
  227. prop="id"
  228. min-width="110"
  229. show-overflow-tooltip
  230. >
  231. <template slot-scope="scope">
  232. <CopyButton :copyText="scope.row.id" />
  233. <span>{{ scope.row.id }}</span>
  234. </template>
  235. </el-table-column>
  236. <!-- <el-table-column align="left" label="发货单号" prop="orderNo" min-width="130" show-overflow-tooltip>-->
  237. <!-- <template slot-scope="scope">-->
  238. <!-- <CopyButton :copyText="scope.row.orderNo" />-->
  239. <!-- <span>{{scope.row.orderNo}}</span>-->
  240. <!-- </template>-->
  241. <!-- </el-table-column>-->
  242. <!-- <el-table-column align="left" label="订单号" prop="orderNo" min-width="140" show-overflow-tooltip>-->
  243. <!-- <template slot-scope="scope">-->
  244. <!-- <CopyButton :copyText="scope.row.orderType === 'TRADE' ? scope.row.enginOrderNo : scope.row.mainOrderId" />-->
  245. <!-- <span>{{scope.row.orderType === 'TRADE' || scope.row.orderType === 'HOME' ? scope.row.enginOrderNo : scope.row.mainOrderId}}</span>-->
  246. <!-- </template>-->
  247. <!-- </el-table-column>-->
  248. <el-table-column
  249. align="left"
  250. label="仓库"
  251. prop="correspondName"
  252. min-width="100"
  253. show-overflow-tooltip
  254. ></el-table-column>
  255. <el-table-column
  256. align="left"
  257. label="经销商编码"
  258. prop="customerNumber"
  259. min-width="100"
  260. show-overflow-tooltip
  261. >
  262. <template slot-scope="scope">
  263. <CopyButton :copyText="scope.row.customerNumber" />
  264. <span>{{ scope.row.customerNumber }}</span>
  265. </template>
  266. </el-table-column>
  267. <el-table-column
  268. align="left"
  269. label="经销商名称"
  270. prop="customerName"
  271. min-width="250"
  272. show-overflow-tooltip
  273. >
  274. <template slot-scope="scope">
  275. <CopyButton :copyText="scope.row.customerName" />
  276. <span>{{ scope.row.customerName }}</span>
  277. </template>
  278. </el-table-column>
  279. <el-table-column
  280. align="left"
  281. label="物料编码"
  282. prop="materialCode"
  283. min-width="120"
  284. show-overflow-tooltip
  285. >
  286. <template slot-scope="scope">
  287. <CopyButton :copyText="scope.row.materialCode" />
  288. <span>{{ scope.row.materialCode }}</span>
  289. </template>
  290. </el-table-column>
  291. <el-table-column
  292. align="left"
  293. label="产品编码"
  294. prop="materialOldNumber"
  295. min-width="140"
  296. show-overflow-tooltip
  297. >
  298. <template slot-scope="scope">
  299. <CopyButton :copyText="scope.row.materialOldNumber" />
  300. <span>{{ scope.row.materialOldNumber }}</span>
  301. </template>
  302. </el-table-column>
  303. <el-table-column
  304. align="left"
  305. label="产品名称"
  306. prop="materialName"
  307. min-width="160"
  308. show-overflow-tooltip
  309. >
  310. <template slot-scope="scope">
  311. <CopyButton :copyText="scope.row.materialName" />
  312. <span>{{ scope.row.materialName }}</span>
  313. </template>
  314. </el-table-column>
  315. <el-table-column
  316. align="left"
  317. label="规格型号"
  318. prop="specification"
  319. min-width="350"
  320. show-overflow-tooltip
  321. >
  322. <template slot-scope="scope">
  323. <CopyButton :copyText="scope.row.specification" />
  324. <span>{{ scope.row.specification }}</span>
  325. </template>
  326. </el-table-column>
  327. <el-table-column
  328. align="left"
  329. label="单位"
  330. prop="unit"
  331. min-width="100"
  332. show-overflow-tooltip
  333. ></el-table-column>
  334. <el-table-column
  335. align="right"
  336. label="数量"
  337. prop="refundableQty"
  338. min-width="100"
  339. show-overflow-tooltip
  340. ></el-table-column>
  341. <!-- <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>-->
  342. <!-- <template slot-scope="scope">-->
  343. <!-- {{ scope.row.price | numToFixed }}-->
  344. <!-- </template>-->
  345. <!-- </el-table-column>-->
  346. <!-- <el-table-column align="right" label="订单金额" prop="payAmount" min-width="100" show-overflow-tooltip>-->
  347. <!-- <template slot-scope="scope">-->
  348. <!-- {{ scope.row.payAmount | numToFixed }}-->
  349. <!-- </template>-->
  350. <!-- </el-table-column>-->
  351. <!-- <el-table-column align="left" label="订单备注" prop="headerRemark" min-width="160" show-overflow-tooltip></el-table-column> -->
  352. <!-- <el-table-column align="left" label="发货申请备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column>-->
  353. <!-- <el-table-column align="left" label="表体备注" prop="invoiceRemark" min-width="160" show-overflow-tooltip></el-table-column>-->
  354. <!-- <el-table-column align="left" label="业务员" prop="serviceName" min-width="100" show-overflow-tooltip></el-table-column>-->
  355. <!-- <el-table-column align="left" label="表头业务员" prop="k3ServiceName" min-width="100" show-overflow-tooltip></el-table-column>-->
  356. <el-table-column
  357. align="center"
  358. label="操作"
  359. width="120"
  360. fixed="right"
  361. >
  362. <template slot-scope="scope">
  363. <el-button type="text" @click="toDetail(scope.row)"
  364. >详情</el-button
  365. >
  366. <el-button
  367. type="text"
  368. @click="toExamine(scope.row)"
  369. v-if="
  370. $checkBtnRole('examine', $route.meta.roles) &&
  371. scope.row.examineStatus === 'WAIT'
  372. "
  373. >审批</el-button
  374. >
  375. <el-popconfirm
  376. style="margin-left: 10px"
  377. title="确定弃审吗?"
  378. @onConfirm="handleAbandon(scope.row.id)"
  379. v-if="
  380. $checkBtnRole('examine', $route.meta.roles) &&
  381. scope.row.examineStatus === 'OK'
  382. "
  383. >
  384. <el-button slot="reference" type="text">弃审</el-button>
  385. </el-popconfirm>
  386. </template>
  387. </el-table-column>
  388. </el-table>
  389. </div>
  390. </div>
  391. <div class="pagination clearfix">
  392. <div class="fr">
  393. <el-pagination
  394. @size-change="handleSizeChange"
  395. @current-change="handleCurrentChange"
  396. :current-page="currentPage"
  397. :page-sizes="[10, 20, 30, 50]"
  398. :page-size="10"
  399. layout="total, sizes, prev, pager, next, jumper"
  400. :total="listTotal"
  401. >
  402. </el-pagination>
  403. </div>
  404. </div>
  405. </div>
  406. <ExamineDialog
  407. :isShow.sync="isShowExamineDialog"
  408. :examineForm.sync="examineForm"
  409. />
  410. <SalesDetail
  411. :listItem="queryItem"
  412. v-if="isShowDetail"
  413. @backListFormDetail="backList"
  414. />
  415. <SalesExamine
  416. :listItem="queryItem"
  417. v-if="isShowExamine"
  418. @backListFormExamine="backList"
  419. />
  420. <SalesReturnForm
  421. :listItem="queryItem"
  422. v-if="isShowReturnForm"
  423. @backListFormDetail="backList"
  424. />
  425. </div>
  426. </template>
  427. <script>
  428. import {
  429. abandonData,
  430. examineBatch,
  431. examineJudge,
  432. getList,
  433. updateReceipt,
  434. } from "@/api/supply/sales";
  435. import SalesDetail from "@/views/supply/sales/components/sales_detail";
  436. import SalesExamine from "@/views/supply/sales/components/sales_examine";
  437. import SalesReturnForm from "@/views/supply/sales/components/sales_return_form";
  438. import ExamineDialog from "@/components/Common/examine-dialog";
  439. let that;
  440. export default {
  441. components: {
  442. SalesDetail,
  443. SalesExamine,
  444. SalesReturnForm,
  445. ExamineDialog,
  446. },
  447. filters: {
  448. statusFilter(val) {
  449. let obj = that.statusList.find((o) => o.value == val);
  450. return obj ? obj.label : "";
  451. },
  452. billStatusFilter(val) {
  453. const MAP = {
  454. 1: "已开票",
  455. 0: "未开票",
  456. };
  457. return MAP[val];
  458. },
  459. },
  460. data() {
  461. return {
  462. currentPage: 1, // 当前页码
  463. pageSize: 10, // 每页数量
  464. listTotal: 0, // 列表总数
  465. dataList: null, // 列表数据
  466. listLoading: false, // 列表加载loading
  467. screenForm: {
  468. // 筛选表单数据
  469. orderNum: "",
  470. jxsName: "",
  471. jxsNum: "",
  472. chName: "",
  473. chNum: "",
  474. model: "",
  475. warehouse: "",
  476. date: "",
  477. status: "",
  478. mainOrderId: "",
  479. approval:'',
  480. id:''
  481. },
  482. statusList: [
  483. { label: "已保存", value: "SAVE" },
  484. { label: "待审核", value: "WAIT" },
  485. { label: "审核通过", value: "OK" },
  486. // { label: '审核驳回', value: 'FAIL' },,
  487. ],
  488. queryItem: {},
  489. isShowDetail: false,
  490. isShowExamine: false,
  491. isShowReturnForm: false,
  492. value1: "",
  493. choiceDate: "",
  494. multipleSelection: [],
  495. isShowExamineDialog: false,
  496. examineForm: {
  497. status: "",
  498. remark: "",
  499. },
  500. setDisabled: {
  501. disabledDate: (time) => {
  502. if (this.choiceDate) {
  503. const res = 13 * 24 * 3600 * 1000;
  504. const minTime = this.choiceDate - res;
  505. const maxTime = this.choiceDate + res;
  506. return time.getTime() < minTime || time.getTime() > maxTime;
  507. }
  508. },
  509. onPick: ({ maxDate, minDate }) => {
  510. this.choiceDate = minDate.getTime();
  511. if (maxDate) this.choiceDate = "";
  512. },
  513. },
  514. };
  515. },
  516. computed: {
  517. exParams() {
  518. return {
  519. examineStatus: this.screenForm.status,
  520. orderNo: this.screenForm.orderNum,
  521. customerName: this.screenForm.jxsName,
  522. customerNumber: this.screenForm.jxsNum,
  523. materialName: this.screenForm.chName,
  524. materialNumber: this.screenForm.chNum,
  525. specification: this.screenForm.model,
  526. correspondName: this.screenForm.warehouse,
  527. startTime: this.screenForm.date ? this.screenForm.date[0] : "",
  528. endTime: this.screenForm.date ? this.screenForm.date[1] : "",
  529. approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
  530. approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
  531. mainOrderId: this.screenForm.mainOrderId,
  532. id: this.screenForm.id
  533. };
  534. },
  535. },
  536. beforeCreate() {
  537. that = this;
  538. },
  539. created() {
  540. this.getList();
  541. },
  542. methods: {
  543. // 查询列表
  544. getList() {
  545. this.listLoading = true;
  546. let params = {
  547. pageNum: this.currentPage,
  548. pageSize: this.pageSize,
  549. examineStatus: this.screenForm.status,
  550. orderNo: this.screenForm.orderNum,
  551. customerName: this.screenForm.jxsName,
  552. customerNumber: this.screenForm.jxsNum,
  553. materialName: this.screenForm.chName,
  554. materialNumber: this.screenForm.chNum,
  555. specification: this.screenForm.model,
  556. correspondName: this.screenForm.warehouse,
  557. startTime: this.screenForm.date ? this.screenForm.date[0] : "",
  558. endTime: this.screenForm.date ? this.screenForm.date[1] : "",
  559. approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
  560. approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
  561. mainOrderId: this.screenForm.mainOrderId,
  562. id: this.screenForm.id
  563. };
  564. getList(params).then((res) => {
  565. res.data.records.forEach((item) => {
  566. item.sums1 = ["refundableQty"];
  567. item.sums2 = ["price", "payAmount"];
  568. });
  569. this.dataList = res.data.records;
  570. this.listTotal = res.data.total;
  571. this.listLoading = false;
  572. });
  573. },
  574. updateReceipt() {
  575. if (!this.value1) {
  576. this.$errorMsg('请选择时间')
  577. return
  578. }
  579. updateReceipt({
  580. startTime:this.value1[0],
  581. endTime:this.value1[1]
  582. }).then(res=>{
  583. this.getList();
  584. this.$successMsg("已更新");
  585. this.value1 = ''
  586. })
  587. },
  588. // 提交筛选表单
  589. submitScreenForm() {
  590. this.currentPage = 1;
  591. this.getList();
  592. },
  593. // 重置筛选表单
  594. resetScreenForm() {
  595. this.$refs.screenForm.resetFields();
  596. this.currentPage = 1;
  597. this.getList();
  598. },
  599. // 更改每页数量
  600. handleSizeChange(val) {
  601. this.pageSize = val;
  602. this.currentPage = 1;
  603. this.getList();
  604. },
  605. // 更改当前页
  606. handleCurrentChange(val) {
  607. this.currentPage = val;
  608. this.getList();
  609. },
  610. // 判断是否可以审批
  611. async examineJudge(item) {
  612. // 获取页面模版
  613. const result = await new Promise((resolve, reject) => {
  614. examineJudge({ id: item.id })
  615. .then((res) => {
  616. resolve(res.code == 200);
  617. })
  618. .catch((res) => {
  619. resolve(0);
  620. });
  621. });
  622. return result;
  623. },
  624. // 进入表单
  625. toReturnForm(item) {
  626. this.queryItem = item;
  627. this.isShowReturnForm = true;
  628. },
  629. // 进入详情
  630. toDetail(item) {
  631. this.queryItem = item;
  632. this.isShowDetail = true;
  633. },
  634. // 进入审批
  635. async toExamine(item) {
  636. const canExamine = await this.examineJudge(item);
  637. if (!canExamine) {
  638. return false;
  639. }
  640. this.queryItem = item;
  641. this.isShowExamine = true;
  642. },
  643. backList() {
  644. this.queryItem = {};
  645. this.isShowDetail = false;
  646. this.isShowExamine = false;
  647. this.isShowReturnForm = false;
  648. },
  649. handleSelectionChange(val) {
  650. this.multipleSelection = val;
  651. },
  652. // 打开 批量审批
  653. batchExamine() {
  654. this.isShowExamineDialog = true;
  655. },
  656. // 提交 批量审批
  657. submitExamineForm() {
  658. let ids = this.multipleSelection.map((item) => {
  659. return item.id;
  660. });
  661. examineBatch({
  662. ids: ids.join(","),
  663. examineStatus: this.examineForm.status,
  664. approvalRemark: this.examineForm.remark,
  665. }).then((res) => {
  666. this.isShowExamineDialog = false;
  667. this.getList();
  668. this.$successMsg("修改成功");
  669. });
  670. },
  671. // 弃审
  672. handleAbandon(id) {
  673. abandonData({ id }).then((res) => {
  674. this.$successMsg();
  675. this.getList();
  676. });
  677. },
  678. },
  679. };
  680. </script>
  681. <style lang="scss" scoped></style>