warehouseManagementEdit.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872
  1. <template>
  2. <div class="container">
  3. <el-row>
  4. <el-col :span="20">
  5. <h2 class="bg-left title">修改仓库信息</h2>
  6. </el-col>
  7. <el-col :span="4" class="bg-right">
  8. <el-button
  9. class="bg-bottom"
  10. type="primary"
  11. size="small"
  12. @click="returnWarehouse()"
  13. >返回</el-button
  14. >
  15. </el-col>
  16. </el-row>
  17. <div>
  18. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  19. <el-radio-group v-model="warehouseType" @change="warehouseTypechange">
  20. <el-radio label="1">自有库</el-radio>
  21. <el-radio label="2">临时库</el-radio>
  22. </el-radio-group>
  23. <div class="small-title">基本信息</div>
  24. <!--基本信息-->
  25. <ws-info-table>
  26. <!--仓库名称-->
  27. <ws-form-item
  28. label="仓库名称"
  29. span="1"
  30. prop="warehouseName"
  31. class="readonly"
  32. >
  33. <ws-select
  34. v-model="deptBudgetList.warehouseName"
  35. placeholder=""
  36. class="typeselect"
  37. @change="selectpackingMethod"
  38. >
  39. <ws-option
  40. v-for="item in packtypeList"
  41. :key="item.constKey"
  42. :label="item.warehouseName"
  43. :value="item.warehouseName"
  44. />
  45. </ws-select>
  46. </ws-form-item>
  47. <!--负责人-->
  48. <ws-form-item label="负责人" span="1" prop="personCharge">
  49. <ws-input
  50. v-model="deptBudgetList.personCharge"
  51. placeholder="请输入负责人"
  52. maxlength="100"
  53. size="small"
  54. />
  55. </ws-form-item>
  56. <!--负责人电话-->
  57. <ws-form-item
  58. label="负责人电话"
  59. span="1"
  60. prop="personPhone"
  61. class="readonly"
  62. >
  63. <ws-input
  64. v-model="deptBudgetList.personPhone"
  65. placeholder="请输入负责人电话"
  66. maxlength="100"
  67. size="small"
  68. />
  69. </ws-form-item>
  70. <!--仓库所在地-->
  71. <ws-form-item label="仓库所在地" span="1" prop="warehouseCity">
  72. <ws-input
  73. v-model="deptBudgetList.warehouseCity"
  74. placeholder="请输入仓库所在地"
  75. maxlength="120"
  76. size="small"
  77. />
  78. </ws-form-item>
  79. <!--详细地址-->
  80. <ws-form-item
  81. label="详细地址"
  82. span="1"
  83. prop="detailedAddress"
  84. class="readonly"
  85. >
  86. <ws-input
  87. v-model="deptBudgetList.detailedAddress"
  88. placeholder="请输入详细地址"
  89. maxlength="100"
  90. size="small"
  91. />
  92. </ws-form-item>
  93. <!--总储量(吨)-->
  94. <ws-form-item
  95. v-if="warehouseType == 1"
  96. label="总储量(吨)"
  97. span="1"
  98. prop="totalStorage"
  99. >
  100. <!-- <ws-input
  101. v-model="deptBudgetList.totalStorage"
  102. placeholder="请输入总储量(吨)"
  103. maxlength="20"
  104. size="small"
  105. /> -->
  106. {{ totalStorage }}
  107. </ws-form-item>
  108. </ws-info-table>
  109. <div v-for="(item, index) in deptBudgetList.warehousePositionInfoList">
  110. <ws-info-table>
  111. <!--仓位编号-->
  112. <ws-form-item label="仓位编号" span="1" prop="binNumber">
  113. <ws-input
  114. v-model.number="item.binNumber"
  115. placeholder="请输入仓位编号"
  116. maxlength="100"
  117. size="small"
  118. />
  119. </ws-form-item>
  120. <!--仓位储量(吨)-->
  121. <ws-form-item label="仓位储量(吨)" span="1" prop="maxStorage">
  122. <ws-input
  123. v-model="item.maxStorage"
  124. placeholder="请输入仓位储量(吨)"
  125. maxlength="20"
  126. size="small"
  127. />
  128. </ws-form-item>
  129. <!--备注(选填)-->
  130. <ws-form-item label="备注(选填)" span="1" prop=" remark">
  131. <ws-input
  132. v-model="item.remark"
  133. placeholder="请输入备注"
  134. maxlength="100"
  135. size="small"
  136. />
  137. </ws-form-item>
  138. <img
  139. width="22"
  140. height="22"
  141. class="add"
  142. @click="add"
  143. src="../../../public/img/add.png"
  144. alt=""
  145. />
  146. <img
  147. width="22"
  148. height="22"
  149. class="del"
  150. @click="del(index, item)"
  151. src="../../../public/img/del.png"
  152. alt=""
  153. />
  154. </ws-info-table>
  155. </div>
  156. </ws-form>
  157. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  158. <div v-if="warehouseType == 1" class="small-title">上传仓库照片</div>
  159. <ws-upload
  160. v-if="warehouseType == 1"
  161. ref="upload"
  162. table-name="maintain_work_order"
  163. oss-key="mainPlan"
  164. :comp-id="compId"
  165. :appendix-ids="appendixIdsAdd"
  166. :vesselId="deptBudgetList.addressUrl"
  167. :size-limit="size"
  168. @uploadSuccess="uploadSuccess"
  169. @onChange="onChange"
  170. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  171. />
  172. <div class="small-title">仓库定位</div>
  173. <map-drag
  174. @marker="marker"
  175. @selectedAddress="selectedAddress"
  176. ></map-drag>
  177. </ws-form>
  178. <!-- <ws-button @click="exportlist()"></ws-button> -->
  179. </div>
  180. <div style="text-align: right; padding: 10px">
  181. <el-button
  182. class="bg-bottom-up"
  183. type="primary"
  184. size="small"
  185. @click="submit()"
  186. >修改</el-button
  187. >
  188. </div>
  189. </div>
  190. </template>
  191. <script>
  192. import {
  193. xiala,
  194. billoperatehis,
  195. getLook,
  196. edit,
  197. delPosition,
  198. } from '@/model/warehouse/index'
  199. import { downloadFile } from '@/utils/batchDown'
  200. import Pagination from '@/components/Pagination'
  201. import WsUpload from '@/components/WsUpload'
  202. import mapDrag from '@/components/mapdrag/mapdrag'
  203. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  204. export default {
  205. name: 'viewSpareMoney',
  206. components: {
  207. WsUpload,
  208. Pagination,
  209. mapDrag,
  210. },
  211. watch: {
  212. vesselId(val) {
  213. this.getList()
  214. },
  215. isShow(val) {
  216. this.showType = val
  217. },
  218. },
  219. data() {
  220. return {
  221. //弹出框
  222. dialogViewSpareMoney: false,
  223. dialogApproveFormVisible: false,
  224. // 船舶类型
  225. monetaryKey: null,
  226. // 表格显示数据
  227. tableDate: [],
  228. // 是否显示
  229. showType: true,
  230. // 年
  231. year: '',
  232. deptBudgetTotal: 0,
  233. currentPage: 1,
  234. pageSize: 10,
  235. searchType: 1,
  236. searchKeyWord: '',
  237. contractType: 2,
  238. startDate: null,
  239. endDate: null,
  240. warehouseType: '1',
  241. unitList: [],
  242. baseId: '',
  243. // 提交类型
  244. submitType: true,
  245. size: 10,
  246. compId: sessionStorage.getItem('ws-pf_compId'),
  247. deptCircularPage: {},
  248. packtypeList: [],
  249. date: {
  250. year: dayjs().format('YYYY'),
  251. month: dayjs().format('MM'),
  252. },
  253. contractList: [],
  254. deptBudgetList: {},
  255. historyList: [],
  256. appendixIdsAdd: '',
  257. pickerBeginDateBefore: {
  258. disabledDate: (time) => {
  259. return time.getTime() > Date.now()
  260. },
  261. },
  262. accessoryTFs: false,
  263. }
  264. },
  265. activated() {
  266. this.loaddata()
  267. this.showType = this.isShow
  268. },
  269. computed: {
  270. totalStorage: function () {
  271. var sum = 0
  272. if (this.deptBudgetList.warehousePositionInfoList) {
  273. for (
  274. var i = 0;
  275. i < this.deptBudgetList.warehousePositionInfoList.length;
  276. i++
  277. ) {
  278. sum += Number(
  279. this.deptBudgetList.warehousePositionInfoList[i].maxStorage
  280. )
  281. }
  282. }
  283. return sum
  284. },
  285. },
  286. methods: {
  287. //返回按钮
  288. returnWarehouse() {
  289. this.deptBudgetList = {}
  290. this.$router.push({ path: 'warehouseManagementList' })
  291. },
  292. warehouseTypechange() {
  293. this.deptBudgetList = {}
  294. this.loaddata()
  295. },
  296. marker: function (item) {
  297. this.deptBudgetList.warehousePositioning =
  298. item.lnglat.lat + ',' + item.lnglat.lng
  299. },
  300. selectedAddress(e) {
  301. this.deptBudgetList.warehousePositioning =
  302. e.center.lat + ',' + e.center.lng
  303. },
  304. uploadSuccess(data, files, url) {
  305. console.log(data, files, url)
  306. },
  307. onChange(files) {
  308. this.fileNum = files
  309. this.$refs.upload.handleSaveBill().then((res) => {
  310. console.log(files)
  311. })
  312. },
  313. handleClose() {
  314. this.accessoryTFs = false
  315. },
  316. handleSizeChange(val) {
  317. console.log(`每页 ${val} 条`)
  318. this.pageSize = val
  319. this.getList()
  320. },
  321. handleCurrentChange(val) {
  322. this.currentPage = val
  323. console.log(`当前页: ${val}`)
  324. this.getList()
  325. },
  326. selectpackingMethod(e) {
  327. for (var i = 0; i < this.packtypeList.length; i++) {
  328. if (this.packtypeList[i].warehouseName == e) {
  329. this.baseId = this.packtypeList[i].id
  330. this.getLook(this.packtypeList[i].id)
  331. }
  332. }
  333. },
  334. add() {
  335. this.deptBudgetList.warehousePositionInfoList.push({
  336. binNumber: '',
  337. maxStorage: '',
  338. remark: '',
  339. })
  340. },
  341. del(index, item) {
  342. if (item.nowStorage > 0) {
  343. this.$message.warning('尚有剩余库存,不可删除')
  344. } else {
  345. this.$confirm(`此操作将永久删除该仓位的全部信息,是否确定删除`, {
  346. confirmButtonText: '确定',
  347. cancelButtonText: '取消',
  348. type: 'warning',
  349. })
  350. .then(() => {
  351. if (item.id) {
  352. delPosition({ id: item.id })
  353. .toPromise()
  354. .then((response) => {
  355. this.$message.success('删除成功')
  356. })
  357. .catch((response) => {
  358. EventBus.$emit(
  359. 'error',
  360. this.$t('showMessage.asteriskRequired')
  361. )
  362. })
  363. }
  364. if (this.deptBudgetList.warehousePositionInfoList.length > 1) {
  365. this.deptBudgetList.warehousePositionInfoList.splice(index, 1)
  366. }
  367. })
  368. .catch(() => {
  369. return false
  370. })
  371. }
  372. },
  373. loaddata() {
  374. // 仓库名称
  375. xiala({
  376. compId: sessionStorage.getItem('ws-pf_compId'),
  377. warehouseType: this.warehouseType,
  378. })
  379. .toPromise()
  380. .then((response) => {
  381. this.packtypeList = response
  382. })
  383. },
  384. getUnitList() {
  385. xiala({
  386. compId: sessionStorage.getItem('ws-pf_compId'),
  387. constCode: 'TYPEYAN',
  388. })
  389. .toPromise()
  390. .then((response) => {
  391. this.unitList = response
  392. let currItem
  393. this.unitList.forEach((item, index, arr) => {
  394. item.flag = 'delete'
  395. if (this.vModel == item.constKey) {
  396. currItem = item
  397. this.getLook(currItem.compId)
  398. }
  399. })
  400. //
  401. if (currItem) {
  402. this.getLook(currItem.compId)
  403. }
  404. })
  405. },
  406. getLook(compId1) {
  407. getLook({
  408. id: compId1,
  409. })
  410. .toPromise()
  411. .then((response) => {
  412. this.deptBudgetList = response
  413. })
  414. },
  415. //提交
  416. submit() {
  417. if (!this.deptBudgetList.warehouseName) {
  418. this.$message({
  419. message: '仓库名称不能为空!',
  420. type: 'warning',
  421. })
  422. return
  423. }
  424. if (
  425. this.deptBudgetList.warehouseName.length < 2 ||
  426. this.deptBudgetList.warehouseName.length > 20
  427. ) {
  428. this.$message({
  429. message: '仓库名长度不符合要求!',
  430. type: 'warning',
  431. })
  432. return
  433. }
  434. if (!this.deptBudgetList.personCharge) {
  435. this.$message({
  436. message: '负责人不能为空!',
  437. type: 'warning',
  438. })
  439. return
  440. }
  441. if (
  442. this.deptBudgetList.personCharge.length < 2 ||
  443. this.deptBudgetList.personCharge.length > 10
  444. ) {
  445. this.$message({
  446. message: '负责人长度不符合要求,请控制在2-10字符之内',
  447. type: 'warning',
  448. })
  449. return
  450. }
  451. if (!this.deptBudgetList.personPhone) {
  452. this.$message({
  453. message: '负责人电话不能为空!',
  454. type: 'warning',
  455. })
  456. return
  457. }
  458. if (this.deptBudgetList.personPhone.length != 11) {
  459. this.$message({
  460. message: '手机号输入有误!',
  461. type: 'warning',
  462. })
  463. return
  464. }
  465. if (!this.deptBudgetList.detailedAddress) {
  466. this.$message({
  467. message: '详细地址不能为空!',
  468. type: 'warning',
  469. })
  470. return
  471. }
  472. if (this.warehouseType == 1) {
  473. if (this.totalStorage <= 0) {
  474. this.$message({
  475. message: '仓位储量不能为空!',
  476. type: 'warning',
  477. })
  478. return
  479. }
  480. }
  481. if (
  482. this.deptBudgetList.detailedAddress.length < 2 ||
  483. this.deptBudgetList.detailedAddress.length > 20
  484. ) {
  485. this.$message({
  486. message: '详细地址长度不符合要求,请控制在2-20字符之内',
  487. type: 'warning',
  488. })
  489. return
  490. }
  491. for (
  492. var i = 0;
  493. i < this.deptBudgetList.warehousePositionInfoList.length;
  494. i++
  495. ) {
  496. for (
  497. var j = i + 1;
  498. j < this.deptBudgetList.warehousePositionInfoList.length;
  499. j++
  500. ) {
  501. console.log(
  502. this.deptBudgetList.warehousePositionInfoList[i].binNumber,
  503. this.deptBudgetList.warehousePositionInfoList[j].binNumber
  504. )
  505. if (
  506. this.deptBudgetList.warehousePositionInfoList[i].binNumber ==
  507. this.deptBudgetList.warehousePositionInfoList[j].binNumber
  508. ) {
  509. this.$message({
  510. message: '仓位编号重复',
  511. type: 'warning',
  512. })
  513. return
  514. }
  515. }
  516. }
  517. this.$refs.deptBudgetList.validate((valid) => {
  518. if (valid) {
  519. this.deptBudgetList.warehouseType = this.warehouseType
  520. this.deptBudgetList.baseId = this.baseId
  521. this.deptBudgetList.compId = this.compId
  522. this.deptBudgetList.contractType = 1
  523. edit(this.deptBudgetList)
  524. .toPromise()
  525. .then((response) => {
  526. this.$message.success('编辑成功')
  527. this.deptBudgetList = {}
  528. this.$router.push({ path: 'warehouseManagementList' })
  529. })
  530. } else {
  531. //EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  532. return false
  533. }
  534. })
  535. },
  536. // 关闭 dialog时 处理文件url 初始化upload组件
  537. handleCloe() {
  538. this.dialogViewSpareMoney = false
  539. },
  540. history(row) {
  541. console.log(row)
  542. billoperatehis({ id: row.id })
  543. .toPromise()
  544. .then((response) => {
  545. this.historyList = response
  546. })
  547. },
  548. //删除
  549. approve() {},
  550. listQuery() {},
  551. total() {},
  552. clearfiltQuery() {},
  553. selectCrtDuty() {},
  554. },
  555. }
  556. </script>
  557. <style lang="scss" scoped>
  558. /deep/.totalStorage .el-input__inner {
  559. color: #afb5cb;
  560. background: #f5f7fa;
  561. }
  562. .small-title {
  563. position: relative;
  564. padding: 10px;
  565. font-weight: 600;
  566. }
  567. .small-title::before {
  568. position: absolute;
  569. content: '';
  570. display: block;
  571. background: #5473e8;
  572. width: 4px;
  573. height: 14px;
  574. left: 0px;
  575. top: 13px;
  576. }
  577. .position {
  578. position: relative;
  579. }
  580. .add,
  581. .del {
  582. position: absolute;
  583. right: -38px;
  584. top: 9px;
  585. cursor: pointer;
  586. }
  587. .del {
  588. right: -70px;
  589. }
  590. .amap-page-container {
  591. width: 300px;
  592. height: 300px;
  593. }
  594. .el-form {
  595. padding: 0 15%;
  596. }
  597. /deep/.ws-info-table .el-form-item {
  598. border-right: 1px solid transparent;
  599. border-bottom: 1px solid transparent;
  600. }
  601. .readonly {
  602. position: relative;
  603. }
  604. .readonly:after {
  605. content: '*';
  606. color: #ff2727;
  607. position: absolute;
  608. right: 8px;
  609. z-index: 10;
  610. top: 21%;
  611. font-size: 20px;
  612. }
  613. .title {
  614. position: relative;
  615. }
  616. .title::before {
  617. content: '';
  618. display: inline-block;
  619. width: 5px;
  620. height: 30px;
  621. background: #5473e8;
  622. position: absolute;
  623. left: 0;
  624. }
  625. .ws-info-table {
  626. border-left: 1px solid transparent;
  627. border-top: 1px solid transparent;
  628. }
  629. .el-button--primary {
  630. background-color: #5878e8;
  631. border-color: #5878e8;
  632. }
  633. .el-col {
  634. background: #f6f7fc;
  635. }
  636. /deep/.ws-info-table .el-form-item .el-form-item__content {
  637. padding: 0 25px;
  638. border-left: 1px solid transparent;
  639. background: #fff;
  640. }
  641. /deep/.ws-info-table .el-form-item .el-form-item__label {
  642. width: 100px;
  643. text-align: center;
  644. background: #fff;
  645. // border: 1px solid #cdd2dc;
  646. }
  647. .button-container {
  648. display: flex;
  649. flex-wrap: nowrap;
  650. justify-content: space-between;
  651. align-items: center;
  652. background-color: #fff;
  653. width: 100%;
  654. height: 50px;
  655. padding: 0 10px;
  656. & > div {
  657. margin-left: 10px;
  658. display: flex;
  659. flex-wrap: nowrap;
  660. flex-direction: row;
  661. & > span {
  662. line-height: 50px;
  663. }
  664. }
  665. /deep/.auditFlow-box {
  666. position: unset;
  667. margin-left: 10px;
  668. &/deep/.auditFlow-icon {
  669. width: auto;
  670. padding-right: 30px;
  671. }
  672. &/deep/.auditFlow-main {
  673. position: absolute;
  674. }
  675. }
  676. }
  677. .box-app {
  678. display: inline-block;
  679. float: left;
  680. margin-left: 30px;
  681. line-height: 50px;
  682. }
  683. /deep/.el-dialog {
  684. .el-form-item {
  685. margin-bottom: 0 !important;
  686. .el-input--medium {
  687. textarea {
  688. min-height: 100px !important;
  689. }
  690. }
  691. }
  692. }
  693. .collapse-bottom {
  694. margin-bottom: 20px;
  695. }
  696. .input-main .textarea .el-textarea__inner {
  697. width: 100%;
  698. z-index: 1;
  699. }
  700. .bg-left {
  701. padding-left: 30px;
  702. }
  703. .bg-right {
  704. padding-right: 10px;
  705. text-align: right;
  706. }
  707. .bg-bottom {
  708. margin: 15px 0px;
  709. }
  710. .wenzi {
  711. width: 900px;
  712. margin: 0 auto;
  713. }
  714. .wenzi h3 {
  715. display: inline-block;
  716. left: 10px;
  717. }
  718. .wenzi p {
  719. display: inline-block;
  720. }
  721. .center {
  722. width: 900px;
  723. margin: 0 auto;
  724. }
  725. .el-form-item {
  726. width: 50%;
  727. }
  728. .el-form-item__label {
  729. text-align: center;
  730. }
  731. .ce {
  732. width: 900px;
  733. margin: 0 auto;
  734. }
  735. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  736. /* height: 82px;*/
  737. /*}*/
  738. // 控制select为只读的时候显示样式
  739. .hide-sel {
  740. .el-input__inner {
  741. border: 0px;
  742. }
  743. .el-icon-arrow-up {
  744. display: none;
  745. }
  746. .el-textarea__inner {
  747. background-color: #fff !important;
  748. border: 0;
  749. }
  750. .el-date-editor {
  751. i {
  752. display: none;
  753. }
  754. }
  755. .is-disabled {
  756. .el-input__inner:hover {
  757. background-color: #fff !important;
  758. border: 0;
  759. }
  760. color: #606266;
  761. .el-input__inner {
  762. background-color: #fff !important;
  763. border: 0;
  764. color: #606266;
  765. }
  766. .el-textarea__inner {
  767. background-color: #fff !important;
  768. border: 0;
  769. color: #606266;
  770. }
  771. }
  772. }
  773. // 控制select为只读的时候显示样式
  774. /deep/.ws-class-table-col {
  775. height: auto;
  776. padding: 0px 2px;
  777. /deep/.el-input__inner {
  778. padding: 0px 2px;
  779. }
  780. }
  781. /deep/.is-disabled {
  782. .el-input__prefix,
  783. .el-input__suffix {
  784. display: none;
  785. }
  786. .el-input__inner {
  787. background-color: #fff;
  788. border-color: #fff !important;
  789. color: #000 !important;
  790. font-size: 14px;
  791. cursor: text;
  792. padding: 0 !important;
  793. }
  794. }
  795. .winseaview-view {
  796. padding: 0 0 20px;
  797. }
  798. .container {
  799. overflow: scroll;
  800. height: 93vh;
  801. }
  802. .ws-info-table .el-form-item {
  803. width: 33.3333%;
  804. }
  805. .readonly:after {
  806. display: none;
  807. }
  808. .el-textarea__inner {
  809. display: none;
  810. }
  811. .el-form {
  812. margin-top: 50px;
  813. }
  814. .readonly {
  815. width: 16%;
  816. }
  817. .ws-info-table .el-form-item {
  818. width: 33.33%;
  819. }
  820. //去边框
  821. /deep/.el-form-item {
  822. border-right: 0px;
  823. border-bottom: 0px;
  824. }
  825. /deep/.ws-info-table {
  826. border-left: 0px;
  827. border-top: 0px;
  828. }
  829. .ws-info-table .el-form-item .el-form-item__content {
  830. border-right: 0px;
  831. border-bottom: 0px;
  832. border-left: 0px;
  833. border-top: 0px;
  834. }
  835. /deep/.ws-info-table .el-form-item {
  836. border-right: 0px;
  837. border-bottom: 0px;
  838. border-left: 0px;
  839. border-top: 0px;
  840. }
  841. /deep/.ws-info-table .el-form-item .el-form-item__content {
  842. background: #f5f7fa;
  843. border-radius: 4px;
  844. border: 1px solid #d8dce6;
  845. font-family: PingFangSC-Regular, PingFang SC;
  846. margin-bottom: 5px;
  847. background-color: #fff;
  848. font-size: 14px;
  849. font-weight: 400;
  850. color: #8890b1;
  851. line-height: 16px;
  852. }
  853. /deep/.ws-info-table .el-form-item .el-form-item__label {
  854. background-color: #fff;
  855. font-size: 14px;
  856. font-family: PingFangSC-Regular, PingFang SC;
  857. font-weight: 400;
  858. color: #8890b1;
  859. line-height: 16px;
  860. }
  861. /deep/.ws-info-table .el-form-item .el-form-item__content {
  862. border: 0px;
  863. }
  864. </style>