tranManagementTransporFeedback.vue 26 KB

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