tranManagementTransportAdd.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  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. <el-form
  25. ref="deptBudgetList"
  26. :rules="mainReportAdd"
  27. :model="deptBudgetList"
  28. >
  29. <ws-info-table class="el-table">
  30. <el-form-item label="任务编号" span="1" prop="taskNo" class="forlist">
  31. <el-input
  32. v-model="deptBudgetList.taskNo"
  33. placeholder="请输入任务编号"
  34. maxlength="20"
  35. size="small"
  36. ></el-input>
  37. </el-form-item>
  38. <el-form-item prop="taskType" label="任务类型" span="1">
  39. <el-select
  40. v-model="deptBudgetList.taskType"
  41. placeholder=""
  42. class="typeselect"
  43. @change="selecttaskType"
  44. >
  45. <el-option
  46. v-for="item in taskType"
  47. :key="item.constKey"
  48. :label="item.constValue"
  49. :value="item.constValue"
  50. ></el-option>
  51. </el-select>
  52. </el-form-item>
  53. <el-form-item prop="contractNo" label="合同编号" span="1">
  54. <el-select
  55. v-model="deptBudgetList.contractNo"
  56. placeholder="请输入合同编号"
  57. class="typeselect"
  58. >
  59. <el-option
  60. v-for="item in contractNoList"
  61. :key="item.constKey"
  62. :label="item.contractNo"
  63. :value="item.contractNo"
  64. ></el-option>
  65. </el-select>
  66. </el-form-item>
  67. <el-form-item prop="goodsName" label="货名" span="1">
  68. <el-select
  69. v-model="deptBudgetList.goodsName"
  70. placeholder="货名"
  71. class="typeselect"
  72. @change="selectgoodsname"
  73. >
  74. <el-option
  75. v-for="item in goodnameList"
  76. :key="item.constKey"
  77. :label="item.constValue"
  78. :value="item.constValue"
  79. ></el-option>
  80. </el-select>
  81. </el-form-item>
  82. <el-form-item label="重量(吨)" span="1" prop="weight">
  83. <el-input
  84. v-model="deptBudgetList.weight"
  85. placeholder="请输入重量"
  86. maxlength="20"
  87. size="small"
  88. ></el-input>
  89. </el-form-item>
  90. </ws-info-table>
  91. <ws-info-table class="el-table">
  92. <div class="start-address">
  93. <el-radio v-model="deptBudgetList.warehouseType" label="1"
  94. >常用仓库发货</el-radio
  95. >
  96. <el-radio v-model="deptBudgetList.warehouseType" label="2"
  97. >临时仓库发货</el-radio
  98. >
  99. <el-select
  100. v-model="deptBudgetList.sendWarehouse"
  101. placeholder="选择仓库"
  102. class="typeselect"
  103. >
  104. <el-option
  105. v-for="item in warehouseList"
  106. :key="item.constKey"
  107. :label="item.warehouseName"
  108. :value="item.warehouseName"
  109. ></el-option>
  110. </el-select>
  111. </div>
  112. <el-form-item label="始发地" span="1" class="start-address">
  113. <el-cascader
  114. :options="options_"
  115. v-model="selectedOptions"
  116. clearable
  117. size="large"
  118. placeholder="请选择始发地"
  119. style="width: 200%"
  120. @change="handleChange"
  121. />
  122. </el-form-item>
  123. <el-form-item
  124. label="始发地详细地址"
  125. span="1"
  126. prop="startDetailedAddress"
  127. class="bg-right start-address"
  128. >
  129. <el-input
  130. v-model="deptBudgetList.startDetailedAddress"
  131. placeholder="请输入始发地详细地址"
  132. maxlength="20"
  133. size="small"
  134. ></el-input>
  135. </el-form-item>
  136. <el-form-item
  137. label="收获库点"
  138. span="1"
  139. prop="contractNo"
  140. class="start-address"
  141. >
  142. <el-select
  143. v-model="deptBudgetList.receiveWarehouse"
  144. :disabled="warehouse"
  145. placeholder="收货苦点"
  146. class="typeselect"
  147. >
  148. <el-option
  149. v-for="item in warehouseList"
  150. :key="item.constKey"
  151. :label="item.warehouseName"
  152. :value="item.warehouseName"
  153. ></el-option>
  154. </el-select>
  155. </el-form-item>
  156. <el-form-item
  157. label="终到地"
  158. span="1"
  159. prop="contractNo"
  160. class="start-address"
  161. >
  162. <el-cascader
  163. :options="options_"
  164. v-model="selectedOptions1"
  165. clearable
  166. size="large"
  167. placeholder="请选择终到地"
  168. style="width: 200%"
  169. @change="handleChange1"
  170. />
  171. </el-form-item>
  172. <el-form-item
  173. label="终到地详细地址"
  174. span="1"
  175. prop="endDetailedAddress"
  176. class="bg-right start-address"
  177. >
  178. <el-input
  179. v-model="deptBudgetList.endDetailedAddress"
  180. placeholder="请输入终到地详细地址"
  181. maxlength="20"
  182. size="small"
  183. ></el-input>
  184. </el-form-item>
  185. <div>
  186. <span class="check-box">运输方式</span>
  187. <el-checkbox-group v-model="checkList" prop="tranType">
  188. <el-checkbox label="汽运"></el-checkbox>
  189. <el-checkbox label="火运"></el-checkbox>
  190. <el-checkbox label="船运"></el-checkbox>
  191. </el-checkbox-group>
  192. </div>
  193. </ws-info-table>
  194. <div
  195. style="width: 100%"
  196. class="position"
  197. v-for="(item, index) in deptBudgetList.tranProcessInfoList"
  198. >
  199. <div class="driver">
  200. 运输阶段{{ index + 1 }} {{ item.processNo }}
  201. <el-checkbox
  202. v-if="index == deptBudgetList.tranProcessInfoList.length - 1"
  203. v-model="item.endFlag"
  204. label="1"
  205. >最终阶段</el-checkbox
  206. >
  207. <img
  208. width="22"
  209. height="22"
  210. class="add"
  211. @click="add"
  212. src="../../../public/img/add.png"
  213. alt=""
  214. />
  215. <img
  216. width="22"
  217. height="22"
  218. class="del"
  219. @click="del(index)"
  220. src="../../../public/img/del.png"
  221. alt=""
  222. />
  223. </div>
  224. <ws-info-table>
  225. <el-form-item label="运输方式" span="1" prop="waterContent">
  226. <el-select
  227. v-model="item.tranType"
  228. placeholder="运输方式"
  229. class="typeselect"
  230. @change="
  231. (val) => {
  232. selecttaskwayList(val, index)
  233. }
  234. "
  235. >
  236. <el-option
  237. v-for="item in taskwayList"
  238. :key="item.constKey"
  239. :label="item.constValue"
  240. :value="item.constValue"
  241. ></el-option>
  242. </el-select>
  243. </el-form-item>
  244. <el-form-item label="发货日期" span="1" prop="impurity">
  245. <ws-date-picker
  246. v-model="item.deliveryDateStart"
  247. type="date"
  248. placeholder="请选择发货日期"
  249. value-format="yyyy-MM-dd"
  250. />
  251. </el-form-item>
  252. <el-form-item label="最晚到货日期" span="1" prop="bulkDensity">
  253. <ws-date-picker
  254. v-model="item.deliveryDateEnd"
  255. type="date"
  256. placeholder="请选择最晚到货日期"
  257. value-format="yyyy-MM-dd"
  258. />
  259. </el-form-item>
  260. <el-form-item
  261. label="本阶段运输重量(吨)"
  262. span="1"
  263. prop="bulkDensity"
  264. >
  265. <el-input
  266. v-model="item.weight"
  267. placeholder="请输入本阶段运输重量"
  268. size="small"
  269. ></el-input>
  270. </el-form-item>
  271. </ws-info-table>
  272. <ws-info-table>
  273. <el-form-item label="发货地区" span="1" prop="waterContent">
  274. <el-cascader
  275. :options="options_"
  276. v-model="item.selectedOptions"
  277. clearable
  278. size="large"
  279. placeholder="请选择发货地区"
  280. style="width: 200%"
  281. @change="
  282. (val) => {
  283. handleChange3(val, index)
  284. }
  285. "
  286. />
  287. </el-form-item>
  288. <el-form-item label="发货地详细地址" span="1" prop="impurity">
  289. <el-input
  290. v-model="item.sendDetailedAddress"
  291. placeholder="请输入发货地详细地址"
  292. maxlength="20"
  293. size="small"
  294. ></el-input>
  295. </el-form-item>
  296. <el-form-item label="发货人" span="1" prop="bulkDensity">
  297. <el-input
  298. v-model="item.sender"
  299. placeholder="请输入发货人"
  300. maxlength="20"
  301. size="small"
  302. ></el-input>
  303. </el-form-item>
  304. <el-form-item label="发货人电话" span="1" prop="bulkDensity">
  305. <el-input
  306. v-model="item.senderPhone"
  307. placeholder="请输入发货人电话"
  308. maxlength="20"
  309. size="small"
  310. ></el-input>
  311. </el-form-item>
  312. </ws-info-table>
  313. <ws-info-table>
  314. <el-form-item label="收货地区" span="1" prop="bulkDensity">
  315. <el-cascader
  316. :options="options_"
  317. v-model="item.selectedOptions1"
  318. clearable
  319. size="large"
  320. placeholder="请选择收货地区"
  321. style="width: 200%"
  322. @change="
  323. (val) => {
  324. handleChange4(val, index)
  325. }
  326. "
  327. />
  328. </el-form-item>
  329. <el-form-item label="收货地详细地址" span="1" prop="impurity">
  330. <el-input
  331. v-model="item.receiveDetailedAddress"
  332. placeholder="请输入收货地详细地址"
  333. maxlength="20"
  334. size="small"
  335. ></el-input>
  336. </el-form-item>
  337. <el-form-item label="收货人" span="1" prop="bulkDensity">
  338. <el-input
  339. v-model="item.receiver"
  340. placeholder="请输入收货人"
  341. maxlength="20"
  342. size="small"
  343. ></el-input>
  344. </el-form-item>
  345. <el-form-item label="收货人电话" span="1" prop="bulkDensity">
  346. <el-input
  347. v-model="item.receiverPhone"
  348. placeholder="请输入收货人电话"
  349. maxlength="20"
  350. size="small"
  351. ></el-input>
  352. </el-form-item>
  353. </ws-info-table>
  354. </div>
  355. </el-form>
  356. <!-- 提交 -->
  357. <div style="text-align: right; padding: 10px" class="center">
  358. <el-button
  359. class="bg-bottom"
  360. type="primary"
  361. size="small"
  362. @click="submit(deptBudgetList)"
  363. >提交</el-button
  364. >
  365. </div>
  366. </div>
  367. </template>
  368. <script>
  369. import { packList } from '@/model/contarct/index'
  370. import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
  371. import { addtrantask, getwarehousename, xialaNo } from '@/model/tasksport/index'
  372. import WsUpload from '@/components/WsUpload'
  373. import mapDrag from '@/components/mapdrag/mapdrag'
  374. export default {
  375. name: 'viewSpareMoney',
  376. components: {
  377. WsUpload,
  378. mapDrag,
  379. },
  380. watch: {
  381. vesselId(val) {
  382. this.getVesselData()
  383. },
  384. isShow(val) {
  385. this.showType = val
  386. },
  387. },
  388. data() {
  389. let self = this
  390. return {
  391. checkList: [],
  392. deptBudgetList: {
  393. taskNo: '',
  394. totalStorage: 0,
  395. goodsName: '玉米',
  396. goodsNameKey: 1,
  397. warehouseType: '1',
  398. tranProcessInfoList: [
  399. {
  400. processNo: '',
  401. tranType: '汽运',
  402. tranTypeKey: '1',
  403. deliveryDateStart: '',
  404. deliveryDateEnd: '',
  405. weight: '13',
  406. selectedOptions: [],
  407. selectedOptions1: [],
  408. sendPrivate: '',
  409. sendCity: '',
  410. sendArea: '',
  411. receivePrivate: '',
  412. receiveCity: '',
  413. receiveArea: '',
  414. sendDetailedAddress: '',
  415. receiveDetailedAddress: '',
  416. sender: '',
  417. receiver: '',
  418. senderPhone: '',
  419. receiverPhone: '',
  420. endFlag: '0',
  421. },
  422. ],
  423. },
  424. radio: '1',
  425. options_: regionData,
  426. heightData: '600px',
  427. zoom: 7,
  428. selectedOptions: [],
  429. selectedOptions1: [],
  430. window: '',
  431. district: null,
  432. goodnameList: [],
  433. listDate: { country: '中国', level: 'country', city: '' },
  434. citylist: [],
  435. taskType: [],
  436. taskwayList: [],
  437. contractNoList: [],
  438. compId: sessionStorage.getItem('ws-pf_compId'),
  439. mainReportAdd: {},
  440. appendixIdsAdd: '',
  441. warehouseList: [],
  442. size: 10,
  443. value1: '',
  444. unitList: [],
  445. name: '',
  446. age: '',
  447. }
  448. },
  449. activated() {
  450. this.loaddata()
  451. this.showType = this.isShow
  452. },
  453. computed: {
  454. warehouse: function () {
  455. if (
  456. this.deptBudgetList.taskType == '销售出库' ||
  457. this.deptBudgetList.taskType == '贸易服务出库' ||
  458. this.deptBudgetList.taskType == '暂存出库'
  459. ) {
  460. return true
  461. } else {
  462. return false
  463. }
  464. },
  465. },
  466. methods: {
  467. // 获取当前年月日
  468. getdate() {
  469. var date = new Date()
  470. var year = date.getFullYear() //获取完整的年份(4位)
  471. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  472. var datetime = date.getDate() //获取当前日(1-31)
  473. if (mouth < 10) {
  474. mouth = '0' + mouth
  475. }
  476. if (datetime < 10) {
  477. datetime = '0' + datetime
  478. }
  479. return year + mouth + datetime
  480. },
  481. // 随机验证码
  482. verifyinit() {
  483. var arr = []
  484. for (var i = 48; i < 123; i++) {
  485. if (i > 57 && i < 65) continue
  486. if (i > 90 && i < 97) continue
  487. arr.push(String.fromCharCode(i))
  488. }
  489. arr.sort(function () {
  490. return Math.random() - 0.5
  491. })
  492. arr.length = 4
  493. return arr.join('')
  494. },
  495. loaddata() {
  496. this.deptBudgetList.taskNo = 'YS' + this.getdate() + this.verifyinit()
  497. // 货名
  498. packList({ constId: 'CON2' })
  499. .toPromise()
  500. .then((response) => {
  501. this.goodnameList = response
  502. })
  503. // 任务类型
  504. packList({ constId: 'TRAN3' })
  505. .toPromise()
  506. .then((response) => {
  507. this.taskType = response
  508. })
  509. // 运输方式
  510. packList({ constId: 'TRAN6' })
  511. .toPromise()
  512. .then((response) => {
  513. this.taskwayList = response
  514. })
  515. getwarehousename({
  516. compId: this.compId,
  517. warehouseType: this.deptBudgetList.warehouseType,
  518. })
  519. .toPromise()
  520. .then((response) => {
  521. this.warehouseList = response
  522. })
  523. xialaNo({
  524. compId: this.compId,
  525. })
  526. .toPromise()
  527. .then((response) => {
  528. this.contractNoList = response
  529. })
  530. // // 车型
  531. // packList({ constId: 'TRAN1' })
  532. // .toPromise()
  533. // .then((response) => {
  534. // this.carModelList = response
  535. // })
  536. // // 车长
  537. // packList({ constId: 'TRAN2' })
  538. // .toPromise()
  539. // .then((response) => {
  540. // this.carLengthList = response
  541. // })
  542. },
  543. confirmPositioncity() {
  544. this.listDate.level = 'city'
  545. this.listDate.country = this.name
  546. },
  547. // 关闭 dialog时 处理文件url 初始化upload组件
  548. handleClose() {
  549. this.dialogViewSpareMoney = false
  550. },
  551. add() {
  552. this.deptBudgetList.tranProcessInfoList.push({
  553. tranType: '汽运',
  554. tranTypeKey: '1',
  555. deliveryDateStart: '',
  556. deliveryDateEnd: '',
  557. weight: '13',
  558. selectedOptions: [],
  559. selectedOptions1: [],
  560. sendPrivate: '',
  561. sendCity: '',
  562. sendArea: '',
  563. receivePrivate: '',
  564. receiveCity: '',
  565. receiveArea: '',
  566. sendDetailedAddress: '',
  567. receiveDetailedAddress: '',
  568. sender: '',
  569. receiver: '',
  570. senderPhone: '',
  571. receiverPhone: '',
  572. endFlag: '0',
  573. })
  574. },
  575. del(index) {
  576. if (this.deptBudgetList.tranProcessInfoList.length > 1) {
  577. this.deptBudgetList.tranProcessInfoList.splice(index, 1)
  578. }
  579. },
  580. handleChange(value) {
  581. this.selectedOptions = value
  582. this.deptBudgetList.startPrivate = CodeToText[value[0]]
  583. this.deptBudgetList.startCity = CodeToText[value[1]]
  584. this.deptBudgetList.startArea = CodeToText[value[2]]
  585. },
  586. handleChange1(value) {
  587. this.selectedOptions1 = value
  588. this.deptBudgetList.endPrivate = CodeToText[value[0]]
  589. this.deptBudgetList.endCity = CodeToText[value[1]]
  590. this.deptBudgetList.endArea = CodeToText[value[2]]
  591. },
  592. handleChange3(value, index) {
  593. this.deptBudgetList.tranProcessInfoList[index].sendPrivate =
  594. CodeToText[value[0]]
  595. this.deptBudgetList.tranProcessInfoList[index].sendCity =
  596. CodeToText[value[1]]
  597. this.deptBudgetList.tranProcessInfoList[index].sendArea =
  598. CodeToText[value[2]]
  599. },
  600. handleChange4(value, index) {
  601. this.deptBudgetList.tranProcessInfoList[index].receivePrivate =
  602. CodeToText[value[0]]
  603. this.deptBudgetList.tranProcessInfoList[index].receiveCity =
  604. CodeToText[value[1]]
  605. this.deptBudgetList.tranProcessInfoList[index].receiveArea =
  606. CodeToText[value[2]]
  607. },
  608. returnsales() {
  609. this.$router.push({ path: 'tranManagementTransport' })
  610. },
  611. selecttaskType(e) {
  612. for (var i = 0; i < this.taskType.length; i++) {
  613. if (this.taskType[i].constValue == e) {
  614. this.deptBudgetList.taskTypeKey = this.taskType[i].constKey
  615. }
  616. }
  617. },
  618. selecttaskwayList(e, index) {
  619. for (var i = 0; i < this.taskwayList.length; i++) {
  620. if (this.taskwayList[i].constValue == e) {
  621. this.deptBudgetList.tranProcessInfoList[index].tranTypeKey =
  622. this.taskwayList[i].constKey
  623. }
  624. }
  625. },
  626. selectgoodsname(e) {
  627. for (var i = 0; i < this.goodnameList.length; i++) {
  628. if (this.goodnameList[i].constValue == e) {
  629. this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
  630. }
  631. }
  632. },
  633. onChange(files) {
  634. this.fileNum = files
  635. this.$refs.upload.handleSaveBill().then((res) => {
  636. console.log(files)
  637. })
  638. },
  639. submit() {
  640. this.$refs.deptBudgetList.validate((valid) => {
  641. if (valid) {
  642. for (
  643. var i = 0;
  644. i < this.deptBudgetList.tranProcessInfoList.length;
  645. i++
  646. ) {
  647. this.deptBudgetList.tranProcessInfoList[i].processNo =
  648. this.deptBudgetList.taskNo + (i + 1)
  649. }
  650. this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
  651. this.deptBudgetList.tranType = this.checkList.toString()
  652. addtrantask(this.deptBudgetList)
  653. .toPromise()
  654. .then((response) => {
  655. this.$message.success('添加成功')
  656. this.deptBudgetList = {
  657. taskNo: '',
  658. totalStorage: 0,
  659. goodsName: '玉米',
  660. goodsNameKey: 1,
  661. warehouseType: '1',
  662. tranProcessInfoList: [
  663. {
  664. processNo: '',
  665. tranType: '汽运',
  666. deliveryDateStart: '',
  667. deliveryDateEnd: '',
  668. weight: '13',
  669. selectedOptions: [],
  670. selectedOptions1: [],
  671. sendPrivate: '',
  672. sendCity: '',
  673. sendArea: '',
  674. receivePrivate: '',
  675. receiveCity: '',
  676. receiveArea: '',
  677. sendDetailedAddress: '',
  678. receiveDetailedAddress: '',
  679. sender: '',
  680. receiver: '',
  681. senderPhone: '',
  682. receiverPhone: '',
  683. },
  684. ],
  685. }
  686. this.$router.push({ path: 'tranManagementTransport' })
  687. })
  688. } else {
  689. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  690. return false
  691. }
  692. })
  693. },
  694. resetForm(deptBudgetList) {
  695. this.$refs[deptBudgetList].resetFields()
  696. },
  697. },
  698. }
  699. </script>
  700. <style lang="scss" scoped>
  701. .position {
  702. position: relative;
  703. }
  704. .del,
  705. .add {
  706. cursor: pointer;
  707. }
  708. .el-checkbox-group {
  709. font-size: 0;
  710. float: right;
  711. }
  712. .check-box[data-v-5c5ac25d] {
  713. float: left;
  714. }
  715. .el-form {
  716. padding: 0 10%;
  717. }
  718. .ws-info-table {
  719. border: none;
  720. }
  721. /deep/.ws-info-table .el-form-item {
  722. border-right: 1px solid #cdd2dc;
  723. border-bottom: 1px solid #cdd2dc;
  724. }
  725. .readonly {
  726. position: relative;
  727. }
  728. .title {
  729. position: relative;
  730. }
  731. .title::before {
  732. content: '';
  733. display: inline-block;
  734. width: 5px;
  735. height: 30px;
  736. background: #5473e8;
  737. position: absolute;
  738. left: 0;
  739. }
  740. //去边框
  741. /deep/.el-form-item {
  742. border-right: 0px;
  743. border-bottom: 0px;
  744. }
  745. .el-form {
  746. margin-top: 50px;
  747. }
  748. .el-form-item.start-address.el-form-item--small {
  749. width: 33.3%;
  750. }
  751. .el-col {
  752. background: #f6f7fc;
  753. }
  754. // /deep/.ws-info-table .el-form-item .el-form-item__content {
  755. // padding: 0 25px;
  756. // border-left: 1px solid #cdd2dc;
  757. // background: #fafbfc;
  758. // }
  759. // /deep/.ws-info-table .el-form-item .el-form-item__label {
  760. // width: 140px;
  761. // text-align: center;
  762. // background: #f0f2f6;
  763. // // border: 1px solid #cdd2dc;
  764. // }
  765. // .button-container {
  766. // display: flex;
  767. // flex-wrap: nowrap;
  768. // justify-content: space-between;
  769. // align-items: center;
  770. // background-color: #fff;
  771. // width: 100%;
  772. // height: 50px;
  773. // padding: 0 10px;
  774. // & > div {
  775. // margin-left: 10px;
  776. // display: flex;
  777. // flex-wrap: nowrap;
  778. // flex-direction: row;
  779. // & > span {
  780. // line-height: 50px;
  781. // }
  782. // }
  783. // /deep/.auditFlow-box {
  784. // position: unset;
  785. // margin-left: 10px;
  786. // &/deep/.auditFlow-icon {
  787. // width: auto;
  788. // padding-right: 30px;
  789. // }
  790. // &/deep/.auditFlow-main {
  791. // position: absolute;
  792. // }
  793. // }
  794. // }
  795. // .box-app {
  796. // display: inline-block;
  797. // float: left;
  798. // margin-left: 30px;
  799. // line-height: 50px;
  800. // }
  801. // /deep/.el-dialog {
  802. // .el-form-item {
  803. // margin-bottom: 0 !important;
  804. // .el-input--medium {
  805. // textarea {
  806. // min-height: 100px !important;
  807. // }
  808. // }
  809. // }
  810. // }
  811. // .collapse-bottom {
  812. // margin-bottom: 20px;
  813. // }
  814. // .input-main .textarea .el-textarea__inner {
  815. // width: 100%;
  816. // z-index: 1;
  817. // }
  818. .bg-left {
  819. padding-left: 30px;
  820. }
  821. .bg-right {
  822. padding-right: 10px;
  823. text-align: right;
  824. }
  825. .bg-bottom {
  826. margin: 15px 0px;
  827. }
  828. .el-radio,
  829. .el-radio__input {
  830. margin-top: 11px;
  831. margin-left: 11px;
  832. width: 93px;
  833. }
  834. // .wenzi {
  835. // width: 900px;
  836. // margin: 0 auto;
  837. // }
  838. // .wenzi h3 {
  839. // display: inline-block;
  840. // left: 10px;
  841. // }
  842. // .wenzi p {
  843. // display: inline-block;
  844. // }
  845. // .center {
  846. // width: 900px;
  847. // margin: 0 auto;
  848. // }
  849. // .el-form-item__label {
  850. // text-align: center;
  851. // }
  852. // .el-table {
  853. // width: 1240px;
  854. // }
  855. // .ce {
  856. // width: 900px;
  857. // margin: 0 auto;
  858. // }
  859. // .driver {
  860. // width: 120px;
  861. // margin-top: 10px;
  862. // font-weight: bold;
  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. // .winseaview-view {
  873. // padding: 0 0 20px;
  874. // }
  875. // .container {
  876. // overflow: scroll;
  877. // height: 93vh;
  878. // }
  879. // /deep/.ws-info-table .el-form-item .el-form-item__label {
  880. // width: 80px;
  881. // }
  882. /deep/.ws-info-table .el-form-item {
  883. width: 20%;
  884. }
  885. // .el-textarea__inner {
  886. // display: none;
  887. // }
  888. // .el-form {
  889. // margin-top: 50px;
  890. // }
  891. // .readonly {
  892. // width: 16%;
  893. // }
  894. // .el-cascader {
  895. // width: 145px;
  896. // }
  897. // .forlist {
  898. // width: 20%;
  899. // }
  900. // .el-form-item.forlist.is-success.el-form-item--small {
  901. // width: 20%;
  902. // }
  903. // .el-form-item.forlist.el-form-item--small {
  904. // width: 20%;
  905. // }
  906. // .el-form-item.readonly.is-success.el-form-item--small.showLableToopTip {
  907. // width: 20%;
  908. // }
  909. // .el-form-item.el-car.el-form-item--small {
  910. // width: 33.3%;
  911. // }
  912. // .el-checkbox-group{
  913. // margin-left: 240px;
  914. // margin-top: -17px;
  915. // }
  916. // /deep/.neifor {
  917. // .ws-info-table {
  918. // border: none;
  919. // }
  920. // .el-form-item {
  921. // // width: 33.3333%;
  922. // border: none;
  923. // .el-form-item__label {
  924. // background: transparent;
  925. // border: none;
  926. // }
  927. // .el-form-item__content {
  928. // border: none;
  929. // }
  930. // }
  931. // }
  932. /deep/.nei {
  933. .ws-info-table {
  934. border: none;
  935. }
  936. .el-form-item {
  937. width: 33.3333%;
  938. border: none;
  939. .el-form-item__label {
  940. background: transparent;
  941. border: none;
  942. }
  943. .el-form-item__content {
  944. border: none;
  945. }
  946. }
  947. }
  948. // .ws-info-table .el-form-item .el-form-item__label {
  949. // width: min-content;
  950. // }
  951. // .el-select>.el-input {
  952. // display: block;
  953. // width: 190px;
  954. // }
  955. // .ws-info-table .el-form-item {
  956. // width: 20%;
  957. // border: none;
  958. // background: transparent;
  959. // }
  960. </style>