warehouseManagementList.vue 23 KB

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