tranManagementTransporFeedback.vue 26 KB

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