salesContract.vue 24 KB

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