futuresPurchaseContract.vue 21 KB

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