tranManagementFireReceivingFeedback.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032
  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="revert()"
  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. </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 }}
  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. <!-- 运输方式 -->
  88. <ws-form-item label="运输方式" span="1" prop="contractNo">
  89. {{ deptBudgetList.contractNo }}
  90. </ws-form-item>
  91. </ws-info-table>
  92. <div class="small-title" style="font-size: 16px">联络员及车次</div>
  93. <div class="lianluoyuan">
  94. <ws-info-table>
  95. <!--姓名-->
  96. <ws-form-item label="姓名:" span="1" prop="driver">
  97. <span>{{ deptBudgetList.driver }}</span>
  98. </ws-form-item>
  99. <!--电话-->
  100. <ws-form-item label="电话:" span="1" prop="driverPhone">
  101. <span>{{ deptBudgetList.driverPhone }}</span>
  102. </ws-form-item>
  103. <!--发车日期-->
  104. <el-form-item label="发车日期:" span="1" prop="sendDateStart">
  105. <ws-date-picker
  106. v-model="deptBudgetList.sendDateStart"
  107. type="date"
  108. style="width: 150px"
  109. placeholder="请选择日期"
  110. value-format="yyyy-MM-dd"
  111. />
  112. </el-form-item>
  113. <!--到站日期-->
  114. <ws-form-item label="到站日期:" span="1" prop="receiveDateEnd">
  115. <span>{{ deptBudgetList.receiveDateEnd }}</span>
  116. </ws-form-item>
  117. <!--车型-->
  118. <ws-form-item label="车型:" span="1" prop="caeModel">
  119. <span>{{ deptBudgetList.carModel }}</span>
  120. </ws-form-item>
  121. </ws-info-table>
  122. </div>
  123. <div class="small-title" style="font-size: 16px">卸车详情</div>
  124. <div class="liaison">
  125. <div
  126. style="width: 100%"
  127. class="flex position"
  128. v-for="(item, index) in this.freightspace"
  129. :key="index"
  130. >
  131. <ws-info-table>
  132. <!--车厢号-->
  133. <div class="catNos">车厢号-{{ index + 1 }}</div>
  134. <ws-form-item label="车厢号:" span="1" prop="boxNo">
  135. <span>{{ item.boxNo }}</span>
  136. </ws-form-item>
  137. <!--装车净重 -->
  138. <ws-form-item label="装车净重:" span="1" prop="loadNetWeight">
  139. <span>{{ item.loadNetWeight }}</span>
  140. </ws-form-item>
  141. <!--卸车净重-->
  142. <ws-form-item label="卸车净重:" span="1" prop="unloadNetWeight">
  143. <ws-input
  144. v-if="item.status == '未装车' || item.status == '已送达'"
  145. :disabled="readonly"
  146. v-model="item.unloadNetWeight"
  147. placeholder="请输入卸车净重"
  148. maxlength="20"
  149. size="small"
  150. />
  151. <ws-input
  152. v-else
  153. v-model="item.unloadNetWeight"
  154. placeholder="请输入卸车净重"
  155. maxlength="20"
  156. size="small"
  157. />
  158. </ws-form-item>
  159. <!--磅单-->
  160. <ws-form-item label="磅单:" span="1" prop="unloadPoundImg">
  161. <!-- slot-scope="scope" -->
  162. <template>
  163. <el-upload
  164. action="https://www.zthymaoyi.com/upload/admin"
  165. :show-file-list="false"
  166. :on-success="
  167. (res) => {
  168. uploadSuccessHandle1(res, index)
  169. }
  170. "
  171. class="avatar-uploader"
  172. accept=".jpg, .jpeg, .png, .gif"
  173. ><img
  174. width="18"
  175. height="20"
  176. style="vertical-align: text-top; position: relative"
  177. src="../../../public/img/fujian.png"
  178. alt=""
  179. />
  180. </el-upload>
  181. <span
  182. v-if="
  183. deptBudgetList.tranCarInfoList[index].unloadPoundImg != null
  184. "
  185. >1</span
  186. >
  187. <span
  188. v-if="
  189. deptBudgetList.tranCarInfoList[index].unloadPoundImg == null
  190. "
  191. >未上传</span
  192. >
  193. </template>
  194. </ws-form-item>
  195. <!--卸车日期-->
  196. <el-form-item label="卸车日期:" span="1" prop="unloadingDate">
  197. <ws-date-picker
  198. v-if="item.status == '未装车' || item.status == '已送达'"
  199. :disabled="readonly"
  200. v-model="item.unloadingDate"
  201. type="date"
  202. style="width: 150px"
  203. placeholder="请选择日期"
  204. value-format="yyyy-MM-dd"
  205. />
  206. <ws-date-picker
  207. v-else
  208. v-model="item.unloadingDate"
  209. type="date"
  210. style="width: 150px"
  211. placeholder="请选择日期"
  212. value-format="yyyy-MM-dd"
  213. />
  214. </el-form-item>
  215. <!-- 提交 -->
  216. <span class="servicedout" v-show="item.status == '已送达'"
  217. >已卸车</span
  218. >
  219. <span class="noserviceout" v-show="item.status == '未装车'">{{
  220. item.status
  221. }}</span>
  222. <span
  223. style="text-align: right; padding: 10px"
  224. class="center"
  225. v-if="
  226. item.status == '' ||
  227. item.status == null ||
  228. item.status == '未送达' ||
  229. item.status == '已装车'
  230. "
  231. >
  232. <div>
  233. <el-button
  234. class="bg-bottom"
  235. type="primary"
  236. size="small"
  237. @click="submit(deptBudgetList)"
  238. >提交</el-button
  239. >
  240. </div>
  241. </span>
  242. <!-- <div
  243. v-show="
  244. item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'
  245. "
  246. class="signStatus"
  247. >
  248. {{ item.signStatus }}
  249. </div>
  250. <div
  251. v-show="
  252. item.temporaryDriverFlag == 0 && item.signStatus == '已签合同'
  253. "
  254. class="signStatus1"
  255. >
  256. {{ item.signStatus }}
  257. </div> -->
  258. <span
  259. v-show="item.temporaryDriverFlag != 0"
  260. width="22"
  261. height="22"
  262. class="del"
  263. @click="del(index)"
  264. src="../../../public/img/del.png"
  265. alt=""
  266. >×</span
  267. >
  268. </ws-info-table>
  269. </div>
  270. </div>
  271. <div style="text-align: center; color: #8890b1; font-size: 16px">
  272. 合计(吨):{{ total }}/{{ deptBudgetList.weight }}
  273. </div>
  274. <!-- <el-button class="add bg-bottom" type="primary" size="small" @click="add">
  275. <img width="22" height="22" src="../../../public/img/add.png" alt="" />
  276. <div class="spans">添加临时用车</div></el-button
  277. > -->
  278. </ws-form>
  279. <!-- 完货 -->
  280. <div style="text-align: right; padding: 10px" class="wanhuo">
  281. <el-button
  282. class="bg-bottom"
  283. type="primary"
  284. size="small"
  285. @click="finished(deptBudgetList)"
  286. >完货</el-button
  287. >
  288. </div>
  289. </div>
  290. </template>
  291. <script>
  292. import { regionData } from 'element-china-area-data'
  293. import { seeCat, feedback, stateRec } from '@/model/transport/index'
  294. import WsUpload from '@/components/WsUpload'
  295. import mapDrag from '@/components/mapdrag/mapdrag'
  296. export default {
  297. name: 'viewSpareMoney',
  298. components: {
  299. WsUpload,
  300. mapDrag,
  301. },
  302. watch: {
  303. vesselId(val) {
  304. this.getVesselData()
  305. },
  306. isShow(val) {
  307. this.showType = val
  308. },
  309. },
  310. data() {
  311. return {
  312. deptBudgetList: {
  313. totalStorage: 0,
  314. },
  315. options_: regionData,
  316. heightData: '600px',
  317. zoom: 7,
  318. selectedOptions: [],
  319. center: [116.244694, 39.517344],
  320. window: '',
  321. radio: 1,
  322. personCharge: [],
  323. district: null,
  324. driverList: [],
  325. readonly: true,
  326. listDate: { country: '中国', level: 'country', city: '' },
  327. citylist: [],
  328. compId: sessionStorage.getItem('ws-pf_compId'),
  329. rules: {
  330. warehouseName: [
  331. {
  332. required: true,
  333. message: '请输入仓库名称',
  334. trigger: 'blur',
  335. },
  336. {
  337. min: 2,
  338. max: 20,
  339. message: '仓库名长度不符合要求,请输入2-20字符之内',
  340. trigger: 'blur',
  341. },
  342. ],
  343. },
  344. tranType: 2,
  345. size: 10,
  346. value1: '',
  347. unitList: [],
  348. freightspace1: [
  349. {
  350. accountTypeFlag: '1',
  351. payeeName: '',
  352. payeeNumberCard: '',
  353. compName: '',
  354. bankDeposit: '',
  355. addressUrlArray: [],
  356. bankCard: '',
  357. },
  358. ],
  359. freightspace: [
  360. {
  361. boxNo: '',
  362. unloadNetWeight: '',
  363. unloadPoundImg: '',
  364. unloadingDate: '',
  365. },
  366. // {loadPoundImg:{}},
  367. ],
  368. name: '',
  369. staffList: [],
  370. options: [],
  371. carModel: [],
  372. tranCarInfoList: {
  373. unloadPoundImg: '',
  374. },
  375. // tranCarList: {
  376. // driver: '',
  377. // driverPhone:'',
  378. // sendDateStart:'',
  379. // receiveDateEnd:'',
  380. // carModel:'',
  381. // },
  382. //上传
  383. accessoryTFs: false,
  384. fileList: [],
  385. appendixIdsAdd: '',
  386. }
  387. },
  388. activated() {
  389. this.deptBudgetList.id = this.$route.query.id
  390. this.getList()
  391. },
  392. computed: {
  393. totalStorage: function () {
  394. var maxStorage = 0
  395. for (var i = 0; i < this.freightspace.length; i++) {
  396. maxStorage += Number(this.freightspace[i].maxStorage)
  397. }
  398. return maxStorage
  399. },
  400. total: function () {
  401. if (this.deptBudgetList.tranCarInfoList != null) {
  402. var maxStorage = 0
  403. for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  404. maxStorage += Number(
  405. this.deptBudgetList.tranCarInfoList[i].loadNetWeight
  406. )
  407. }
  408. return maxStorage
  409. } else {
  410. return 0
  411. }
  412. },
  413. },
  414. methods: {
  415. marker: function (item) {
  416. this.deptBudgetList.warehousePositioning =
  417. item.lnglat.lat + ',' + item.lnglat.lng
  418. },
  419. // 关闭 dialog时 处理文件url 初始化upload组件
  420. handleClose() {
  421. this.dialogViewSpareMoney = false
  422. },
  423. add() {
  424. this.freightspace.push({
  425. driver: '',
  426. driverPhone: '',
  427. carNo: '',
  428. loadNetWeight: '',
  429. })
  430. },
  431. del(index) {
  432. if (this.freightspace.length > 1) {
  433. this.freightspace.splice(index, 1)
  434. }
  435. },
  436. //完货
  437. finished() {
  438. this.$confirm(`完货操作后,装车信息不可修改,是否确定完货?`, {
  439. confirmButtonText: '确定',
  440. cancelButtonText: '取消',
  441. type: 'warning',
  442. })
  443. .then(() => {
  444. this.$refs.deptBudgetList.validate((valid) => {
  445. if (valid) {
  446. var tranProcessInfo = {}
  447. tranProcessInfo.id = this.deptBudgetList.id
  448. stateRec(tranProcessInfo)
  449. .toPromise()
  450. .then((response) => {
  451. this.$message.success('完货成功')
  452. this.deptBudgetList = {}
  453. this.freightspace = {}
  454. this.selectedOptions = ''
  455. this.$router.push({
  456. path: 'tranManagementReceivingFeedback',
  457. })
  458. })
  459. } else {
  460. return false
  461. }
  462. })
  463. })
  464. .catch(() => {
  465. return false
  466. })
  467. },
  468. submit() {
  469. for (var i = 0; i < this.freightspace.length; i++) {
  470. if (this.freightspace[i].temporaryDriverFlag != 0) {
  471. if (!this.freightspace[i].driver) {
  472. this.$message({
  473. message: '司机姓名不能为空!',
  474. type: 'warning',
  475. })
  476. return
  477. }
  478. if (!this.freightspace[i].driverPhone) {
  479. this.$message({
  480. message: '司机电话不能为空!',
  481. type: 'warning',
  482. })
  483. return
  484. }
  485. if (!this.freightspace[i].carNo) {
  486. this.$message({
  487. message: '车牌号不能为空!',
  488. type: 'warning',
  489. })
  490. return
  491. }
  492. if (!this.freightspace[i].loadNetWeight) {
  493. this.$message({
  494. message: '装载净重不能为空!',
  495. type: 'warning',
  496. })
  497. return
  498. }
  499. }
  500. }
  501. this.$confirm(`提交成功后提醒司机及时签订运输合同,确定提交卸车信息?`, {
  502. confirmButtonText: '确定',
  503. cancelButtonText: '取消',
  504. type: 'warning',
  505. })
  506. .then(() => {
  507. this.$refs.deptBudgetList.validate((valid) => {
  508. if (valid) {
  509. // this.deptBudgetList.totalStorage = this.totalStorage
  510. this.tranCarInfoList = this.freightspace
  511. this.tranCarInfoList.driver = this.deptBudgetList.driver
  512. this.tranCarInfoList.unloadingDate =
  513. this.deptBudgetList.unloadingDate
  514. this.tranCarInfoList[0].sendDateStart = this.deptBudgetList.sendDateStart
  515. this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
  516. this.tranCarInfoList.tranCarNo = this.deptBudgetList.tranCarNo
  517. this.tranCarInfoList.carNo = this.deptBudgetList.carNo
  518. this.tranCarInfoList.unloadNetWeight =
  519. this.deptBudgetList.unloadNetWeight
  520. this.tranCarInfoList.tranType = this.tranType
  521. this.tranCarInfoList.unloadPoundImg =
  522. this.deptBudgetList.unloadPoundImg
  523. // this.tranCarInfoList.boxNo = this.arr.toString()
  524. for (var i = 0; i < this.tranCarInfoList.length; i++) {
  525. this.tranCarInfoList[i].id = this.freightspace[i].id
  526. if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
  527. this.tranCarInfoList[i].temporaryDriverFlag = 1
  528. this.tranCarInfoList[i].tranType = this.tranType
  529. }
  530. }
  531. var tranProcessInfo = {}
  532. tranProcessInfo.id = this.deptBudgetList.id
  533. tranProcessInfo.infoId = this.deptBudgetList.infoId
  534. tranProcessInfo.processNo = this.deptBudgetList.processNo
  535. tranProcessInfo.tranPrice = this.deptBudgetList.tranPrice
  536. tranProcessInfo.tranCarInfoList = this.tranCarInfoList
  537. // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
  538. feedback(tranProcessInfo)
  539. .toPromise()
  540. .then((response) => {
  541. this.$message.success('提交成功')
  542. this.deptBudgetList = {}
  543. this.freightspace = {}
  544. this.selectedOptions = ''
  545. this.$router.push({
  546. path: 'tranManagementReceivingFeedback',
  547. })
  548. })
  549. } else {
  550. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  551. return false
  552. }
  553. })
  554. })
  555. .catch(() => {
  556. return false
  557. })
  558. },
  559. revert() {
  560. this.$router.push({ path: 'tranManagementReceivingFeedback' })
  561. },
  562. getList() {
  563. seeCat({ id: this.deptBudgetList.id })
  564. .toPromise()
  565. .then((response) => {
  566. this.deptBudgetList = response
  567. // this.deptBudgetList.tranCarInfoList = response.tranCarInfoList
  568. this.deptBudgetList.driver = response.tranCarInfoList[0].driver
  569. this.deptBudgetList.driverPhone =
  570. response.tranCarInfoList[0].driverPhone
  571. this.$set(this.deptBudgetList,'sendDateStart',response.tranCarInfoList[0].sendDateStart)
  572. this.deptBudgetList.receiveDateEnd =
  573. response.tranCarInfoList[0].receiveDateEnd
  574. this.deptBudgetList.carModel = response.tranCarInfoList[0].carModel
  575. this.freightspace = response.tranCarInfoList
  576. for (var i = 0; i < this.freightspace.length; i++) {
  577. if (!this.freightspace[i].loadNetWeight) {
  578. this.freightspace[i].loadNetWeight = 0
  579. }
  580. }
  581. })
  582. },
  583. uploadSuccessHandle1(e, index) {
  584. this.freightspace[index].unloadPoundImg = e.url
  585. },
  586. },
  587. }
  588. </script>
  589. <style lang="scss" scoped>
  590. /deep/.totalStorage .el-input__inner {
  591. color: #afb5cb;
  592. background: #f5f7fa;
  593. }
  594. .small-title {
  595. position: relative;
  596. padding: 10px;
  597. font-weight: 600;
  598. }
  599. .small-title::before {
  600. position: absolute;
  601. content: '';
  602. display: block;
  603. background: #5473e8;
  604. width: 4px;
  605. height: 14px;
  606. left: 0px;
  607. top: 13px;
  608. }
  609. .position {
  610. position: relative;
  611. }
  612. .del {
  613. position: absolute;
  614. right: -38px;
  615. top: 14px;
  616. cursor: pointer;
  617. right: 0;
  618. display: inline-block;
  619. font-size: 26px;
  620. width: 26px;
  621. height: 10px;
  622. line-height: 0px;
  623. }
  624. .amap-page-container {
  625. width: 300px;
  626. height: 300px;
  627. }
  628. .el-form {
  629. padding: 0 15%;
  630. }
  631. /deep/.ws-info-table .el-form-item {
  632. border-right: 1px solid transparent;
  633. border-bottom: 1px solid transparent;
  634. }
  635. .readonly {
  636. position: relative;
  637. }
  638. .readonly:after {
  639. content: '*';
  640. color: #ff2727;
  641. position: absolute;
  642. right: 8px;
  643. z-index: 10;
  644. top: 21%;
  645. font-size: 20px;
  646. }
  647. .title {
  648. position: relative;
  649. }
  650. .title::before {
  651. content: '';
  652. display: inline-block;
  653. width: 5px;
  654. height: 30px;
  655. background: #5473e8;
  656. position: absolute;
  657. left: 0;
  658. }
  659. .el-button--primary {
  660. background-color: #5878e8;
  661. border-color: #5878e8;
  662. }
  663. .el-col {
  664. background: #f6f7fc;
  665. }
  666. /deep/.ws-info-table .el-form-item .el-form-item__content {
  667. padding: 0 25px;
  668. border-left: 1px solid transparent;
  669. background: #fff;
  670. }
  671. /deep/.ws-info-table .el-form-item .el-form-item__label {
  672. width: 100px;
  673. text-align: center;
  674. background: #fff;
  675. // border: 1px solid #cdd2dc;
  676. }
  677. .button-container {
  678. display: flex;
  679. flex-wrap: nowrap;
  680. justify-content: space-between;
  681. align-items: center;
  682. background-color: #fff;
  683. width: 100%;
  684. height: 50px;
  685. padding: 0 10px;
  686. & > div {
  687. margin-left: 10px;
  688. display: flex;
  689. flex-wrap: nowrap;
  690. flex-direction: row;
  691. & > span {
  692. line-height: 50px;
  693. }
  694. }
  695. /deep/.auditFlow-box {
  696. position: unset;
  697. margin-left: 10px;
  698. &/deep/.auditFlow-icon {
  699. width: auto;
  700. padding-right: 30px;
  701. }
  702. &/deep/.auditFlow-main {
  703. position: absolute;
  704. }
  705. }
  706. }
  707. .box-app {
  708. display: inline-block;
  709. float: left;
  710. margin-left: 30px;
  711. line-height: 50px;
  712. }
  713. /deep/.el-dialog {
  714. .el-form-item {
  715. margin-bottom: 0 !important;
  716. .el-input--medium {
  717. textarea {
  718. min-height: 100px !important;
  719. }
  720. }
  721. }
  722. }
  723. .collapse-bottom {
  724. margin-bottom: 20px;
  725. }
  726. .input-main .textarea .el-textarea__inner {
  727. width: 100%;
  728. z-index: 1;
  729. }
  730. .bg-left {
  731. padding-left: 30px;
  732. }
  733. .bg-right {
  734. padding-right: 10px;
  735. text-align: right;
  736. }
  737. .bg-bottom {
  738. margin: 15px 0px;
  739. }
  740. .wenzi {
  741. width: 900px;
  742. margin: 0 auto;
  743. }
  744. .wenzi h3 {
  745. display: inline-block;
  746. left: 10px;
  747. }
  748. .wenzi p {
  749. display: inline-block;
  750. }
  751. .center {
  752. width: 900px;
  753. margin: -70px auto;
  754. margin-right: 92px;
  755. }
  756. .wanhuo {
  757. width: 900px;
  758. margin: 0 auto;
  759. }
  760. .el-form-item {
  761. width: 50%;
  762. }
  763. .el-form-item__label {
  764. text-align: center;
  765. }
  766. .ce {
  767. width: 900px;
  768. margin: 0 auto;
  769. }
  770. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  771. /* height: 82px;*/
  772. /*}*/
  773. // 控制select为只读的时候显示样式
  774. .hide-sel {
  775. .el-input__inner {
  776. border: 0px;
  777. }
  778. .el-icon-arrow-up {
  779. display: none;
  780. }
  781. .el-textarea__inner {
  782. background-color: #fff !important;
  783. border: 0;
  784. }
  785. .el-date-editor {
  786. i {
  787. display: none;
  788. }
  789. }
  790. // .is-disabled {
  791. // .el-input__inner:hover {
  792. // background-color: #fff !important;
  793. // border: 0;
  794. // }
  795. // color: #606266;
  796. // .el-input__inner {
  797. // background-color: #fff !important;
  798. // border: 0;
  799. // color: #606266;
  800. // }
  801. // .el-textarea__inner {
  802. // background-color: #fff !important;
  803. // border: 0;
  804. // color: #606266;
  805. // }
  806. // }
  807. }
  808. // 控制select为只读的时候显示样式
  809. /deep/.ws-class-table-col {
  810. height: auto;
  811. padding: 0px 2px;
  812. /deep/.el-input__inner {
  813. padding: 0px 2px;
  814. }
  815. }
  816. // /deep/.is-disabled {
  817. // .el-input__prefix,
  818. // .el-input__suffix {
  819. // display: none;
  820. // }
  821. // .el-input__inner {
  822. // background-color: #fff;
  823. // border-color: #fff !important;
  824. // color: #000 !important;
  825. // font-size: 14px;
  826. // cursor: text;
  827. // padding: 0 !important;
  828. // }
  829. // }
  830. .winseaview-view {
  831. padding: 0 0 20px;
  832. }
  833. .container {
  834. overflow: scroll;
  835. height: 93vh;
  836. }
  837. .ws-info-table .el-form-item {
  838. width: 33.3333%;
  839. }
  840. .readonly:after {
  841. display: none;
  842. }
  843. .el-textarea__inner {
  844. display: none;
  845. }
  846. .el-form {
  847. margin-top: 50px;
  848. }
  849. .readonly {
  850. width: 16%;
  851. }
  852. //去边框
  853. /deep/.el-form-item {
  854. border-right: 0px;
  855. border-bottom: 0px;
  856. }
  857. /deep/.ws-info-table {
  858. border-left: 0px;
  859. border-top: 0px;
  860. }
  861. .ws-info-table .el-form-item .el-form-item__content {
  862. border: none;
  863. }
  864. /deep/.ws-info-table .el-form-item {
  865. border: none;
  866. height: 50px;
  867. }
  868. /deep/.ws-info-table .el-form-item .el-form-item__content {
  869. background: #f5f7fa;
  870. border-radius: 4px;
  871. border: 1px solid #d8dce6;
  872. font-family: PingFangSC-Regular, PingFang SC;
  873. margin-bottom: 5px;
  874. background-color: #fff;
  875. font-size: 14px;
  876. font-weight: 400;
  877. color: #8890b1;
  878. line-height: 16px;
  879. }
  880. /deep/.ws-info-table .el-form-item .el-form-item__label {
  881. background-color: #fff;
  882. font-size: 13px;
  883. font-family: PingFangSC-Regular, PingFang SC;
  884. font-weight: 400;
  885. color: #8890b1;
  886. line-height: 16px;
  887. }
  888. /deep/.ws-info-table .el-form-item .el-form-item__content {
  889. background: #f5f7fa;
  890. border-radius: 4px;
  891. border: 1px solid #d8dce6;
  892. }
  893. /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
  894. border: 0px;
  895. }
  896. .catNos {
  897. width: 5%;
  898. height: 30px;
  899. margin-top: 10px;
  900. margin-left: 20px;
  901. margin-right: -5px;
  902. font-size: 14px;
  903. }
  904. .catNosCor {
  905. color: #5473e8;
  906. }
  907. .add {
  908. width: 130px;
  909. height: 34px;
  910. background: #f6f7fb;
  911. border-radius: 17px;
  912. color: #5473e8;
  913. font-size: 14px;
  914. border: none;
  915. }
  916. .add img {
  917. display: inline-block;
  918. margin-top: 3px;
  919. margin-left: -30px;
  920. }
  921. .add .spans {
  922. display: table-caption;
  923. width: 56px;
  924. height: 20px;
  925. line-height: 18px;
  926. }
  927. .signStatus {
  928. height: 25px;
  929. border-radius: 3px;
  930. border: 1px solid #5473e8;
  931. padding: 0 3px;
  932. color: #ffffff;
  933. background: #c4cada;
  934. line-height: 24px;
  935. margin-left: 18px;
  936. }
  937. .signStatus1 {
  938. height: 25px;
  939. background: #e6ebff;
  940. border-radius: 3px;
  941. border: 1px solid #5473e8;
  942. padding: 0 3px;
  943. margin-left: 18px;
  944. color: #5473e8;
  945. line-height: 24px;
  946. }
  947. .line {
  948. height: 26px;
  949. margin-top: 6px;
  950. left: 2px;
  951. }
  952. //卸车详情
  953. /deep/.liaison .ws-info-table .el-form-item {
  954. width: 15%;
  955. }
  956. /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
  957. width: 50%;
  958. background: #f6f7fc;
  959. }
  960. /deep/.liaison .flex {
  961. display: contents;
  962. }
  963. /deep/.liaison .ws-info-table {
  964. background: #f6f7fc;
  965. border-radius: 4px;
  966. border: 1px solid #d8dce6;
  967. margin-top: 20px;
  968. }
  969. /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
  970. padding: 0px;
  971. }
  972. //联络员及车次
  973. /deep/.lianluoyuan .ws-info-table .el-form-item {
  974. width: 20%;
  975. }
  976. /deep/.lianluoyuan .ws-info-table .el-form-item .el-form-item__label {
  977. width: 50%;
  978. background: #f6f7fc;
  979. padding-right: 28px;
  980. margin-top: 5px;
  981. }
  982. /deep/.lianluoyuan .flex {
  983. display: contents;
  984. }
  985. /deep/.lianluoyuan .ws-info-table {
  986. background: #f6f7fc;
  987. border-radius: 4px;
  988. border: 1px solid #d8dce6;
  989. margin-top: 20px;
  990. }
  991. /deep/.lianluoyuan .ws-info-table .el-form-item .el-form-item__content {
  992. padding: 0px;
  993. margin-top: 5px;
  994. }
  995. //卸车状态
  996. .noserviceout,
  997. .noserviceout {
  998. background: #c4cada;
  999. color: #ffffff;
  1000. display: inline-block;
  1001. border-radius: 4px;
  1002. border: 1px solid #d8dce6;
  1003. padding: 2px;
  1004. font-size: 12px;
  1005. height: 23px;
  1006. margin-top: 11px;
  1007. margin-left: 53px;
  1008. }
  1009. .servicedout {
  1010. background: #e5f1f7;
  1011. color: #50cad4;
  1012. display: inline-block;
  1013. border-radius: 4px;
  1014. border: 1px solid #d8dce6;
  1015. padding: 2px;
  1016. font-size: 12px;
  1017. height: 23px;
  1018. margin-top: 11px;
  1019. margin-left: 53px;
  1020. }
  1021. </style>