futuresSalesContract.vue 21 KB

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