tranManagementTransporFeedback.vue 22 KB

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