warehouseManagementList.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <!--仓库管理-->
  2. <template>
  3. <div>
  4. <BaseHeaderLayout :leftSpan="20">
  5. <template slot="left">
  6. <ws-button
  7. type="primary"
  8. @click="handleLook()"
  9. v-hasPermission="
  10. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  11. "
  12. >查看</ws-button
  13. >
  14. <ws-button
  15. type="primary"
  16. @click="handleAdd()"
  17. v-hasPermission="
  18. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  19. "
  20. >添加</ws-button
  21. >
  22. <ws-button
  23. type="primary"
  24. @click="handleEdit()"
  25. v-hasPermission="
  26. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  27. "
  28. >编辑</ws-button
  29. >
  30. <ws-button
  31. type="primary"
  32. @click="handleDelete()"
  33. v-hasPermission="
  34. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  35. "
  36. >删除</ws-button
  37. >
  38. <ws-button
  39. type="primary"
  40. @click="handlePut()"
  41. v-hasPermission="
  42. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  43. "
  44. >入库</ws-button
  45. >
  46. <ws-button
  47. type="primary"
  48. @click="handleDelivery()"
  49. v-hasPermission="
  50. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  51. "
  52. >出库</ws-button
  53. >
  54. </template>
  55. <template slot="right">
  56. <ws-input
  57. v-model="warehouseName"
  58. placeholder="请输入仓库名"
  59. clearable
  60. maxlength="500"
  61. type="input"
  62. class="findValue"
  63. ></ws-input>
  64. <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
  65. <ws-button
  66. class="find"
  67. type="primary"
  68. @click="find()"
  69. v-hasPermission="
  70. `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
  71. "
  72. ><img
  73. width="16"
  74. height="16"
  75. style="
  76. vertical-align: text-top;
  77. position: relative;
  78. top: 0px;
  79. left: -8px;
  80. "
  81. src="../../../public/img/sousuo.png"
  82. alt=""
  83. /></ws-button>
  84. </template>
  85. </BaseHeaderLayout>
  86. <el-table
  87. class="wenzi"
  88. :data="warehouselist.records"
  89. style="width: 100%; margin-top: 10px"
  90. >
  91. <!-- <el-table-column type="index" label="序号">
  92. <template scope="scope">
  93. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  94. <span v-else>{{ scope.$index + 1 }}</span>
  95. </template>
  96. </el-table-column> -->
  97. <el-table-column prop="contractNo" label="仓库名" width="80">
  98. </el-table-column>
  99. <el-table-column prop="goodsName" label="仓库编号" width="80">
  100. </el-table-column>
  101. <el-table-column prop="grade" label="容量(吨)" width="80">
  102. <!-- <template slot-scope="scope"> -->
  103. <!-- <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  104. scope.row.grade
  105. }}</span>
  106. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  107. scope.row.grade
  108. }}</span>
  109. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  110. scope.row.grade
  111. }}</span>
  112. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  113. scope.row.grade
  114. }}</span> -->
  115. <!-- </template> -->
  116. </el-table-column>
  117. <el-table-column prop="weight" label="入库量(吨)"> </el-table-column>
  118. <el-table-column prop="unitContractPrice" label="出库量(吨)">
  119. </el-table-column>
  120. <el-table-column prop="packingMethod" label="应余量"> </el-table-column>
  121. <el-table-column prop="buyer" label="出入库"> </el-table-column>
  122. <el-table-column prop="address" label="操作" width="200">
  123. <template slot-scope="scope">
  124. <img
  125. width="16"
  126. height="16"
  127. style="vertical-align: text-top; margin: 0 6px"
  128. src="../../../public/img/chakan.png"
  129. @click="handleExamine(scope.row)"
  130. alt=""
  131. />
  132. <img
  133. width="17"
  134. height="16"
  135. style="vertical-align: text-top; margin: 0 6px"
  136. src="../../../public/img/bianji.png"
  137. @click="handleEdit(scope.row)"
  138. alt=""
  139. />
  140. <img
  141. width="16"
  142. height="17"
  143. style="
  144. vertical-align: text-top;
  145. position: relative;
  146. top: -1px;
  147. margin: 0 6px;
  148. "
  149. src="../../../public/img/shanchu.png"
  150. @click="handleDelete(scope.row)"
  151. alt=""
  152. />
  153. </template>
  154. </el-table-column>
  155. </el-table>
  156. <el-pagination
  157. @size-change="handleSizeChange"
  158. @current-change="handleCurrentChange"
  159. :current-page="currentPage"
  160. :page-size="deptCircularPage.pageSize"
  161. layout="total, sizes, prev, pager, next, jumper"
  162. :total="deptBudgetTotal"
  163. >
  164. </el-pagination>
  165. <!-- 附件弹框 -->
  166. <WinseaContentModal
  167. v-model="accessoryTFs"
  168. :title="$t('system.noticeCircular.information')"
  169. @on-cancel="handleClose"
  170. >
  171. <p>查看附件</p>
  172. <ws-upload
  173. ref="upload"
  174. table-name="maintain_work_order"
  175. oss-key="mainPlan"
  176. :comp-id="compId"
  177. :appendix-ids="appendixIdsAdd"
  178. :vesselId="deptBudgetList.addressUrl"
  179. :size-limit="size"
  180. @uploadSuccess="uploadSuccess"
  181. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  182. />
  183. </WinseaContentModal>
  184. </div>
  185. </template>
  186. <script>
  187. import { getList } from '@/model/warehouse/index'
  188. import { downloadFile } from '@/utils/batchDown'
  189. import Pagination from '@/components/Pagination'
  190. import WsUpload from '@/components/WsUpload'
  191. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  192. export default {
  193. name: 'viewSpareMoney',
  194. components: {
  195. WsUpload,
  196. Pagination,
  197. },
  198. watch: {
  199. vesselId(val) {
  200. this.getList()
  201. },
  202. isShow(val) {
  203. this.showType = val
  204. },
  205. },
  206. data() {
  207. return {
  208. //弹出框
  209. dialogViewSpareMoney: false,
  210. dialogApproveFormVisible: false,
  211. // 船舶类型
  212. monetaryKey: null,
  213. // 是否显示
  214. showType: true,
  215. // 年
  216. year: '',
  217. deptBudgetTotal: 0,
  218. currentPage: 1,
  219. pageSize: 10,
  220. appendixIdsAdd: '',
  221. searchType: 1,
  222. searchTypeText: '未完成',
  223. searchKeyWord: '',
  224. contractType: 2,
  225. startDate: null,
  226. endDate: null,
  227. // 提交类型
  228. submitType: true,
  229. contractForm: {},
  230. categoryIndex: 0,
  231. rulesVendor: {},
  232. size: 10,
  233. compId: sessionStorage.getItem('ws-pf_compId'),
  234. handleCurrentChange: {},
  235. deptCircularPage: {},
  236. date: {
  237. year: dayjs().format('YYYY'),
  238. month: dayjs().format('MM'),
  239. },
  240. warehouselist: [],
  241. deptBudgetList: {},
  242. historyList: [],
  243. accessoryTFs: false,
  244. warehouseName: '',
  245. pickerOptions: {
  246. shortcuts: [
  247. {
  248. text: '本周',
  249. onClick(picker) {
  250. const end = new Date()
  251. const start = new Date()
  252. var thisDay = start.getDay()
  253. var thisDate = start.getDate()
  254. if (thisDay != 0) {
  255. start.setDate(thisDate - thisDay)
  256. }
  257. picker.$emit('pick', [start, end])
  258. },
  259. },
  260. {
  261. text: '本月',
  262. onClick(picker) {
  263. const end = new Date()
  264. const start = new Date()
  265. start.setDate(1)
  266. picker.$emit('pick', [start, end])
  267. },
  268. },
  269. {
  270. text: '本季度',
  271. onClick(picker) {
  272. var oDate = new Date()
  273. var thisYear = oDate.getFullYear()
  274. var thisMonth = oDate.getMonth() + 1
  275. var n = Math.ceil(thisMonth / 3) // 季度
  276. var Month = n * 3 - 1
  277. var start = new Date(thisYear, Month - 2, 1)
  278. var end = new Date()
  279. picker.$emit('pick', [start, end])
  280. },
  281. },
  282. ],
  283. },
  284. value1: '',
  285. value2: '',
  286. }
  287. },
  288. activated() {
  289. //cg.viewBudget
  290. //cg.viewSpareMoney
  291. // this.getVesselData();
  292. this.getList()
  293. this.showType = this.isShow
  294. },
  295. methods: {
  296. handleLook() {},
  297. handleAdd() {
  298. this.$router.push({ path: 'warehouseManagementAdd' })
  299. },
  300. handleEdit() {
  301. this.$router.push({ path: 'warehouseManagementEdit' })
  302. },
  303. handleDelete() {},
  304. handlePut(){
  305. this.$router.push({ path: 'warehouseManagementPut' })
  306. },
  307. handleDelivery(){
  308. this.$router.push({ path: 'warehouseManagementDelivery' })
  309. },
  310. dateFormat(fmt, date) {
  311. let ret
  312. const opt = {
  313. 'Y+': date.getFullYear().toString(), // 年
  314. 'm+': (date.getMonth() + 1).toString(), // 月
  315. 'd+': date.getDate().toString(), // 日
  316. 'H+': date.getHours().toString(), // 时
  317. // "M+": date.getMinutes().toString(), // 分
  318. // "S+": date.getSeconds().toString() // 秒
  319. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  320. }
  321. for (let k in opt) {
  322. ret = new RegExp('(' + k + ')').exec(fmt)
  323. if (ret) {
  324. fmt = fmt.replace(
  325. ret[1],
  326. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  327. )
  328. }
  329. }
  330. return fmt
  331. },
  332. handleClose() {
  333. this.accessoryTFs = false
  334. },
  335. handleSizeChange(val) {
  336. console.log(`每页 ${val} 条`)
  337. this.pageSize = val
  338. this.getList()
  339. },
  340. handleCurrentChange(val) {
  341. this.currentPage = val
  342. console.log(`当前页: ${val}`)
  343. this.getList()
  344. },
  345. getList() {
  346. getList({
  347. compId: sessionStorage.getItem('ws-pf_compId'),
  348. warehouseName: this.warehouseName,
  349. })
  350. .toPromise()
  351. .then((response) => {
  352. this.warehouselist = response
  353. console.log(response)
  354. })
  355. },
  356. // 上传附件
  357. uploadSuccess(data, files, url) {
  358. console.log(data, files, url)
  359. // this.deptBudgetList.
  360. // this.formData.append('files', files)
  361. // this.feedbackObj.uploadNameAttachment = data.appendixName
  362. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  363. // // this.newAppendixs = files
  364. // this.onChangeFlag = true
  365. },
  366. editClick(row) {
  367. var status = ''
  368. if (row.status == '待执行' || row.status == '已完成') {
  369. status = '执行中'
  370. } else if (row.status == '执行中') {
  371. status = '已完成'
  372. }
  373. //cancelButtonClass: "btn-custom-cancel"
  374. this.$confirm(`是否将状态改为${status}`, {
  375. confirmButtonText: '确定',
  376. cancelButtonText: '取消',
  377. type: 'warning',
  378. })
  379. .then(() => {
  380. editstatus({ id: row.id })
  381. .toPromise()
  382. .then((response) => {
  383. this.$notify.success({
  384. title: '成功',
  385. message: '状态修改成功',
  386. })
  387. this.getList()
  388. })
  389. .catch((response) => {
  390. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  391. })
  392. })
  393. .catch(() => {
  394. return false
  395. })
  396. },
  397. selecttaskType(e) {
  398. for (var i = 0; i < this.taskTypeList.length; i++) {
  399. if (this.taskTypeList[i].value == e) {
  400. this.searchType = this.taskTypeList[i].type
  401. }
  402. }
  403. },
  404. fujian(row) {
  405. if (
  406. row.receiveAttachmentPath === null ||
  407. row.receiveAttachmentPath === ''
  408. ) {
  409. EventBus.$emit(
  410. 'warning',
  411. this.$t('system.noticeCircular.NoInformation')
  412. )
  413. } else {
  414. this.accessoryTFs = true
  415. }
  416. this.appendixIdss = row.receiveAttachmentPath
  417. },
  418. handleExamine(row) {
  419. this.$router.push({
  420. name: 'salesContractExamine',
  421. query: { id: row.id },
  422. })
  423. },
  424. // 关闭 dialog时 处理文件url 初始化upload组件
  425. handleCloe() {
  426. this.dialogViewSpareMoney = false
  427. },
  428. history(row) {
  429. console.log(row)
  430. billoperatehis({ id: row.id })
  431. .toPromise()
  432. .then((response) => {
  433. this.historyList = response
  434. })
  435. },
  436. find() {
  437. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  438. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  439. this.currentPage = 1
  440. this.getList()
  441. },
  442. async exportlist() {
  443. const { data } = await export1(
  444. {
  445. compId: sessionStorage.getItem('ws-pf_compId'),
  446. contractType: this.contractType,
  447. currentPage: this.currentPage,
  448. pageSize: this.pageSize,
  449. searchType: this.searchType,
  450. searchKeyWord: this.searchKeyWord,
  451. startDate: this.startDate,
  452. endDate: this.endDate,
  453. },
  454. {},
  455. { responseType: 'blob' }
  456. ).toPromise()
  457. downloadFile({
  458. res: data,
  459. fileName: `${
  460. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  461. }_采购合同`,
  462. type: 'xls',
  463. })
  464. },
  465. // deletecontract(){},
  466. //删除
  467. approve() {},
  468. listQuery() {},
  469. total() {},
  470. clearfiltQuery() {},
  471. selectCrtDuty() {},
  472. },
  473. }
  474. </script>
  475. <style lang="scss" scoped>
  476. .vertical-text-left {
  477. width: 62px;
  478. text-align: right;
  479. }
  480. .flex {
  481. display: flex;
  482. }
  483. .el-range-editor.el-input__inner {
  484. margin-left: 10px;
  485. }
  486. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  487. width: 30px;
  488. margin-left: -10px;
  489. border-top-left-radius: 0px;
  490. border-bottom-left-radius: 0px;
  491. }
  492. .el-button--primary {
  493. background-color: #5878e8;
  494. border-color: #5878e8;
  495. }
  496. .el-button--default {
  497. border: 1px solid #5473e8;
  498. color: #5473e8;
  499. }
  500. .warning {
  501. width: 100%;
  502. height: 2px;
  503. background: red;
  504. }
  505. .executory,
  506. .inExecution,
  507. .done {
  508. width: 6px;
  509. height: 6px;
  510. display: inline-block;
  511. border-radius: 50%;
  512. position: relative;
  513. top: -1px;
  514. }
  515. .executory {
  516. background: #ff9f24;
  517. }
  518. .inExecution {
  519. background: #5878e8;
  520. }
  521. .done {
  522. background: #50cad4;
  523. }
  524. .top-grade {
  525. background: linear-gradient(90deg, #5678e9, #7993f6);
  526. color: #fff;
  527. padding: 3px;
  528. border-radius: 2px;
  529. }
  530. .second-class {
  531. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  532. color: #fff;
  533. padding: 3px;
  534. border-radius: 2px;
  535. }
  536. .third-class {
  537. background: linear-gradient(90deg, #ffa735, #ffbf70);
  538. color: #fff;
  539. padding: 3px;
  540. border-radius: 2px;
  541. }
  542. .substandard {
  543. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  544. color: #fff;
  545. padding: 3px;
  546. border-radius: 2px;
  547. }
  548. .wrap {
  549. width: 400px;
  550. position: absolute;
  551. top: 131px;
  552. left: 794px;
  553. transform-origin: right center;
  554. z-index: 2005;
  555. }
  556. .vertical-line {
  557. height: 100px;
  558. border-left: 2px solid #e9ecf7;
  559. margin-left: 4px;
  560. padding: 0 3px;
  561. // border-image: -webkit-linear-gradient(#00eba7, #08b8e6) 30 30;
  562. // border-image: -moz-linear-gradient(#00eba7, #08b8e6) 30 30;
  563. // border-image: linear-gradient(#00eba7, #08b8e6) 30 30;
  564. }
  565. .el-pagination {
  566. padding: 10px 15px;
  567. margin-bottom: 0;
  568. text-align: center;
  569. }
  570. /deep/.el-pager li.active {
  571. color: #5878e8;
  572. cursor: default;
  573. }
  574. /deep/.el-pager li:hover {
  575. color: #5878e8;
  576. cursor: default;
  577. }
  578. .vertical-circle {
  579. width: 10px;
  580. height: 10px;
  581. border: 2px solid #5878e8;
  582. background-color: #ffffff;
  583. -webkit-border-radius: 100px;
  584. }
  585. .vertical-circle:first-child {
  586. color: red;
  587. }
  588. .vertical-text {
  589. margin: 0 10px;
  590. color: #8890b1;
  591. font-size: 12px;
  592. margin-top: -4px;
  593. }
  594. /deep/.el-table .el-table__header .cell,
  595. /deep/.el-table .el-table__body .cell {
  596. text-align: center;
  597. }
  598. .typeselect {
  599. width: 500px;
  600. }
  601. .padding-xs {
  602. padding: 15px;
  603. text-align: right;
  604. }
  605. .clearfix:after {
  606. content: '';
  607. display: block;
  608. clear: both;
  609. }
  610. .el-table {
  611. font-size: 16px;
  612. }
  613. .taskType {
  614. width: 100%;
  615. background-color: #fff;
  616. margin-top: 2px;
  617. margin-bottom: 10px;
  618. list-style: none;
  619. // padding-bottom: 20px;
  620. li {
  621. float: left;
  622. border: 1px solid #6ea0f3;
  623. border-radius: 5px;
  624. max-width: 190px;
  625. padding: 0 5px;
  626. text-align: center;
  627. margin: 10px 20px;
  628. cursor: pointer;
  629. font-size: 14px;
  630. p {
  631. margin: 8px 0px;
  632. span {
  633. color: #e74c3c;
  634. }
  635. }
  636. }
  637. li:hover {
  638. background-color: #e4eeff;
  639. color: #1d6ced;
  640. }
  641. }
  642. .el-date-editor--date {
  643. margin: 0 10px;
  644. }
  645. .findValue {
  646. margin: 0 10px;
  647. }
  648. /deep/.findValue .el-input__inner {
  649. border-top-right-radius: 0px;
  650. border-bottom-right-radius: 0px;
  651. }
  652. .button-container {
  653. display: flex;
  654. flex-wrap: nowrap;
  655. justify-content: space-between;
  656. align-items: center;
  657. background-color: #fff;
  658. width: 100%;
  659. height: 50px;
  660. padding: 0 10px;
  661. & > div {
  662. margin-left: 10px;
  663. display: flex;
  664. flex-wrap: nowrap;
  665. flex-direction: row;
  666. & > span {
  667. line-height: 50px;
  668. }
  669. }
  670. /deep/.auditFlow-box {
  671. position: unset;
  672. margin-left: 10px;
  673. &/deep/.auditFlow-icon {
  674. width: auto;
  675. padding-right: 30px;
  676. }
  677. &/deep/.auditFlow-main {
  678. position: absolute;
  679. }
  680. }
  681. }
  682. .box-app {
  683. display: inline-block;
  684. float: left;
  685. margin-left: 30px;
  686. line-height: 50px;
  687. }
  688. /deep/.el-dialog {
  689. .el-form-item {
  690. margin-bottom: 0 !important;
  691. .el-input--medium {
  692. textarea {
  693. min-height: 100px !important;
  694. }
  695. }
  696. }
  697. }
  698. .collapse-bottom {
  699. margin-bottom: 20px;
  700. }
  701. .input-main .textarea .el-textarea__inner {
  702. width: 100%;
  703. z-index: 1;
  704. }
  705. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  706. /* height: 82px;*/
  707. /*}*/
  708. // 控制select为只读的时候显示样式
  709. .hide-sel {
  710. .el-input__inner {
  711. border: 0px;
  712. }
  713. .el-icon-arrow-up {
  714. display: none;
  715. }
  716. .el-textarea__inner {
  717. background-color: #fff !important;
  718. border: 0;
  719. }
  720. .el-date-editor {
  721. i {
  722. display: none;
  723. }
  724. }
  725. .is-disabled {
  726. .el-input__inner:hover {
  727. background-color: #fff !important;
  728. border: 0;
  729. }
  730. color: #606266;
  731. .el-input__inner {
  732. background-color: #fff !important;
  733. border: 0;
  734. color: #606266;
  735. }
  736. .el-textarea__inner {
  737. background-color: #fff !important;
  738. border: 0;
  739. color: #606266;
  740. }
  741. }
  742. }
  743. // 控制select为只读的时候显示样式
  744. /deep/.ws-class-table-col {
  745. height: auto;
  746. padding: 0px 2px;
  747. /deep/.el-input__inner {
  748. padding: 0px 2px;
  749. }
  750. }
  751. /deep/.is-disabled {
  752. .el-input__prefix,
  753. .el-input__suffix {
  754. display: none;
  755. }
  756. .el-input__inner {
  757. background-color: #fff;
  758. border-color: #fff !important;
  759. color: #000 !important;
  760. font-size: 14px;
  761. cursor: text;
  762. padding: 0 !important;
  763. }
  764. .el-message-box {
  765. width: 440px;
  766. height: 160px;
  767. background: #ffffff;
  768. box-shadow: 0px 2px 31px 0px rgba(66, 75, 112, 0.23);
  769. border-radius: 4px;
  770. }
  771. /deep/.el-message-box__message p {
  772. width: 351px;
  773. height: 20px;
  774. font-size: 14px;
  775. font-family: PingFangSC-Regular, PingFang SC;
  776. font-weight: 400;
  777. color: #191919;
  778. line-height: 20px;
  779. }
  780. .el-message-box__title {
  781. width: 440px;
  782. height: 160px;
  783. background: #ffffff;
  784. box-shadow: 0px 2px 31px 0px rgba(66, 75, 112, 0.23);
  785. border-radius: 4px;
  786. }
  787. }
  788. </style>