warehouseManagementRecord.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. <template>
  2. <div class="container">
  3. <el-row>
  4. <el-col :span="18">
  5. <h2 class="bg-left title">流转记录</h2>
  6. </el-col>
  7. <el-col :span="6" class="bg-right">
  8. <el-button
  9. class="bg-bottom adjustment"
  10. type="primary"
  11. size="small"
  12. @click="iossrecord()"
  13. >盘损记录</el-button
  14. >
  15. <el-button
  16. class="bg-bottom"
  17. type="primary"
  18. size="small"
  19. @click="returnWarehouse()"
  20. >返回</el-button
  21. >
  22. </el-col>
  23. </el-row>
  24. <div class="center">
  25. <h2 style="padding-left: 20px">
  26. <img
  27. style="position: relative; top: 2px"
  28. width="19"
  29. height="19"
  30. src="../../../public/img/cangku.png"
  31. alt=""
  32. />
  33. <span style="color: #323233">{{ deptBudgetList.warehouseName }}库</span>
  34. <span class="ware">{{ binNumber }}仓位(容量{{ capacity }}吨)</span>
  35. </h2>
  36. <p
  37. style="
  38. margin-left: 42px;
  39. background: #f6f7fc;
  40. color: #afb5cb;
  41. width: 245px;
  42. "
  43. >
  44. 备注:{{ remark }}
  45. </p>
  46. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  47. <div
  48. class="record"
  49. :class="{ active: status == 1 }"
  50. @click="record('', 1)"
  51. >
  52. <img
  53. v-if="status != 1"
  54. width="14"
  55. height="14"
  56. src="../../../public/img/radio.png"
  57. alt=""
  58. />
  59. <img
  60. v-if="status == 1"
  61. width="18"
  62. height="18"
  63. src="../../../public/img/radio-check.png"
  64. alt=""
  65. />全部记录
  66. </div>
  67. <div
  68. class="record"
  69. :class="{ active: status == 2 }"
  70. @click="record(1, 2)"
  71. >
  72. <img
  73. v-if="status != 2"
  74. width="14"
  75. height="14"
  76. src="../../../public/img/radio.png"
  77. alt=""
  78. />
  79. <img
  80. v-if="status == 2"
  81. width="18"
  82. height="18"
  83. src="../../../public/img/radio-check.png"
  84. alt=""
  85. />出库记录
  86. </div>
  87. <div
  88. class="record"
  89. :class="{ active: status == 3 }"
  90. @click="record(2, 3)"
  91. >
  92. <img
  93. v-if="status != 3"
  94. width="14"
  95. height="14"
  96. src="../../../public/img/radio.png"
  97. alt=""
  98. />
  99. <img
  100. v-if="status == 3"
  101. width="18"
  102. height="18"
  103. src="../../../public/img/radio-check.png"
  104. alt=""
  105. />入库记录
  106. </div>
  107. <el-table :data="warehouseList.records" height="560">
  108. <el-table-column type="expand">
  109. <template #default="props">
  110. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  111. <ws-info-table>
  112. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  113. {{ props.row.waterContent }}
  114. </ws-form-item>
  115. <ws-form-item label="容重(%)<=" span="1" prop="bulkDensity">
  116. {{ props.row.bulkDensity }}
  117. </ws-form-item>
  118. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  119. {{ props.row.jiaorenli }}
  120. </ws-form-item>
  121. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  122. {{ props.row.impurity }}
  123. </ws-form-item>
  124. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  125. {{ props.row.mildewGrain }}
  126. </ws-form-item>
  127. <ws-form-item
  128. label="不完善粒(%)<="
  129. span="1"
  130. prop="imperfectGrain"
  131. >
  132. {{ props.row.imperfectGrain }}
  133. </ws-form-item>
  134. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  135. {{ props.row.qualityInspector }}
  136. </ws-form-item>
  137. </ws-info-table>
  138. </ws-form>
  139. </template>
  140. </el-table-column>
  141. <el-table-column type="index" label="序号">
  142. <template scope="scope">
  143. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  144. <span v-else>{{ scope.$index + 1 }}</span>
  145. </template>
  146. </el-table-column>
  147. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  148. <el-table-column
  149. prop="grossWeight"
  150. label="毛重(吨)"
  151. ></el-table-column>
  152. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  153. <el-table-column
  154. prop="netWeight"
  155. label="净重(吨)"
  156. ></el-table-column>
  157. <el-table-column prop="grade" label="品级">
  158. <template slot-scope="scope">
  159. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  160. scope.row.grade
  161. }}</span>
  162. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  163. scope.row.grade
  164. }}</span>
  165. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  166. scope.row.grade
  167. }}</span>
  168. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  169. scope.row.grade
  170. }}</span>
  171. </template>
  172. </el-table-column>
  173. <el-table-column prop="inOutDate" label="出入库日期">
  174. <template slot-scope="scope">
  175. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  176. </template>
  177. </el-table-column>
  178. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  179. <el-table-column prop="contractNo" label="合同编号">
  180. <template slot-scope="scope">
  181. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  182. </template>
  183. </el-table-column>
  184. <el-table-column prop="carNo" label="车牌号">
  185. <template slot-scope="scope">
  186. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  187. </template>
  188. </el-table-column>
  189. <el-table-column prop="qualityInspector" label="经办人">
  190. </el-table-column>
  191. <el-table-column prop="buyer" label="内勤"> </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="createDate" label="录入时间">
  209. <template slot-scope="scope">
  210. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  211. </template>
  212. </el-table-column>
  213. </el-table>
  214. <div style="text-align: center; padding: 10px">
  215. <el-pagination
  216. @size-change="handleSizeChange"
  217. @current-change="handleCurrentChange"
  218. :current-page="currentPage"
  219. :page-size="deptCircularPage.pageSize"
  220. layout="total, sizes, prev, pager, next, jumper"
  221. :total="deptBudgetTotal"
  222. >
  223. </el-pagination>
  224. </div>
  225. </ws-form>
  226. </div>
  227. <WinseaContentModal
  228. v-model="accessoryTFs"
  229. :title="$t('system.noticeCircular.information')"
  230. @on-cancel="handleClose"
  231. >
  232. <p>查看附件</p>
  233. <ws-upload
  234. ref="upload"
  235. table-name="maintain_work_order"
  236. oss-key="mainPlan"
  237. :comp-id="compId"
  238. :appendix-ids="appendixIdsAdd"
  239. :vesselId="deptBudgetList.addressUrl"
  240. :size-limit="size"
  241. @uploadSuccess="uploadSuccess"
  242. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  243. />
  244. </WinseaContentModal>
  245. </div>
  246. </template>
  247. <script>
  248. import { addselectinfoList } from '@/model/warehouse/index'
  249. import { downloadFile } from '@/utils/batchDown'
  250. import Pagination from '@/components/Pagination'
  251. import WsUpload from '@/components/WsUpload'
  252. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  253. export default {
  254. name: 'viewSpareMoney',
  255. components: {
  256. WsUpload,
  257. Pagination,
  258. },
  259. watch: {
  260. vesselId(val) {
  261. this.getList()
  262. },
  263. isShow(val) {
  264. this.showType = val
  265. },
  266. },
  267. data() {
  268. return {
  269. //弹出框
  270. dialogViewSpareMoney: false,
  271. dialogApproveFormVisible: false,
  272. // 船舶类型
  273. monetaryKey: null,
  274. // 表格显示数据
  275. tableDate: [],
  276. appendixIdsAdd: '',
  277. // 是否显示
  278. showType: true,
  279. // 年
  280. year: '',
  281. deptBudgetTotal: 0,
  282. currentPage: 1,
  283. pageSize: 10,
  284. radiostatus: 1,
  285. capacity: '',
  286. searchKeyWord: '',
  287. contractType: 2,
  288. startDate: null,
  289. endDate: null,
  290. remark: '',
  291. binNumber: '',
  292. status: 1,
  293. // 提交类型
  294. submitType: true,
  295. selectpackingMethod: {},
  296. size: 10,
  297. compId: sessionStorage.getItem('ws-pf_compId'),
  298. deptCircularPage: {},
  299. packtypeList: {},
  300. currentPage: 1,
  301. pageSize: 10,
  302. date: {
  303. year: dayjs().format('YYYY'),
  304. month: dayjs().format('MM'),
  305. },
  306. warehouseList: [],
  307. deptBudgetList: {},
  308. historyList: [],
  309. searchType: '',
  310. allurl: '../../../public/img/radio.png',
  311. pickerBeginDateBefore: {
  312. disabledDate: (time) => {
  313. return time.getTime() > Date.now()
  314. },
  315. },
  316. accessoryTFs: false,
  317. }
  318. },
  319. activated() {
  320. this.deptBudgetList.baseId = this.$route.query.baseId
  321. this.deptBudgetList.positionId = this.$route.query.positionId
  322. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  323. this.remark = this.$route.params.remark
  324. this.binNumber = this.$route.params.binNumber
  325. this.capacity = this.$route.params.capacity
  326. console.log(111)
  327. this.getList()
  328. this.showType = this.isShow
  329. },
  330. methods: {
  331. //返回按钮
  332. returnWarehouse() {
  333. this.$router.push({ path: 'warehouseManagementList' })
  334. },
  335. //
  336. iossrecord() {
  337. this.$router.push({
  338. path: 'warehouseManagementIossRecord',
  339. query: {
  340. baseId: this.deptBudgetList.baseId,
  341. positionId: this.deptBudgetList.positionId,
  342. warehouseName: this.deptBudgetList.warehouseName,
  343. binNumber: this.binNumber,
  344. },
  345. })
  346. },
  347. dateFormat(fmt, date) {
  348. let ret
  349. const opt = {
  350. 'Y+': date.getFullYear().toString(), // 年
  351. 'm+': (date.getMonth() + 1).toString(), // 月
  352. 'd+': date.getDate().toString(), // 日
  353. 'H+': date.getHours().toString(), // 时
  354. // "M+": date.getMinutes().toString(), // 分
  355. // "S+": date.getSeconds().toString() // 秒
  356. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  357. }
  358. for (let k in opt) {
  359. ret = new RegExp('(' + k + ')').exec(fmt)
  360. if (ret) {
  361. fmt = fmt.replace(
  362. ret[1],
  363. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  364. )
  365. }
  366. }
  367. return fmt
  368. },
  369. handleClose() {
  370. this.accessoryTFs = false
  371. },
  372. handleSizeChange(val) {
  373. console.log(`每页 ${val} 条`)
  374. this.pageSize = val
  375. this.getList()
  376. },
  377. handleCurrentChange(val) {
  378. this.currentPage = val
  379. console.log(`当前页: ${val}`)
  380. this.getList()
  381. },
  382. record(status, status1) {
  383. this.status = status1
  384. this.searchType = status
  385. this.getList()
  386. },
  387. // 上传附件
  388. uploadSuccess(data, files, url) {
  389. console.log(data, files, url)
  390. // this.deptBudgetList.
  391. // this.formData.append('files', files)
  392. // this.feedbackObj.uploadNameAttachment = data.appendixName
  393. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  394. // // this.newAppendixs = files
  395. // this.onChangeFlag = true
  396. },
  397. getList() {
  398. addselectinfoList({
  399. compId: sessionStorage.getItem('ws-pf_compId'),
  400. baseId: this.deptBudgetList.baseId,
  401. positionId: this.deptBudgetList.positionId,
  402. warehouseName: this.deptBudgetList.warehouseName,
  403. searchType: this.searchType,
  404. currentPage: this.currentPage,
  405. pageSize: this.pageSize,
  406. })
  407. .toPromise()
  408. .then((response) => {
  409. for (var i = 0; i < response.records.length; i++) {
  410. if (response.records[i].addressUrl != null) {
  411. response.records[i].addressUrlArray = response.records[
  412. i
  413. ].addressUrl.split(',')
  414. } else {
  415. response.records[i].addressUrlArray = []
  416. }
  417. }
  418. this.deptCircularPage.currentPage = response.current
  419. this.deptCircularPage.pageSize = response.size
  420. this.deptBudgetTotal = response.total
  421. this.warehouseList = response
  422. })
  423. },
  424. selecttaskType(e) {
  425. for (var i = 0; i < this.taskTypeList.length; i++) {
  426. if (this.taskTypeList[i].value == e) {
  427. this.searchType = this.taskTypeList[i].type
  428. }
  429. }
  430. },
  431. fujian(row) {
  432. if (
  433. row.receiveAttachmentPath === null ||
  434. row.receiveAttachmentPath === ''
  435. ) {
  436. EventBus.$emit(
  437. 'warning',
  438. this.$t('system.noticeCircular.NoInformation')
  439. )
  440. } else {
  441. this.accessoryTFs = true
  442. }
  443. this.appendixIdss = row.receiveAttachmentPath
  444. },
  445. handleExamine(row) {
  446. this.$router.push({
  447. name: 'salesContractExamine',
  448. query: { id: row.id },
  449. })
  450. },
  451. // 关闭 dialog时 处理文件url 初始化upload组件
  452. handleCloe() {
  453. this.dialogViewSpareMoney = false
  454. },
  455. history(row) {
  456. console.log(row)
  457. billoperatehis({ id: row.id })
  458. .toPromise()
  459. .then((response) => {
  460. this.historyList = response
  461. })
  462. },
  463. find() {
  464. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  465. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  466. this.currentPage = 1
  467. this.getList()
  468. },
  469. async exportlist() {
  470. const { data } = await export1(
  471. {
  472. compId: sessionStorage.getItem('ws-pf_compId'),
  473. contractType: this.contractType,
  474. currentPage: this.currentPage,
  475. pageSize: this.pageSize,
  476. searchType: this.searchType,
  477. searchKeyWord: this.searchKeyWord,
  478. startDate: this.startDate,
  479. endDate: this.endDate,
  480. },
  481. {},
  482. { responseType: 'blob' }
  483. ).toPromise()
  484. downloadFile({
  485. res: data,
  486. fileName: `${
  487. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  488. }_采购合同`,
  489. type: 'xls',
  490. })
  491. },
  492. // deletecontract(){},
  493. //删除
  494. approve() {},
  495. listQuery() {},
  496. total() {},
  497. clearfiltQuery() {},
  498. selectCrtDuty() {},
  499. },
  500. }
  501. </script>
  502. <style lang="scss" scoped>
  503. /deep/.totalStorage .el-input__inner {
  504. color: #afb5cb;
  505. background: #f5f7fa;
  506. }
  507. .small-title {
  508. position: relative;
  509. padding: 10px;
  510. font-weight: 600;
  511. }
  512. .small-title::before {
  513. position: absolute;
  514. content: '';
  515. display: block;
  516. background: #5473e8;
  517. width: 4px;
  518. height: 14px;
  519. left: 0px;
  520. top: 13px;
  521. }
  522. .position {
  523. position: relative;
  524. }
  525. .add,
  526. .del {
  527. position: absolute;
  528. right: -38px;
  529. top: 9px;
  530. cursor: pointer;
  531. }
  532. .del {
  533. right: -70px;
  534. }
  535. .amap-page-container {
  536. width: 300px;
  537. height: 300px;
  538. }
  539. .ware {
  540. font-size: 12px;
  541. color: rgb(255, 255, 255);
  542. background: rgb(175, 181, 203);
  543. padding: 3px;
  544. position: relative;
  545. top: -1px;
  546. border-radius: 3px;
  547. text-align: center;
  548. }
  549. .title {
  550. position: relative;
  551. }
  552. .title::before {
  553. content: '';
  554. display: inline-block;
  555. width: 5px;
  556. height: 30px;
  557. background: #5473e8;
  558. position: absolute;
  559. left: 0;
  560. }
  561. .ws-info-table {
  562. border-left: 1px solid transparent;
  563. border-top: 1px solid transparent;
  564. }
  565. .el-button--primary {
  566. background-color: #5878e8;
  567. border-color: #5878e8;
  568. }
  569. .adjustment.el-button--primary {
  570. background-color: #51cdd9;
  571. border-color: #51cdd9;
  572. }
  573. .el-col {
  574. background: #f6f7fc;
  575. }
  576. .record {
  577. background: #fff;
  578. color: #8890b1;
  579. border-color: #fff;
  580. display: inline-block;
  581. margin-bottom: 10px;
  582. cursor: pointer;
  583. margin-left: 5px;
  584. margin-right: 5px;
  585. }
  586. .record img {
  587. position: relative;
  588. top: 2px;
  589. }
  590. .record.active img {
  591. position: relative;
  592. top: 4px;
  593. }
  594. .record.active {
  595. color: #262626;
  596. }
  597. .button-container {
  598. display: flex;
  599. flex-wrap: nowrap;
  600. justify-content: space-between;
  601. align-items: center;
  602. background-color: #fff;
  603. width: 100%;
  604. height: 50px;
  605. padding: 0 10px;
  606. & > div {
  607. margin-left: 10px;
  608. display: flex;
  609. flex-wrap: nowrap;
  610. flex-direction: row;
  611. & > span {
  612. line-height: 50px;
  613. }
  614. }
  615. /deep/.auditFlow-box {
  616. position: unset;
  617. margin-left: 10px;
  618. &/deep/.auditFlow-icon {
  619. width: auto;
  620. padding-right: 30px;
  621. }
  622. &/deep/.auditFlow-main {
  623. position: absolute;
  624. }
  625. }
  626. }
  627. .box-app {
  628. display: inline-block;
  629. float: left;
  630. margin-left: 30px;
  631. line-height: 50px;
  632. }
  633. /deep/.el-dialog {
  634. .el-form-item {
  635. margin-bottom: 0 !important;
  636. .el-input--medium {
  637. textarea {
  638. min-height: 100px !important;
  639. }
  640. }
  641. }
  642. }
  643. .top-grade {
  644. background: linear-gradient(90deg, #5678e9, #7993f6);
  645. color: #fff;
  646. padding: 3px;
  647. border-radius: 2px;
  648. }
  649. .second-class {
  650. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  651. color: #fff;
  652. padding: 3px;
  653. border-radius: 2px;
  654. }
  655. .third-class {
  656. background: linear-gradient(90deg, #ffa735, #ffbf70);
  657. color: #fff;
  658. padding: 3px;
  659. border-radius: 2px;
  660. }
  661. .substandard {
  662. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  663. color: #fff;
  664. padding: 3px;
  665. border-radius: 2px;
  666. }
  667. .collapse-bottom {
  668. margin-bottom: 20px;
  669. }
  670. .input-main .textarea .el-textarea__inner {
  671. width: 100%;
  672. z-index: 1;
  673. }
  674. .bg-left {
  675. padding-left: 30px;
  676. }
  677. .bg-right {
  678. padding-right: 10px;
  679. text-align: right;
  680. }
  681. .bg-bottom {
  682. margin: 15px 0px;
  683. }
  684. .wenzi {
  685. width: 900px;
  686. margin: 0 auto;
  687. }
  688. .wenzi h3 {
  689. display: inline-block;
  690. left: 10px;
  691. }
  692. .wenzi p {
  693. display: inline-block;
  694. }
  695. .center {
  696. padding: 0 1%;
  697. }
  698. .el-form-item {
  699. width: 50%;
  700. }
  701. .el-form-item__label {
  702. text-align: center;
  703. }
  704. .ce {
  705. width: 900px;
  706. margin: 0 auto;
  707. }
  708. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  709. /* height: 82px;*/
  710. /*}*/
  711. // 控制select为只读的时候显示样式
  712. .hide-sel {
  713. .el-input__inner {
  714. border: 0px;
  715. }
  716. .el-icon-arrow-up {
  717. display: none;
  718. }
  719. .el-textarea__inner {
  720. background-color: #fff !important;
  721. border: 0;
  722. }
  723. .el-date-editor {
  724. i {
  725. display: none;
  726. }
  727. }
  728. .is-disabled {
  729. .el-input__inner:hover {
  730. background-color: #fff !important;
  731. border: 0;
  732. }
  733. color: #606266;
  734. .el-input__inner {
  735. background-color: #fff !important;
  736. border: 0;
  737. color: #606266;
  738. }
  739. .el-textarea__inner {
  740. background-color: #fff !important;
  741. border: 0;
  742. color: #606266;
  743. }
  744. }
  745. }
  746. // 控制select为只读的时候显示样式
  747. /deep/.ws-class-table-col {
  748. height: auto;
  749. padding: 0px 2px;
  750. /deep/.el-input__inner {
  751. padding: 0px 2px;
  752. }
  753. }
  754. /deep/.is-disabled {
  755. .el-input__prefix,
  756. .el-input__suffix {
  757. display: none;
  758. }
  759. .el-input__inner {
  760. background-color: #fff;
  761. border-color: #fff !important;
  762. color: #000 !important;
  763. font-size: 14px;
  764. cursor: text;
  765. padding: 0 !important;
  766. }
  767. }
  768. .winseaview-view {
  769. padding: 0 0 20px;
  770. }
  771. .container {
  772. overflow: scroll;
  773. height: 93vh;
  774. }
  775. .el-textarea__inner {
  776. display: none;
  777. }
  778. .readonly {
  779. width: 16%;
  780. }
  781. .ws-info-table .el-form-item {
  782. width: 14.28%;
  783. }
  784. /deep/.ws-info-table .el-form-item .el-form-item__label {
  785. background-color: #f6f7fc;
  786. font-size: 12px;
  787. height: 45px;
  788. }
  789. //去边框
  790. /deep/.el-form-item {
  791. border-right: 0px;
  792. border-bottom: 0px;
  793. }
  794. /deep/.ws-info-table {
  795. border-left: 0px;
  796. border-top: 0px;
  797. }
  798. .ws-info-table .el-form-item .el-form-item__content {
  799. border-right: 0px;
  800. border-bottom: 0px;
  801. border-left: 0px;
  802. border-top: 0px;
  803. }
  804. /deep/.ws-info-table .el-form-item {
  805. border-right: 0px;
  806. border-bottom: 0px;
  807. border-left: 0px;
  808. border-top: 0px;
  809. }
  810. /deep/.ws-info-table .el-form-item .el-form-item__content {
  811. background: #f5f7fa;
  812. border-radius: 4px;
  813. border: 1px solid #d8dce6;
  814. font-family: PingFangSC-Regular, PingFang SC;
  815. margin-bottom: 5px;
  816. background-color: #fff;
  817. font-size: 14px;
  818. font-weight: 400;
  819. color: #8890b1;
  820. line-height: 16px;
  821. }
  822. /deep/.ws-info-table .el-form-item .el-form-item__content {
  823. border: 0px;
  824. }
  825. </style>