tranManagementTransporTrainNo.vue 21 KB

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