tranManagementTransporTrainNo.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857
  1. //车次安排
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="12">
  6. <h2 class="bg-left title">车次安排</h2>
  7. </el-col>
  8. <el-col :span="12" class="bg-right">
  9. <el-button
  10. class="bg-bottom"
  11. type="primary"
  12. size="small"
  13. @click="returnsales()"
  14. ><img
  15. width="6"
  16. height="10"
  17. style="vertical-align: bottom; margin-right: 3px"
  18. src="../../../public/img/lujing.png"
  19. alt=""
  20. />返回</el-button
  21. >
  22. </el-col>
  23. </el-row>
  24. <ws-form
  25. class="position"
  26. ref="deptBudgetList"
  27. :rules="rules"
  28. :model="deptBudgetList"
  29. >
  30. <div class="small-title" style="font-size: 16px">任务详情</div>
  31. <ws-info-table>
  32. <!--任务编号-->
  33. <ws-form-item label="任务编号" span="1" prop="processNo">
  34. {{ deptBudgetList.processNo }}
  35. </ws-form-item>
  36. <!--货名-->
  37. <ws-form-item label="货名" span="1" prop="goodsName">
  38. {{ deptBudgetList.goodsName }}
  39. </ws-form-item>
  40. <!--重量(吨)-->
  41. <ws-form-item label="重量(吨)" span="1" prop="weight">
  42. {{ deptBudgetList.weight }}
  43. </ws-form-item>
  44. <!--发货地址-->
  45. <ws-form-item label="发货地址" span="1" prop="sendDetailedAddress">
  46. {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
  47. }}{{ deptBudgetList.sendArea
  48. }}{{ deptBudgetList.sendDetailedAddress }}
  49. </ws-form-item>
  50. <!--发货人-->
  51. <ws-form-item label="发货人" span="1" prop="sender" class="readonly">
  52. {{ deptBudgetList.sender }}
  53. </ws-form-item>
  54. <!--发货人电话-->
  55. <ws-form-item
  56. label="发货人电话"
  57. span="1"
  58. prop="senderPhone"
  59. class="readonly"
  60. >
  61. {{ deptBudgetList.senderPhone }}
  62. </ws-form-item>
  63. <!--收货地址-->
  64. <ws-form-item label="收货地址" span="1" prop="receiveDetailedAddress">
  65. {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
  66. }}{{ deptBudgetList.receiveArea
  67. }}{{ deptBudgetList.receiveDetailedAddress }}
  68. </ws-form-item>
  69. <!--收货人-->
  70. <ws-form-item label="收货人" span="1" prop="receiver">
  71. {{ deptBudgetList.receiver }}
  72. </ws-form-item>
  73. <!--收货人电话-->
  74. <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
  75. {{ deptBudgetList.receiverPhone }}
  76. </ws-form-item>
  77. <!--发货日期-->
  78. <ws-form-item label="发货日期" span="1" prop="deliveryDateStart">
  79. {{ deptBudgetList.deliveryDateStart }}
  80. </ws-form-item>
  81. <!--最晚到货日期-->
  82. <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
  83. {{ deptBudgetList.deliveryDateEnd }}
  84. </ws-form-item>
  85. <!--合同编号-->
  86. <ws-form-item label="合同编号" span="1" prop="contractNo">
  87. {{ deptBudgetList.contractNo }}
  88. </ws-form-item>
  89. </ws-info-table>
  90. <div class="small-title" style="font-size: 16px">联络员及车皮信息</div>
  91. <div
  92. class="liaison"
  93. v-for="(item, index) in deptBudgetList.tranCarInfoList"
  94. :key="index"
  95. >
  96. <ws-info-table>
  97. <!--姓名-->
  98. <ws-form-item label="姓名" span="1" prop="driver" v-show="index==0">
  99. <el-select
  100. v-model="item.driver"
  101. placeholder="请选择姓名"
  102. filterable
  103. :filter-method="dataFilter"
  104. @change="selectstaff"
  105. >
  106. <el-option
  107. v-for="item in options"
  108. :key="item.value"
  109. :label="item.staffName"
  110. :value="item.staffName"
  111. />
  112. </el-select>
  113. </ws-form-item>
  114. <!--电话-->
  115. <ws-form-item label="电话" span="1" prop="driverPhone" v-show="index==0">
  116. <ws-input
  117. v-model="item.driverPhone"
  118. readonly
  119. unselectable="on"
  120. placeholder="请输入电话"
  121. maxlength="20"
  122. size="small"
  123. />
  124. </ws-form-item>
  125. <!--发车日期-->
  126. <ws-form-item label="发车日期" span="1" prop="sendDateStart" v-show="index==0">
  127. <ws-date-picker
  128. v-model="item.sendDateStart"
  129. type="date"
  130. placeholder="请选择发货日期"
  131. value-format="yyyy-MM-dd"
  132. />
  133. </ws-form-item>
  134. <!--到站日期-->
  135. <ws-form-item label="预计到站日期" span="1" prop="receiveDateEnd" v-show="index==0">
  136. <ws-date-picker
  137. v-model="item.receiveDateEnd"
  138. type="date"
  139. placeholder="请选择预计到站日期"
  140. value-format="yyyy-MM-dd"
  141. />
  142. </ws-form-item>
  143. <!--车型-->
  144. <ws-form-item label="车型" span="1" prop="carModel" v-show="index==0">
  145. <el-select
  146. v-model="item.carModel"
  147. placeholder="请选择车型"
  148. filterable
  149. >
  150. <el-option
  151. v-for="items in carModel"
  152. :key="items.value"
  153. :label="items.constValue"
  154. :value="items.constValue"
  155. />
  156. </el-select>
  157. </ws-form-item>
  158. <ws-form-item :label="'车厢号'" span="1" prop="boxNo">
  159. <ws-input
  160. v-model="item.boxNo"
  161. placeholder="请输入车厢号"
  162. maxlength="20"
  163. size="small"
  164. />
  165. </ws-form-item>
  166. <!-- -->
  167. </ws-info-table>
  168. <!-- class="del" -->
  169. <span
  170. v-if="
  171. item.status == '未装车' || item.status == '' || item.status == null
  172. "
  173. width="22"
  174. height="22"
  175. class="del"
  176. @click="del(index, item)"
  177. src="../../../public/img/del.png"
  178. alt=""
  179. >×</span
  180. >
  181. </div>
  182. <el-button class="add bg-bottom" type="primary" size="small" @click="add">
  183. <img width="22" height="22" src="../../../public/img/add.png" alt="" />
  184. <div class="spans">添加车厢</div>
  185. </el-button>
  186. </ws-form>
  187. <!-- 提交 -->
  188. <div style="text-align: right; padding: 10px" class="center">
  189. <el-button class="bg-bottom" type="primary" size="small" @click="submit()"
  190. >提交</el-button
  191. >
  192. </div>
  193. </div>
  194. </template>
  195. <script>
  196. import { regionData } from 'element-china-area-data'
  197. import {
  198. seeCat,
  199. dispatchCat,
  200. packList,
  201. delhaulagestage,
  202. } from '@/model/transport/index'
  203. import { getstaff } from '@/model/warehouse/index'
  204. import WsUpload from '@/components/WsUpload'
  205. import mapDrag from '@/components/mapdrag/mapdrag'
  206. export default {
  207. name: 'viewSpareMoney',
  208. components: {
  209. WsUpload,
  210. mapDrag,
  211. },
  212. watch: {
  213. vesselId(val) {
  214. this.getVesselData()
  215. },
  216. isShow(val) {
  217. this.showType = val
  218. },
  219. },
  220. data() {
  221. return {
  222. deptBudgetList: {
  223. totalStorage: 0,
  224. },
  225. options_: regionData,
  226. selectedOptions: [],
  227. center: [116.244694, 39.517344],
  228. personCharge: [],
  229. driverList: [],
  230. listDate: { country: '中国', level: 'country', city: '' },
  231. citylist: [],
  232. tranType: '2',
  233. rules: {
  234. warehouseName: [
  235. {
  236. required: true,
  237. message: '请输入仓库名称',
  238. trigger: 'blur',
  239. },
  240. {
  241. min: 2,
  242. max: 20,
  243. message: '仓库名长度不符合要求,请输入2-20字符之内',
  244. trigger: 'blur',
  245. },
  246. ],
  247. },
  248. size: 10,
  249. unitList: [],
  250. name: '',
  251. list: [],
  252. staffList: [],
  253. options: [],
  254. carModel: [],
  255. tranCarInfoList: {},
  256. arr: [],
  257. }
  258. },
  259. activated() {
  260. this.deptBudgetList.id = this.$route.query.id
  261. this.getList()
  262. },
  263. computed: {
  264. totalStorage: function () {
  265. var maxStorage = 0
  266. for (var i = 0; i < this.freightspace.length; i++) {
  267. maxStorage += Number(this.freightspace[i].maxStorage)
  268. }
  269. return maxStorage
  270. },
  271. },
  272. methods: {
  273. dataFilter(val) {
  274. this.deptBudgetList.personCharge = val
  275. if (val) {
  276. this.options = this.staffList.filter((item) => {
  277. if (
  278. !!~item.staffName.indexOf(val) ||
  279. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  280. ) {
  281. return true
  282. }
  283. })
  284. } else {
  285. this.options = this.staffList
  286. }
  287. },
  288. selectstaff(e) {
  289. for (var i = 0; i < this.staffList.length; i++) {
  290. if (this.staffList[i].staffName == e) {
  291. this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
  292. this.deptBudgetList.tranCarInfoList[0].driverPhone =
  293. this.staffList[i].staffMobilePhone
  294. this.deptBudgetList.personChargeKey = this.staffList[i].staffId
  295. }
  296. }
  297. },
  298. selectedAddress(e) {
  299. this.deptBudgetList.warehousePositioning =
  300. e.center.lat + ',' + e.center.lng
  301. },
  302. confirmPositioncity() {
  303. this.listDate.level = 'city'
  304. this.listDate.country = this.name
  305. },
  306. // 关闭 dialog时 处理文件url 初始化upload组件
  307. // handleClose() {
  308. // this.dialogViewSpareMoney = false
  309. // },
  310. add() {
  311. this.deptBudgetList.tranCarInfoList.push({
  312. driver: this.deptBudgetList.tranCarInfoList[0].driver,
  313. driverPhone: this.deptBudgetList.tranCarInfoList[0].driverPhone,
  314. sendDateStart: this.deptBudgetList.tranCarInfoList[0].sendDateStart,
  315. receiveDateEnd: this.deptBudgetList.tranCarInfoList[0].receiveDateEnd,
  316. carModel: this.deptBudgetList.tranCarInfoList[0].carModel,
  317. boxNo: '',
  318. tranType: '2',
  319. })
  320. },
  321. del(index, row) {
  322. if (row.status == '未装车') {
  323. this.$confirm('派车信息删除后不可恢复,是否确定删除?', '提示', {
  324. confirmButtonText: '确定',
  325. cancelButtonText: '取消',
  326. type: 'warning',
  327. }).then(() => {
  328. delhaulagestage({ id: row.id })
  329. .toPromise()
  330. .then((response) => {
  331. this.$message.success('删除成功')
  332. if (this.deptBudgetList.tranCarInfoList.length > 1) {
  333. this.deptBudgetList.tranCarInfoList.splice(index, 1)
  334. }
  335. })
  336. })
  337. } else {
  338. if (this.deptBudgetList.tranCarInfoList.length > 1) {
  339. this.deptBudgetList.tranCarInfoList.splice(index, 1)
  340. }
  341. }
  342. },
  343. //下拉司机姓名改变事件
  344. handleChange(value) {
  345. this.selectedOptions = value
  346. },
  347. returnsales() {
  348. this.deptBudgetList = {}
  349. this.freightspace = []
  350. this.selectedOptions = ''
  351. this.$router.go(-1)
  352. },
  353. // 上传附件
  354. uploadSuccess(data, files, url) {
  355. console.log(data, files, url)
  356. },
  357. submit() {
  358. for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  359. if (!this.deptBudgetList.tranCarInfoList[i].driver) {
  360. this.$message({
  361. message: '姓名不能为空!',
  362. type: 'warning',
  363. })
  364. return
  365. }
  366. if (!this.deptBudgetList.tranCarInfoList[i].driverPhone) {
  367. this.$message({
  368. message: '电话不能为空!',
  369. type: 'warning',
  370. })
  371. return
  372. }
  373. if (!this.deptBudgetList.tranCarInfoList[i].sendDateStart) {
  374. this.$message({
  375. message: '发车日期不能为空!',
  376. type: 'warning',
  377. })
  378. return
  379. }
  380. if (!this.deptBudgetList.tranCarInfoList[i].receiveDateEnd) {
  381. this.$message({
  382. message: '到站日期不能为空',
  383. type: 'warning',
  384. })
  385. return
  386. }
  387. if (
  388. new Date(
  389. this.deptBudgetList.tranCarInfoList[i].sendDateStart
  390. ).getTime() >
  391. new Date(
  392. this.deptBudgetList.tranCarInfoList[i].receiveDateEnd
  393. ).getTime()
  394. ) {
  395. this.$message({
  396. message: '发车时间不能大于到站时间!',
  397. type: 'warning',
  398. })
  399. return
  400. }
  401. if (!this.deptBudgetList.tranCarInfoList[i].carModel) {
  402. this.$message({
  403. message: '车型不能为空!',
  404. type: 'warning',
  405. })
  406. return
  407. }
  408. if (!this.deptBudgetList.tranCarInfoList[i].boxNo) {
  409. this.$message({
  410. message: '车厢号不能为空',
  411. type: 'warning',
  412. })
  413. return
  414. }
  415. }
  416. this.$confirm(`提交成功后,任务将下发给相关人员,是否确定提交?`, {
  417. confirmButtonText: '确定',
  418. cancelButtonText: '取消',
  419. type: 'warning',
  420. })
  421. .then(() => {
  422. this.$refs.deptBudgetList.validate((valid) => {
  423. if (valid) {
  424. var tranCarInfo = {}
  425. tranCarInfo.id = this.deptBudgetList.id
  426. tranCarInfo.infoId = this.deptBudgetList.infoId
  427. tranCarInfo.tranType = '2'
  428. tranCarInfo.tranCarInfoList = this.deptBudgetList.tranCarInfoList
  429. dispatchCat(tranCarInfo)
  430. .toPromise()
  431. .then((response) => {
  432. this.$message.success('提交成功')
  433. this.deptBudgetList = {}
  434. this.freightspace = {}
  435. this.selectedOptions = ''
  436. this.$router.go(-1)
  437. })
  438. } else {
  439. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  440. return false
  441. }
  442. })
  443. })
  444. .catch(() => {
  445. return false
  446. })
  447. },
  448. getList() {
  449. seeCat({ id: this.deptBudgetList.id })
  450. .toPromise()
  451. .then((response) => {
  452. this.deptBudgetList = response
  453. if (response.tranCarInfoList.length == 0)
  454. this.deptBudgetList.tranCarInfoList = [
  455. {
  456. driver: '',
  457. driverPhone: '',
  458. sendDateStart: '',
  459. receiveDateEnd: '',
  460. carModel: '',
  461. boxNo: '',
  462. tranType: '2',
  463. },
  464. ]
  465. })
  466. //司机姓名下拉
  467. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  468. .toPromise()
  469. .then((response) => {
  470. this.options = response
  471. this.staffList = response
  472. // this.deptBudgetList.tranCarInfoList.driverPhone = response
  473. })
  474. //车型
  475. packList({ constId: 'TRAN5' })
  476. .toPromise()
  477. .then((response) => {
  478. this.carModel = response
  479. })
  480. },
  481. selectChapterTwo(e) {
  482. for (var i = 0; i < this.ChapterTwoList.length; i++) {
  483. if (this.ChapterTwoList[i].constValue == e) {
  484. this.deptBudgetList.gradeKey = this.ChapterTwoList[i].constKey
  485. }
  486. }
  487. },
  488. selectunitList(e) {
  489. for (var i = 0; i < this.unitList.length; i++) {
  490. if (this.unitList[i].constValue == e) {
  491. this.deptBudgetList.acceptanceMethodKey = this.unitList[i].constKey
  492. }
  493. }
  494. },
  495. selectgrade(e) {
  496. for (var i = 0; i < this.gradeList.length; i++) {
  497. if (this.gradeList[i].constValue == e) {
  498. this.deptBudgetList.gradeKey = this.gradeList[i].constKey
  499. }
  500. }
  501. },
  502. selectgoodsName(e) {
  503. for (var i = 0; i < this.goodnameList.length; i++) {
  504. if (this.goodnameList[i].constValue == e) {
  505. this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
  506. }
  507. }
  508. },
  509. selectpackingMethod(e) {
  510. for (var i = 0; i < this.packtypeList.length; i++) {
  511. if (this.packtypeList[i].constValue == e) {
  512. this.deptBudgetList.packingMethodKey = this.packtypeList[i].constKey
  513. }
  514. }
  515. },
  516. },
  517. }
  518. </script>
  519. <style lang="scss" scoped>
  520. /deep/.totalStorage .el-input__inner {
  521. color: #afb5cb;
  522. background: #f5f7fa;
  523. }
  524. .small-title {
  525. position: relative;
  526. padding: 10px;
  527. font-weight: 600;
  528. }
  529. .small-title::before {
  530. position: absolute;
  531. content: '';
  532. display: block;
  533. background: #5473e8;
  534. width: 4px;
  535. height: 14px;
  536. left: 0px;
  537. top: 13px;
  538. }
  539. .position {
  540. position: relative;
  541. }
  542. .amap-page-container {
  543. width: 300px;
  544. height: 300px;
  545. }
  546. .el-form {
  547. padding: 0 15%;
  548. }
  549. /deep/.ws-info-table .el-form-item {
  550. border-right: 1px solid transparent;
  551. border-bottom: 1px solid transparent;
  552. }
  553. .readonly {
  554. position: relative;
  555. }
  556. .readonly:after {
  557. content: '*';
  558. color: #ff2727;
  559. position: absolute;
  560. right: 8px;
  561. z-index: 10;
  562. top: 21%;
  563. font-size: 20px;
  564. }
  565. .title {
  566. position: relative;
  567. }
  568. .title::before {
  569. content: '';
  570. display: inline-block;
  571. width: 5px;
  572. height: 30px;
  573. background: #5473e8;
  574. position: absolute;
  575. left: 0;
  576. }
  577. .el-button--primary {
  578. background-color: #5878e8;
  579. border-color: #5878e8;
  580. }
  581. .el-col {
  582. background: #f6f7fc;
  583. }
  584. /deep/.ws-info-table .el-form-item .el-form-item__label {
  585. width: 100px;
  586. text-align: center;
  587. background: #fff;
  588. // border: 1px solid #cdd2dc;
  589. }
  590. .button-container {
  591. display: flex;
  592. flex-wrap: nowrap;
  593. justify-content: space-between;
  594. align-items: center;
  595. background-color: #fff;
  596. width: 100%;
  597. height: 50px;
  598. padding: 0 10px;
  599. & > div {
  600. margin-left: 10px;
  601. display: flex;
  602. flex-wrap: nowrap;
  603. flex-direction: row;
  604. & > span {
  605. line-height: 50px;
  606. }
  607. }
  608. /deep/.auditFlow-box {
  609. position: unset;
  610. margin-left: 10px;
  611. &/deep/.auditFlow-icon {
  612. width: auto;
  613. padding-right: 30px;
  614. }
  615. &/deep/.auditFlow-main {
  616. position: absolute;
  617. }
  618. }
  619. }
  620. .box-app {
  621. display: inline-block;
  622. float: left;
  623. margin-left: 30px;
  624. line-height: 50px;
  625. }
  626. /deep/.el-dialog {
  627. .el-form-item {
  628. margin-bottom: 0 !important;
  629. .el-input--medium {
  630. textarea {
  631. min-height: 100px !important;
  632. }
  633. }
  634. }
  635. }
  636. .collapse-bottom {
  637. margin-bottom: 20px;
  638. }
  639. .input-main .textarea .el-textarea__inner {
  640. width: 100%;
  641. z-index: 1;
  642. }
  643. .bg-left {
  644. padding-left: 30px;
  645. }
  646. .bg-right {
  647. padding-right: 10px;
  648. text-align: right;
  649. }
  650. .bg-bottom {
  651. margin: 15px 0px;
  652. }
  653. .el-input--small {
  654. font-size: 13px;
  655. }
  656. .el-input {
  657. position: relative;
  658. display: inline-block;
  659. width: 86%;
  660. }
  661. .center {
  662. width: 90%;
  663. margin: 0 auto;
  664. }
  665. .el-form-item {
  666. width: 50%;
  667. }
  668. .el-form-item__label {
  669. text-align: center;
  670. }
  671. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  672. /* height: 82px;*/
  673. /*}*/
  674. // 控制select为只读的时候显示样式
  675. .hide-sel {
  676. .el-input__inner {
  677. border: 0px;
  678. }
  679. .el-icon-arrow-up {
  680. display: none;
  681. }
  682. .el-textarea__inner {
  683. background-color: #fff !important;
  684. border: 0;
  685. }
  686. .el-date-editor {
  687. i {
  688. display: none;
  689. }
  690. }
  691. .is-disabled {
  692. .el-input__inner:hover {
  693. background-color: #fff !important;
  694. border: 0;
  695. }
  696. color: #606266;
  697. .el-input__inner {
  698. background-color: #fff !important;
  699. border: 0;
  700. color: #606266;
  701. }
  702. .el-textarea__inner {
  703. background-color: #fff !important;
  704. border: 0;
  705. color: #606266;
  706. }
  707. }
  708. }
  709. // 控制select为只读的时候显示样式
  710. /deep/.ws-class-table-col {
  711. height: auto;
  712. padding: 0px 2px;
  713. /deep/.el-input__inner {
  714. padding: 0px 2px;
  715. }
  716. }
  717. /deep/.is-disabled {
  718. .el-input__prefix,
  719. .el-input__suffix {
  720. display: none;
  721. }
  722. .el-input__inner {
  723. background-color: #fff;
  724. border-color: #fff !important;
  725. color: #000 !important;
  726. font-size: 14px;
  727. cursor: text;
  728. padding: 0 !important;
  729. }
  730. }
  731. //减号
  732. .del {
  733. position: absolute;
  734. cursor: pointer;
  735. margin-left: 224px;
  736. margin-top: -52px;
  737. }
  738. .winseaview-view {
  739. padding: 0 0 20px;
  740. }
  741. .container {
  742. overflow: scroll;
  743. height: 93vh;
  744. }
  745. .ws-info-table .el-form-item {
  746. width: 33.3333%;
  747. }
  748. .readonly:after {
  749. display: none;
  750. }
  751. .el-textarea__inner {
  752. display: none;
  753. }
  754. .el-form {
  755. margin-top: 50px;
  756. }
  757. .readonly {
  758. width: 16%;
  759. }
  760. //去边框
  761. /deep/.el-form-item {
  762. border-right: 0px;
  763. border-bottom: 0px;
  764. }
  765. /deep/.ws-info-table {
  766. border-left: 0px;
  767. border-top: 0px;
  768. }
  769. /deep/.ws-info-table .el-form-item {
  770. border: none;
  771. height: 50px;
  772. }
  773. /deep/.ws-info-table .el-form-item .el-form-item__label {
  774. background-color: #fff;
  775. font-size: 14px;
  776. font-weight: 400;
  777. color: #8890b1;
  778. line-height: 16px;
  779. }
  780. /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
  781. border: 0px;
  782. }
  783. //联络员及车次
  784. /deep/.liaison .ws-info-table .el-form-item {
  785. width: 20%;
  786. }
  787. /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
  788. width: 40%;
  789. border: 0px solid #d8dce6;
  790. background: #f5f7fa;
  791. }
  792. // /deep/.liaison .flex {
  793. // display: contents;
  794. // }
  795. /deep/.liaison {
  796. display: contents;
  797. background: #f5f7fa;
  798. border-radius: 4px;
  799. border: 0px solid #d8dce6;
  800. }
  801. /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
  802. border: none;
  803. border-radius: 0px;
  804. }
  805. .add {
  806. width: 100px;
  807. height: 34px;
  808. background: #f6f7fb;
  809. border-radius: 17px;
  810. color: #5473e8;
  811. font-size: 14px;
  812. border: none;
  813. }
  814. .add img {
  815. display: inline-block;
  816. margin-top: 3px;
  817. margin-left: -12px;
  818. }
  819. .add .spans {
  820. display: table-caption;
  821. width: 56px;
  822. height: 20px;
  823. line-height: 18px;
  824. }
  825. /deep/.carnum {
  826. display: contents;
  827. }
  828. /deep/.carnum .ws-info-table .el-form-item {
  829. width: 20%;
  830. }
  831. /deep/.liaison .carnum .ws-info-table .el-form-item {
  832. border-radius: 10px;
  833. right: 20px;
  834. }
  835. /deep/.ws-info-table .el-form-item .el-form-item__content {
  836. border-radius: 4px;
  837. border: 1px solid #d8dce6;
  838. margin-bottom: 5px;
  839. background-color: #fff;
  840. font-size: 14px;
  841. font-weight: 400;
  842. color: #8890b1;
  843. line-height: 16px;
  844. padding: 0 25px;
  845. background: #f6f7fc;
  846. }
  847. /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
  848. padding: 0px;
  849. }
  850. </style>