futuresPurchaseContract.vue 24 KB

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