tranManagementReceivingloading.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. // 汽车卸车
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="20">
  6. <h2 class="bg-left title">汽运卸车反馈</h2>
  7. </el-col>
  8. <el-col :span="4" class="bg-right">
  9. <el-button class="bg-bottom" type="primary" size="small" @click="revert()">
  10. <img
  11. width="6"
  12. height="10"
  13. style="vertical-align: bottom; margin-right: 3px"
  14. src="../../../public/img/lujing.png"
  15. alt
  16. />返回
  17. </el-button>
  18. </el-col>
  19. </el-row>
  20. <div class="center">
  21. <ws-form ref="deptBudgetList" :model="deptBudgetList" :rules="rules">
  22. <div class="basicInformation">
  23. <div class="small-title" style="font-size: 16px">任务详情</div>
  24. <ws-info-table>
  25. <!-- 任务编号 -->
  26. <ws-form-item label="任务编号" span="1" prop="processNo">{{ deptBudgetList.processNo }}</ws-form-item>
  27. <!-- 货名 -->
  28. <ws-form-item label="货名" span="1">{{ deptBudgetList.goodsName }}</ws-form-item>
  29. <!--重量(吨)-->
  30. <ws-form-item
  31. label="重量(吨)"
  32. span="1"
  33. prop="tare"
  34. class="readonly"
  35. >{{ deptBudgetList.weight }}</ws-form-item>
  36. <!--发货地址-->
  37. <ws-form-item label="发货地址" span="1" prop="netWeight">
  38. {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
  39. }}{{ deptBudgetList.sendArea
  40. }}{{ deptBudgetList.sendDetailedAddress }}
  41. </ws-form-item>
  42. <!--发货人-->
  43. <ws-form-item label="发货人" span="1" prop="agent">{{ deptBudgetList.sender }}</ws-form-item>
  44. <!--发货人电话-->
  45. <ws-form-item label="发货人电话" span="1" prop="agent">{{ deptBudgetList.senderPhone }}</ws-form-item>
  46. <!--收货地址-->
  47. <ws-form-item label="收货地址" span="1" prop="netWeight">
  48. {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
  49. }}{{ deptBudgetList.receiveArea
  50. }}{{ deptBudgetList.receiveDetailedAddress }}
  51. </ws-form-item>
  52. <!--收货人-->
  53. <ws-form-item label="收货人" span="1" prop="receiver">{{ deptBudgetList.receiver }}</ws-form-item>
  54. <!--收货人电话-->
  55. <ws-form-item
  56. label="收货人电话"
  57. span="1"
  58. prop="receiverPhone"
  59. >{{ deptBudgetList.receiverPhone }}</ws-form-item>
  60. <!--发货日期-->
  61. <ws-form-item
  62. label="发货日期"
  63. span="1"
  64. prop="inOutDate"
  65. class="deliverydate"
  66. >{{ deptBudgetList.deliveryDateStart }}</ws-form-item>
  67. <!--最晚发货日期-->
  68. <ws-form-item
  69. label="最晚发货日期"
  70. span="1"
  71. prop="inOutDate"
  72. class="deliverydate"
  73. >{{ deptBudgetList.deliveryDateEnd }}</ws-form-item>
  74. <!--合同编号-->
  75. <ws-form-item label="合同编号" span="1" prop="contractNo">{{ deptBudgetList.contractNo }}</ws-form-item>
  76. <ws-form-item label="运输方式" span="1" prop="contractNo">{{ deptBudgetList.contractNo }}</ws-form-item>
  77. </ws-info-table>
  78. <div class="small-title" style="font-size: 16px;width: 50%;float: left;">卸车详情</div>
  79. <!-- 导入 -->
  80. <div style="font-size: 16px;width: 50%; margin-left: 1150px;">
  81. <el-button
  82. class="bg-bottom"
  83. type="primary"
  84. size="small"
  85. @click="import(deptBudgetList)"
  86. >导入</el-button
  87. >
  88. </div>
  89. <div
  90. class="driver position liaison"
  91. v-for="(item, index) in deptBudgetList.tranCarInfoList"
  92. :key="index"
  93. >
  94. <ws-info-table>
  95. <div class="catNos" v-show="item.temporaryDriverFlag == 0">司机-{{index+1}}
  96. <span class="noservice" v-show="item.status == '未装车'">{{
  97. item.status
  98. }}</span>
  99. <span class="service" v-show="item.status == '已装车'">
  100. 未卸车
  101. </span>
  102. <span class="serviced" v-show="item.status == '已送达'">
  103. 已卸车
  104. </span>
  105. </div>
  106. <div class="catNos catNosCor" v-show="item.temporaryDriverFlag != 0">司机-{{index+1}}(临)</div>
  107. <!--姓名-->
  108. <ws-form-item
  109. label="姓名:"
  110. span="1"
  111. prop="driver"
  112. v-show="item.temporaryDriverFlag == 0"
  113. >
  114. <span v-show="item.temporaryDriverFlag == 0">{{ item.driver }}</span>
  115. </ws-form-item>
  116. <!-- 姓名 -->
  117. <ws-form-item
  118. label="姓名:"
  119. span="1"
  120. prop="driver"
  121. v-show="item.temporaryDriverFlag != 0"
  122. >
  123. <span v-show="item.temporaryDriverFlag != 0">{{item.driver}}</span>
  124. </ws-form-item>
  125. <!-- 电话 -->
  126. <ws-form-item label="司机电话:" span="1" prop="driverPhone" style="width:200px">
  127. <span v-show="item.temporaryDriverFlag != 0">{{ item.driverPhone }}</span>
  128. <span v-show="item.temporaryDriverFlag == 0">{{ item.driverPhone }}</span>
  129. </ws-form-item>
  130. <!--车牌号-->
  131. <ws-form-item label="车牌号:" span="1" prop="carNo">
  132. <span v-show="item.temporaryDriverFlag != 0">{{ item.carNo }}</span>
  133. <span v-show="item.temporaryDriverFlag == 0">{{ item.carNo }}</span>
  134. </ws-form-item>
  135. <!--装车净重-->
  136. <ws-form-item label="装车(吨):" span="1" prop="loadNetWeight" style="width:150px">{{item.loadNetWeight}}</ws-form-item>
  137. <!--卸车净重(吨)-->
  138. <ws-form-item label="卸车净重(吨):" span="1" prop="unloadNetWeight">
  139. <ws-input
  140. v-if="item.status == '已送达'||item.status == '未装车'"
  141. v-model="item.unloadNetWeight"
  142. placeholder="请输入卸车净重"
  143. maxlength="20"
  144. :disabled="readonly"
  145. size="small"
  146. />
  147. <ws-input
  148. v-else
  149. v-model="item.unloadNetWeight"
  150. placeholder="请输入卸车净重"
  151. maxlength="20"
  152. size="small"
  153. />
  154. </ws-form-item>
  155. <!--卸车日期-->
  156. <ws-form-item label="卸车日期:" span="1" prop="receiveDateEnd" style="width:275px">
  157. <ws-date-picker
  158. v-model="item.receiveDateEnd"
  159. v-if="item.status == '已送达'||item.status == '未装车'"
  160. :disabled="readonly"
  161. type="date"
  162. value-format="yyyy-MM-dd"
  163. />
  164. <ws-date-picker
  165. v-model="item.receiveDateEnd"
  166. v-else
  167. type="date"
  168. placeholder="请选择日期"
  169. value-format="yyyy-MM-dd"
  170. />
  171. </ws-form-item>
  172. <!--磅单-->
  173. <ws-form-item label="磅单:" span="1" prop="unloadPoundImg">
  174. <template >
  175. <el-upload
  176. action="https://www.zthymaoyi.com/upload/admin"
  177. :show-file-list="false"
  178. :on-success="
  179. (res) => {
  180. uploadSuccessHandle1(res,index)
  181. }
  182. "
  183. class="avatar-uploader"
  184. accept=".jpg, .jpeg, .png, .gif"
  185. >
  186. <img
  187. width="18"
  188. height="20"
  189. style="
  190. vertical-align: text-top;
  191. position: relative;
  192. "
  193. src="../../../public/img/fujian.png"
  194. alt
  195. />
  196. </el-upload>
  197. <span v-if="deptBudgetList.tranCarInfoList[index].unloadPoundImg != null " >1</span>
  198. <span
  199. v-if="
  200. deptBudgetList.tranCarInfoList[index].unloadPoundImg == null
  201. "
  202. >未上传</span>
  203. </template>
  204. </ws-form-item>
  205. <!--箱号-->
  206. <ws-form-item label="箱号:" span="1" prop="caseNo">
  207. <span>{{ item.caseNo }}</span>
  208. </ws-form-item>
  209. <!--封号-->
  210. <ws-form-item label="封号:" span="1" prop="titleNo">
  211. <span>{{ item.titleNo }}</span>
  212. </ws-form-item>
  213. <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'" class="signStatus">
  214. {{ item.signStatus }}
  215. </div>
  216. <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '已签合同'" class="signStatus1">
  217. {{ item.signStatus }}
  218. </div>
  219. </ws-info-table>
  220. </div>
  221. </div>
  222. <div
  223. style="text-align: right; color: #8890b1; font-size: 16px"
  224. >合计{{ total }}/{{ deptBudgetList.weight }}
  225. <!--阶段状态-->
  226. <span class="noservice" v-show="deptBudgetList.receivingStatus=='执行中'">
  227. 未完货
  228. </span>
  229. <span class="service" v-show="deptBudgetList.receivingStatus=='已完货'">{{
  230. deptBudgetList.receivingStatus
  231. }}</span></div>
  232. <div style="text-align: right; padding: 10px">
  233. <el-button class="bg-bottom-up" type="primary" size="small" @click="submit()">提交</el-button>
  234. <el-button
  235. class="bg-bottom"
  236. type="primary"
  237. size="small"
  238. @click="finished (deptBudgetList)"
  239. >完货</el-button
  240. >
  241. </div>
  242. </ws-form>
  243. </div>
  244. </div>
  245. </template>
  246. <script>
  247. import Pagination from '@/components/Pagination'
  248. import WsUpload from '@/components/WsUpload'
  249. import { seeCat, packList, feedback, getbank,stateRec } from '@/model/transport/index'
  250. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  251. import { dayjs, EventBus } from 'base-core-lib'
  252. export default {
  253. name: 'viewSpareMoney',
  254. components: {
  255. WsUpload,
  256. Pagination
  257. },
  258. watch: {
  259. isShow(val) {
  260. this.showType = val
  261. }
  262. },
  263. data() {
  264. return {
  265. // 是否显示
  266. showType: true,
  267. deptBudgetTotal: 0,
  268. currentPage: 1,
  269. pageSize: 10,
  270. searchType: 1,
  271. startDate: null,
  272. endDate: null,
  273. carList: [],
  274. // 提交类型
  275. readonly: true,
  276. appendixIdsAdd: '',
  277. onChange: {},
  278. gradeList: [],
  279. rules: {
  280. netWeight: [
  281. {
  282. required: true,
  283. type: 'number',
  284. message: '请输入活动名称',
  285. trigger: 'blur'
  286. }
  287. ]
  288. },
  289. size: 10,
  290. compId: sessionStorage.getItem('ws-pf_compId'),
  291. deptCircularPage: {},
  292. packtypeList: {},
  293. date: {
  294. year: dayjs().format('YYYY'),
  295. month: dayjs().format('MM')
  296. },
  297. contractList: [],
  298. deptBudgetList: {
  299. tranCarInfoList: [
  300. {
  301. unloadPoundImg:'',
  302. }
  303. ]
  304. },
  305. historyList: [],
  306. pickerBeginDateBefore: {
  307. disabledDate: time => {
  308. return time.getTime() > Date.now()
  309. }
  310. },
  311. accessoryTFs: false
  312. }
  313. },
  314. activated() {
  315. this.deptBudgetList.id = this.$route.query.id
  316. this.getList()
  317. },
  318. computed: {
  319. total: function() {
  320. var maxStorage = 0
  321. for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  322. maxStorage += Number(
  323. this.deptBudgetList.tranCarInfoList[i].unloadNetWeight
  324. )
  325. }
  326. return maxStorage
  327. }
  328. },
  329. mounted() {
  330. this.deptBudgetList.id = this.$route.query.id
  331. this.getList()
  332. },
  333. methods: {
  334. //返回按钮
  335. revert() {
  336. this.$router.push({ path: 'tranManagementReceivingFeedback' })
  337. },
  338. del(index) {
  339. if (this.deptBudgetList.tranCarInfoList.length > 1) {
  340. this.deptBudgetList.tranCarInfoList.splice(index, 1)
  341. }
  342. },
  343. uploadSuccessHandle1(e,index) {
  344. this.deptBudgetList.tranCarInfoList[index].unloadPoundImg = e.url
  345. },
  346. selectwaterContent() {},
  347. //提交按钮
  348. submit() {
  349. for (var i = 0; i < this.freightspace.length; i++) {
  350. if (this.freightspace[i].unloadNetWeight == null) {
  351. this.$message({
  352. message: '卸重不能为空!',
  353. type: 'warning'
  354. })
  355. return
  356. }
  357. }
  358. this.$confirm(
  359. `所有车辆完成卸车任务后,请及时修改任务状态,确定提交卸车信息?`,
  360. {
  361. cancelButtonText: '取消',
  362. confirmButtonText: '确定',
  363. type: 'warning'
  364. }
  365. )
  366. .then(() => {
  367. this.$refs.deptBudgetList.validate(valid => {
  368. if (valid) {
  369. // this.tranCarInfoList = this.freightspace
  370. this.tranCarInfoList = this.deptBudgetList.tranCarInfoList
  371. this.tranCarInfoList.driver = this.deptBudgetList.driver
  372. this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
  373. this.tranCarInfoList.carNo = this.deptBudgetList.carNo
  374. this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
  375. this.tranCarInfoList.tranType = this.tranType
  376. // this.tranCarInfoList.unloadPoundImg = this.deptBudgetList.tranCarInfoList.unloadPoundImg
  377. console.log( this.deptBudgetList.tranCarInfoList[0].unloadPoundImg,'图片')
  378. this.tranCarInfoList.unloadNetWeight = this.deptBudgetList.unloadNetWeight
  379. for (var i = 0; i < this.tranCarInfoList.length; i++) {
  380. this.tranCarInfoList[i].id = this.freightspace[i].id
  381. if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
  382. this.tranCarInfoList[i].temporaryDriverFlag = 1
  383. this.tranCarInfoList[i].tranType = this.tranType
  384. }
  385. }
  386. console.log(this.tranCarInfoList,'12121212')
  387. var tranProcessInfo = {}
  388. tranProcessInfo.id = this.deptBudgetList.id
  389. tranProcessInfo.infoId = this.deptBudgetList.infoId
  390. tranProcessInfo.tranCarInfoList = this.tranCarInfoList
  391. feedback(tranProcessInfo)
  392. .toPromise()
  393. .then(response => {
  394. this.$message.success('提交成功')
  395. this.deptBudgetList = {}
  396. this.freightspace = {}
  397. this.selectedOptions = ''
  398. this.$router.push({
  399. path: 'tranManagementReceivingFeedback'
  400. })
  401. })
  402. } else {
  403. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  404. return false
  405. }
  406. })
  407. })
  408. .catch(() => {
  409. return false
  410. })
  411. },
  412. //导入
  413. import(){
  414. },
  415. finished(){
  416. this.$confirm(`完货操作后,卸车信息不可修改,是否确定完货?`, {
  417. confirmButtonText: '确定',
  418. cancelButtonText: '取消',
  419. type: 'warning',
  420. })
  421. .then(() => {
  422. this.$refs.deptBudgetList.validate((valid) => {
  423. if (valid) {
  424. var tranProcessInfo = {}
  425. tranProcessInfo.id = this.deptBudgetList.id
  426. stateRec(tranProcessInfo)
  427. .toPromise()
  428. .then((response) => {
  429. this.$message.success('完货成功')
  430. this.deptBudgetList = {}
  431. this.freightspace = {}
  432. this.selectedOptions = ''
  433. this.$router.push({
  434. path: 'tranManagementReceivingFeedback',
  435. })
  436. })
  437. } else {
  438. return false
  439. }
  440. })
  441. })
  442. .catch(() => {
  443. return false
  444. })
  445. },
  446. handleClose() {
  447. this.accessoryTFs = false
  448. },
  449. getList() {
  450. seeCat({ id: this.deptBudgetList.id })
  451. .toPromise()
  452. .then(response => {
  453. this.deptBudgetList = response
  454.   if(response.tranCarInfoList){
  455.             this.freightspace = response.tranCarInfoList
  456.           }
  457. for (var i = 0; i < this.freightspace.length; i++) {
  458. if (!this.freightspace[i].loadNetWeight) {
  459. this.freightspace[i].loadNetWeight = 0
  460. }
  461. }
  462. })
  463. },
  464. carchange(val, index) {
  465. for (var i = 0; i < this.carList.length; i++) {
  466. if (this.carList[i].driverName == val) {
  467. this.deptBudgetList.tranCarInfoList[index].driverPhone = this.carList[
  468. i
  469. ].driverPhone
  470. arrange({ id: this.carList[i].id })
  471. .toPromise()
  472. .then(response => {
  473. this.deptBudgetList.tranCarInfoList[index].carNo =
  474. response.carNumber
  475. if (response.carLoad != null) {
  476. this.deptBudgetList.tranCarInfoList[index].loadWeight =
  477. response.carLoad
  478. } else {
  479. this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
  480. }
  481. this.deptBudgetList.tranCarInfoList[index].carModel =
  482. response.carModel
  483. this.deptBudgetList.tranCarInfoList[index].carLength =
  484. response.carLength
  485. this.deptBudgetList.tranCarInfoList[index].carLengthKey =
  486. response.carLengthKey
  487. this.deptBudgetList.tranCarInfoList[index].carModelKey =
  488. response.carModelKey
  489. })
  490. }
  491. }
  492. }
  493. },
  494. phonechange(val, index) {
  495. for (var i = 0; i < this.carList.length; i++) {
  496. if (this.carList[i].driverPhone == val) {
  497. this.deptBudgetList.tranCarInfoList[index].driver = this.carList[
  498. i
  499. ].driver
  500. arrange({ id: this.carList[i].id })
  501. .toPromise()
  502. .then(response => {
  503. this.deptBudgetList.tranCarInfoList[index].carNo =
  504. response.carNumber
  505. if (response.carLoad != null) {
  506. this.deptBudgetList.tranCarInfoList[index].loadWeight =
  507. response.carLoad
  508. } else {
  509. this.deptBudgetList.tranCarInfoList[index].loadWeight = 0
  510. }
  511. this.deptBudgetList.tranCarInfoList[index].carModel =
  512. response.carModel
  513. this.deptBudgetList.tranCarInfoList[index].carLength =
  514. response.carLength
  515. this.deptBudgetList.tranCarInfoList[index].carLengthKey =
  516. response.carLengthKey
  517. this.deptBudgetList.tranCarInfoList[index].carModelKey =
  518. response.carModelKey
  519. })
  520. }
  521. }
  522. },
  523. selecttaskType(e) {
  524. for (var i = 0; i < this.taskTypeList.length; i++) {
  525. if (this.taskTypeList[i].value == e) {
  526. this.searchType = this.taskTypeList[i].type
  527. }
  528. }
  529. },
  530. }
  531. </script>
  532. <style lang="scss" scoped>
  533. /deep/.basicInformation {
  534. .ws-info-table {
  535. border: none;
  536. }
  537. .el-form-item {
  538. width: 33.3333%;
  539. border: none;
  540. height: 50px;
  541. .el-form-item__label {
  542. background: transparent;
  543. border: none;
  544. }
  545. .el-form-item__content {
  546. border: none;
  547. }
  548. }
  549. }
  550. .title {
  551. position: relative;
  552. padding-left: 10px;
  553. }
  554. .title::before {
  555. content: '';
  556. display: inline-block;
  557. width: 5px;
  558. height: 30px;
  559. background: #5473e8;
  560. position: absolute;
  561. left: 0;
  562. }
  563. .el-form {
  564. padding: 0 10%;
  565. }
  566. .el-button--primary {
  567. background-color: #5878e8;
  568. border-color: #5878e8;
  569. }
  570. .el-col {
  571. background: #f6f7fc;
  572. }
  573. .bg-right {
  574. text-align: right;
  575. padding: 16px 20px;
  576. }
  577. .center {
  578. width: 90%;
  579. margin: 0 auto;
  580. }
  581. //表格文字
  582. /deep/.ws-info-table .el-form-item .el-form-item__label {
  583. text-align: left;
  584. font-size: 13px;
  585. font-weight: 400;
  586. color: #8890b1;
  587. line-height: 16px;
  588. }
  589. //蓝标
  590. .small-title {
  591. position: relative;
  592. padding: 10px;
  593. font-weight: 600;
  594. }
  595. .small-title::before {
  596. position: absolute;
  597. content: '';
  598. display: block;
  599. background: #5473e8;
  600. width: 4px;
  601. height: 14px;
  602. left: 0px;
  603. top: 13px;
  604. padding: 4px 2px;
  605. }
  606. .position {
  607. position: relative;
  608. }
  609. .position .zaizhong {
  610. width: 16%;
  611. }
  612. //减号
  613. .del {
  614. position: absolute;
  615. // right: -38px;
  616. top: 9px;
  617. cursor: pointer;
  618. right: 0;
  619. display: inline-block;
  620. font-size: 20px;
  621. width: 20px;
  622. height: 10px;
  623. line-height: 0px;
  624. }
  625. .driver .el-form-item {
  626. width: 16.63%;
  627. }
  628. /deep/.ws-info-table .el-form-item .el-form-item__content {
  629. background: #f5f7fa;
  630. border-radius: 4px;
  631. color: #8890b1;
  632. font-size: 14px;
  633. font-weight: 400;
  634. }
  635. /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
  636. width: 72px;
  637. }
  638. /deep/.liaison .ws-info-table .el-form-item {
  639. width: 15.66%;
  640. color: #8890b1;
  641. font-size: 14px;
  642. }
  643. /deep/.ws-info-table .el-form-item {
  644. border: none;
  645. height: 50px;
  646. }
  647. /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
  648. width: 53.46%;
  649. border: 0px solid #d8dce6;
  650. background: #f5f7fa;
  651. text-align: center;
  652. }
  653. /deep/.liaison {
  654. background: #f5f7fa;
  655. border-radius: 4px;
  656. border: 0px solid #d8dce6;
  657. }
  658. /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
  659. border: none;
  660. background: #f5f7fa;
  661. }
  662. .catNos {
  663. width: 100%;
  664. height: 30px;
  665. margin-top: 10px;
  666. margin-left: 20px;
  667. font-size: 14px;
  668. }
  669. /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
  670. // border: 0px solid #d8dce6;
  671. border-radius: 0px;
  672. border-left: none;
  673. border-bottom: none;
  674. border-top: none;
  675. }
  676. /deep/.liaison .ws-info-table {
  677. background: #f6f7fc;
  678. border-radius: 4px;
  679. border: 1px solid #d8dce6;
  680. margin-top: 20px;
  681. }
  682. //送达/未送达
  683. .noservice,
  684. .service {
  685. display: inline-block;
  686. border-radius: 4px;
  687. border: 1px solid #d8dce6;
  688. padding: 2px;
  689. font-size: 12px;
  690. }
  691. .noservice {
  692. background: #c4cada;
  693. color: #ffffff;
  694. }
  695. .serviced {
  696. background: #e5f1f7;
  697. color: #50cad4;
  698. }
  699. //添加司机
  700. .add {
  701. width: 100px;
  702. height: 34px;
  703. background: #f6f7fb;
  704. border-radius: 17px;
  705. color: #5473e8;
  706. font-size: 14px;
  707. border: none;
  708. }
  709. .add img {
  710. display: inline-block;
  711. margin-top: 3px;
  712. margin-left: -12px;
  713. }
  714. .add .spans {
  715. display: table-caption;
  716. width: 56px;
  717. height: 20px;
  718. line-height: 18px;
  719. }
  720. .container {
  721. overflow: scroll;
  722. height: 93vh;
  723. }
  724. .line {
  725. height: 26px;
  726. margin-top: 6px;
  727. left: 2px;
  728. margin: 0 auto;
  729. }
  730. .signStatus {
  731. height: 25px;
  732. border-radius: 3px;
  733. border: 1px solid #5473e8;
  734. padding: 0 3px;
  735. margin-left: 30px;
  736. color: #ffffff;
  737. background: #c4cada;
  738. line-height: 24px;
  739. }
  740. .signStatus1 {
  741. height: 25px;
  742. background: #e6ebff;
  743. border-radius: 3px;
  744. border: 1px solid #5473e8;
  745. padding: 0 3px;
  746. margin-left: 30px;
  747. color: #5473e8;
  748. line-height: 24px;
  749. }
  750. /deep/.ws-info-table.el-form-item .el-form-item__label {
  751. // background-color: #eee;
  752. // padding-right: 8px;
  753. // padding-left: 8px;
  754. font-size: 13px;
  755. font-weight: bold;
  756. // color: #333;
  757. // overflow: hidden;
  758. // height: 40px;
  759. /* text-overflow: ellipsis; */
  760. // white-space: nowrap;
  761. // width: 120px;
  762. // line-height: 40px;
  763. }
  764. </style>