tranManagementTransportAdd.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  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" style="width : 36%">
  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. @change="handleChange"
  120. />
  121. </el-form-item>
  122. <el-form-item
  123. label="始发地详细地址"
  124. span="1"
  125. prop="startDetailedAddress"
  126. class="bg-right start-address"
  127. >
  128. <el-input
  129. v-model="deptBudgetList.startDetailedAddress"
  130. placeholder="请输入始发地详细地址"
  131. maxlength="20"
  132. size="small"
  133. ></el-input>
  134. </el-form-item>
  135. <el-form-item
  136. label="收货库点"
  137. span="1"
  138. prop="contractNo"
  139. class="start-address"
  140. style="width: 36%"
  141. >
  142. <el-select
  143. v-model="deptBudgetList.receiveWarehouse"
  144. :disabled="warehouse"
  145. placeholder="请输入收货库点"
  146. class="typeselect"
  147. style="width: 100%"
  148. >
  149. <el-option
  150. v-for="item in warehouseList"
  151. :key="item.constKey"
  152. :label="item.warehouseName"
  153. :value="item.warehouseName"
  154. ></el-option>
  155. </el-select>
  156. </el-form-item>
  157. <el-form-item
  158. label="终到地"
  159. span="1"
  160. prop="contractNo"
  161. class="start-address"
  162. >
  163. <el-cascader
  164. :options="options_"
  165. v-model="selectedOptions1"
  166. clearable
  167. size="large"
  168. placeholder="请选择终到地"
  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 class="check-box">
  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. :key="index"
  199. >
  200. <div class="driver">
  201. <span >运输阶段{{ index + 1 }} {{ item.processNo }}</span>
  202. <img
  203. width="22"
  204. height="22"
  205. class="add"
  206. @click="add"
  207. src="../../../public/img/add.png"
  208. alt=""
  209. />
  210. <img
  211. width="22"
  212. height="22"
  213. class="del"
  214. @click="del(index)"
  215. src="../../../public/img/del.png"
  216. alt=""
  217. />
  218. <span style="margin-left : 20px;font-size : 14px" v-if="index == deptBudgetList.tranProcessInfoList.length - 1">最终阶段</span>
  219. <el-checkbox
  220. v-if="index == deptBudgetList.tranProcessInfoList.length - 1"
  221. v-model="item.endFlag"
  222. :label="1"
  223. ></el-checkbox
  224. >
  225. <el-checkbox
  226. v-if="index == deptBudgetList.tranProcessInfoList.length - 1"
  227. v-model="item.endFlag"
  228. :label="2"
  229. ></el-checkbox
  230. >
  231. </div>
  232. <ws-info-table>
  233. <el-form-item label="运输方式" span="1" prop="waterContent">
  234. <el-select
  235. v-model="item.tranType"
  236. placeholder="运输方式"
  237. class="typeselect"
  238. @change="
  239. (val) => {
  240. selecttaskwayList(val, index)
  241. }
  242. "
  243. >
  244. <el-option
  245. v-for="item in taskwayList"
  246. :key="item.constKey"
  247. :label="item.constValue"
  248. :value="item.constValue"
  249. ></el-option>
  250. </el-select>
  251. </el-form-item>
  252. <el-form-item label="发货日期" span="1" prop="impurity">
  253. <ws-date-picker
  254. v-model="item.deliveryDateStart"
  255. type="date"
  256. placeholder="请选择发货日期"
  257. value-format="yyyy-MM-dd"
  258. />
  259. </el-form-item>
  260. <el-form-item label="最晚到货日期" span="1" prop="bulkDensity">
  261. <ws-date-picker
  262. v-model="item.deliveryDateEnd"
  263. type="date"
  264. placeholder="请选择最晚到货日期"
  265. value-format="yyyy-MM-dd"
  266. />
  267. </el-form-item>
  268. <el-form-item
  269. label="本阶段运输重量(吨)"
  270. span="1"
  271. prop="bulkDensity"
  272. >
  273. <el-input
  274. v-model="item.weight"
  275. placeholder="请输入本阶段运输重量"
  276. size="small"
  277. ></el-input>
  278. </el-form-item>
  279. </ws-info-table>
  280. <ws-info-table>
  281. <el-form-item label="发货地区" span="1" prop="waterContent">
  282. <el-cascader
  283. :options="options_"
  284. v-model="item.selectedOptions"
  285. clearable
  286. size="large"
  287. placeholder="请选择发货地区"
  288. style="width: 200%"
  289. @change="
  290. (val) => {
  291. handleChange3(val, index)
  292. }
  293. "
  294. />
  295. </el-form-item>
  296. <el-form-item label="发货地详细地址" span="1" prop="impurity">
  297. <el-input
  298. v-model="item.sendDetailedAddress"
  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.sender"
  307. placeholder="请输入发货人"
  308. maxlength="20"
  309. size="small"
  310. ></el-input>
  311. </el-form-item>
  312. <el-form-item label="发货人电话" span="1" prop="bulkDensity">
  313. <el-input
  314. v-model="item.senderPhone"
  315. placeholder="请输入发货人电话"
  316. maxlength="20"
  317. size="small"
  318. ></el-input>
  319. </el-form-item>
  320. </ws-info-table>
  321. <ws-info-table>
  322. <el-form-item label="收货地区" span="1" prop="bulkDensity">
  323. <el-cascader
  324. :options="options_"
  325. v-model="item.selectedOptions1"
  326. clearable
  327. size="large"
  328. placeholder="请选择收货地区"
  329. style="width: 200%"
  330. @change="
  331. (val) => {
  332. handleChange4(val, index)
  333. }
  334. "
  335. />
  336. </el-form-item>
  337. <el-form-item label="收货地详细地址" span="1" prop="impurity">
  338. <el-input
  339. v-model="item.receiveDetailedAddress"
  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.receiver"
  348. placeholder="请输入收货人"
  349. maxlength="20"
  350. size="small"
  351. ></el-input>
  352. </el-form-item>
  353. <el-form-item label="收货人电话" span="1" prop="bulkDensity">
  354. <el-input
  355. v-model="item.receiverPhone"
  356. placeholder="请输入收货人电话"
  357. maxlength="20"
  358. size="small"
  359. ></el-input>
  360. </el-form-item>
  361. </ws-info-table>
  362. </div>
  363. </el-form>
  364. <!-- 提交 -->
  365. <div style="text-align: right; padding: 10px" class="center">
  366. <el-button
  367. class="bg-bottom"
  368. type="primary"
  369. size="small"
  370. @click="submit(deptBudgetList)"
  371. >提交</el-button
  372. >
  373. </div>
  374. </div>
  375. </template>
  376. <script>
  377. import { packList } from '@/model/contarct/index'
  378. import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
  379. import { addtrantask, getwarehousename, xialaNo } from '@/model/tasksport/index'
  380. import WsUpload from '@/components/WsUpload'
  381. import mapDrag from '@/components/mapdrag/mapdrag'
  382. export default {
  383. name: 'viewSpareMoney',
  384. components: {
  385. WsUpload,
  386. mapDrag,
  387. },
  388. watch: {
  389. vesselId(val) {
  390. this.getVesselData()
  391. },
  392. isShow(val) {
  393. this.showType = val
  394. },
  395. },
  396. data() {
  397. let self = this
  398. return {
  399. checkList: [],
  400. deptBudgetList: {
  401. taskNo: '',
  402. totalStorage: 0,
  403. goodsName: '玉米',
  404. goodsNameKey: 1,
  405. warehouseType: '1',
  406. tranProcessInfoList: [
  407. {
  408. processNo: '',
  409. tranType: '汽运',
  410. tranTypeKey: '1',
  411. deliveryDateStart: '',
  412. deliveryDateEnd: '',
  413. weight: '13',
  414. selectedOptions: [],
  415. selectedOptions1: [],
  416. sendPrivate: '',
  417. sendCity: '',
  418. sendArea: '',
  419. receivePrivate: '',
  420. receiveCity: '',
  421. receiveArea: '',
  422. sendDetailedAddress: '',
  423. receiveDetailedAddress: '',
  424. sender: '',
  425. receiver: '',
  426. senderPhone: '',
  427. receiverPhone: '',
  428. endFlag: '0',
  429. },
  430. ],
  431. },
  432. radio: '1',
  433. options_: regionData,
  434. heightData: '600px',
  435. zoom: 7,
  436. selectedOptions: [],
  437. selectedOptions1: [],
  438. window: '',
  439. district: null,
  440. goodnameList: [],
  441. listDate: { country: '中国', level: 'country', city: '' },
  442. citylist: [],
  443. taskType: [],
  444. taskwayList: [],
  445. contractNoList: [],
  446. compId: sessionStorage.getItem('ws-pf_compId'),
  447. mainReportAdd: {},
  448. appendixIdsAdd: '',
  449. warehouseList: [],
  450. size: 10,
  451. value1: '',
  452. unitList: [],
  453. name: '',
  454. age: '',
  455. }
  456. },
  457. activated() {
  458. this.loaddata()
  459. this.showType = this.isShow
  460. },
  461. computed: {
  462. warehouse: function () {
  463. if (
  464. this.deptBudgetList.taskType == '销售出库' ||
  465. this.deptBudgetList.taskType == '贸易服务出库' ||
  466. this.deptBudgetList.taskType == '暂存出库'
  467. ) {
  468. return true
  469. } else {
  470. return false
  471. }
  472. },
  473. },
  474. methods: {
  475. // 获取当前年月日
  476. getdate() {
  477. var date = new Date()
  478. var year = date.getFullYear() //获取完整的年份(4位)
  479. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  480. var datetime = date.getDate() //获取当前日(1-31)
  481. if (mouth < 10) {
  482. mouth = '0' + mouth
  483. }
  484. if (datetime < 10) {
  485. datetime = '0' + datetime
  486. }
  487. return year + mouth + datetime
  488. },
  489. // 随机验证码
  490. verifyinit() {
  491. var arr = []
  492. for (var i = 48; i < 123; i++) {
  493. if (i > 57 && i < 65) continue
  494. if (i > 90 && i < 97) continue
  495. arr.push(String.fromCharCode(i))
  496. }
  497. arr.sort(function () {
  498. return Math.random() - 0.5
  499. })
  500. arr.length = 4
  501. return arr.join('')
  502. },
  503. loaddata() {
  504. this.deptBudgetList.taskNo = 'YS' + this.getdate() + this.verifyinit()
  505. // 货名
  506. packList({ constId: 'CON2' })
  507. .toPromise()
  508. .then((response) => {
  509. this.goodnameList = response
  510. })
  511. // 任务类型
  512. packList({ constId: 'TRAN3' })
  513. .toPromise()
  514. .then((response) => {
  515. this.taskType = response
  516. })
  517. // 运输方式
  518. packList({ constId: 'TRAN6' })
  519. .toPromise()
  520. .then((response) => {
  521. this.taskwayList = response
  522. })
  523. getwarehousename({
  524. compId: this.compId,
  525. warehouseType: this.deptBudgetList.warehouseType,
  526. })
  527. .toPromise()
  528. .then((response) => {
  529. this.warehouseList = response
  530. })
  531. xialaNo({
  532. compId: this.compId,
  533. })
  534. .toPromise()
  535. .then((response) => {
  536. this.contractNoList = response
  537. })
  538. },
  539. confirmPositioncity() {
  540. this.listDate.level = 'city'
  541. this.listDate.country = this.name
  542. },
  543. // 关闭 dialog时 处理文件url 初始化upload组件
  544. handleClose() {
  545. this.dialogViewSpareMoney = false
  546. },
  547. add() {
  548. this.deptBudgetList.tranProcessInfoList.push({
  549. tranType: '汽运',
  550. tranTypeKey: '1',
  551. deliveryDateStart: '',
  552. deliveryDateEnd: '',
  553. weight: '13',
  554. selectedOptions: [],
  555. selectedOptions1: [],
  556. sendPrivate: '',
  557. sendCity: '',
  558. sendArea: '',
  559. receivePrivate: '',
  560. receiveCity: '',
  561. receiveArea: '',
  562. sendDetailedAddress: '',
  563. receiveDetailedAddress: '',
  564. sender: '',
  565. receiver: '',
  566. senderPhone: '',
  567. receiverPhone: '',
  568. endFlag: '0',
  569. })
  570. },
  571. del(index) {
  572. if (this.deptBudgetList.tranProcessInfoList.length > 1) {
  573. this.deptBudgetList.tranProcessInfoList.splice(index, 1)
  574. }
  575. },
  576. handleChange(value) {
  577. this.selectedOptions = value
  578. this.deptBudgetList.startPrivate = CodeToText[value[0]]
  579. this.deptBudgetList.startCity = CodeToText[value[1]]
  580. this.deptBudgetList.startArea = CodeToText[value[2]]
  581. },
  582. handleChange1(value) {
  583. this.selectedOptions1 = value
  584. this.deptBudgetList.endPrivate = CodeToText[value[0]]
  585. this.deptBudgetList.endCity = CodeToText[value[1]]
  586. this.deptBudgetList.endArea = CodeToText[value[2]]
  587. },
  588. handleChange3(value, index) {
  589. this.deptBudgetList.tranProcessInfoList[index].sendPrivate =
  590. CodeToText[value[0]]
  591. this.deptBudgetList.tranProcessInfoList[index].sendCity =
  592. CodeToText[value[1]]
  593. this.deptBudgetList.tranProcessInfoList[index].sendArea =
  594. CodeToText[value[2]]
  595. },
  596. handleChange4(value, index) {
  597. this.deptBudgetList.tranProcessInfoList[index].receivePrivate =
  598. CodeToText[value[0]]
  599. this.deptBudgetList.tranProcessInfoList[index].receiveCity =
  600. CodeToText[value[1]]
  601. this.deptBudgetList.tranProcessInfoList[index].receiveArea =
  602. CodeToText[value[2]]
  603. },
  604. returnsales() {
  605. this.$router.push({ path: 'tranManagementTransport' })
  606. },
  607. selecttaskType(e) {
  608. for (var i = 0; i < this.taskType.length; i++) {
  609. if (this.taskType[i].constValue == e) {
  610. this.deptBudgetList.taskTypeKey = this.taskType[i].constKey
  611. }
  612. }
  613. },
  614. selecttaskwayList(e, index) {
  615. for (var i = 0; i < this.taskwayList.length; i++) {
  616. if (this.taskwayList[i].constValue == e) {
  617. this.deptBudgetList.tranProcessInfoList[index].tranTypeKey =
  618. this.taskwayList[i].constKey
  619. }
  620. }
  621. },
  622. selectgoodsname(e) {
  623. for (var i = 0; i < this.goodnameList.length; i++) {
  624. if (this.goodnameList[i].constValue == e) {
  625. this.deptBudgetList.goodsNameKey = this.goodnameList[i].constKey
  626. }
  627. }
  628. },
  629. onChange(files) {
  630. this.fileNum = files
  631. this.$refs.upload.handleSaveBill().then((res) => {
  632. console.log(files)
  633. })
  634. },
  635. submit() {
  636. this.$refs.deptBudgetList.validate((valid) => {
  637. if (valid) {
  638. for (
  639. var i = 0;
  640. i < this.deptBudgetList.tranProcessInfoList.length;
  641. i++
  642. ) {
  643. this.deptBudgetList.tranProcessInfoList[i].processNo =
  644. this.deptBudgetList.taskNo + (i + 1)
  645. }
  646. this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
  647. this.deptBudgetList.tranType = this.checkList.toString()
  648. addtrantask(this.deptBudgetList)
  649. .toPromise()
  650. .then((response) => {
  651. this.$message.success('添加成功')
  652. this.deptBudgetList = {
  653. taskNo: '',
  654. totalStorage: 0,
  655. goodsName: '玉米',
  656. goodsNameKey: 1,
  657. warehouseType: '1',
  658. tranProcessInfoList: [
  659. {
  660. processNo: '',
  661. tranType: '汽运',
  662. deliveryDateStart: '',
  663. deliveryDateEnd: '',
  664. weight: '13',
  665. selectedOptions: [],
  666. selectedOptions1: [],
  667. sendPrivate: '',
  668. sendCity: '',
  669. sendArea: '',
  670. receivePrivate: '',
  671. receiveCity: '',
  672. receiveArea: '',
  673. sendDetailedAddress: '',
  674. receiveDetailedAddress: '',
  675. sender: '',
  676. receiver: '',
  677. senderPhone: '',
  678. receiverPhone: '',
  679. },
  680. ],
  681. }
  682. this.$router.push({ path: 'tranManagementTransport' })
  683. })
  684. } else {
  685. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  686. return false
  687. }
  688. })
  689. },
  690. resetForm(deptBudgetList) {
  691. this.$refs[deptBudgetList].resetFields()
  692. },
  693. },
  694. }
  695. </script>
  696. <style lang="scss" scoped>
  697. .position {
  698. position: relative;
  699. border: 1px solid #5473e8;
  700. border-radius: 4px;
  701. margin-top: 20px;
  702. background: #f6f7fc;
  703. border-left: 5px solid #5473e8;
  704. }
  705. /deep/.position .ws-info-table .el-form-item {
  706. width: 25%;
  707. height: 50px;
  708. }
  709. /deep/.position .el-select {
  710. width: 100%;
  711. }
  712. /deep/.position .ws-info-table .el-form-item .el-form-item__label,
  713. /deep/.position .ws-info-table .el-form-item .el-form-item__content {
  714. background: #f6f7fc;
  715. font-size: 14px;
  716. color: #8890b1;
  717. }
  718. .del,
  719. .add {
  720. cursor: pointer;
  721. margin-left: 10px;
  722. }
  723. .el-checkbox-group {
  724. font-size: 0;
  725. float: right;
  726. margin-left: 25px;
  727. }
  728. .check-box {
  729. float: left;
  730. font-size: 14px;
  731. color: #8890B1;
  732. }
  733. .el-checkbox__label{
  734. color: #8890B1;
  735. }
  736. .el-form {
  737. padding: 0 10%;
  738. }
  739. .ws-info-table {
  740. border: none;
  741. }
  742. /deep/.ws-info-table .el-form-item {
  743. border-right: 1px solid #cdd2dc;
  744. border-bottom: 1px solid #cdd2dc;
  745. }
  746. .readonly {
  747. position: relative;
  748. }
  749. .title {
  750. position: relative;
  751. }
  752. .title::before {
  753. content: '';
  754. display: inline-block;
  755. width: 5px;
  756. height: 30px;
  757. background: #5473e8;
  758. position: absolute;
  759. left: 0;
  760. }
  761. //去边框
  762. /deep/.el-form-item {
  763. border-right: 0px;
  764. border-bottom: 0px;
  765. }
  766. .el-form {
  767. margin-top: 50px;
  768. }
  769. .el-col {
  770. background: #f6f7fc;
  771. }
  772. .bg-left {
  773. padding-left: 30px;
  774. }
  775. .bg-right {
  776. padding-right: 10px;
  777. text-align: right;
  778. }
  779. .bg-bottom {
  780. margin: 15px 0px;
  781. }
  782. .el-radio,
  783. .el-radio__input {
  784. margin-top: 11px;
  785. margin-left: 11px;
  786. width: 93px;
  787. }
  788. .driver {
  789. margin-top: 10px;
  790. font-weight: bold;
  791. margin-left: 20px;
  792. color: #5473E8;
  793. font-size: 16px;
  794. }
  795. /deep/.nei {
  796. .ws-info-table {
  797. border: none;
  798. }
  799. .el-form-item {
  800. width: 33.3333%;
  801. border: none;
  802. .el-form-item__label {
  803. background: transparent;
  804. border: none;
  805. }
  806. .el-form-item__content {
  807. border: none;
  808. }
  809. }
  810. }
  811. //输入框标题
  812. /deep/.ws-info-table .el-form-item .el-form-item__label {
  813. background: #ffffff;
  814. width: min-content;
  815. font-size: 14px;
  816. color: #8890b1;
  817. }
  818. //表单子项
  819. /deep/.ws-info-table .el-form-item {
  820. width: 20%;
  821. border: none;
  822. height: 50px;
  823. }
  824. //输入框
  825. /deep/.ws-info-table .el-form-item .el-form-item__content {
  826. border: none;
  827. font-size: 14px;
  828. color: #8890b1;
  829. }
  830. /deep/ .el-input--small .el-input__inner {
  831. font-size: 14px;
  832. color: #8890b1;
  833. }
  834. .el-form-item.start-address.el-form-item--small {
  835. width: 31.9%;
  836. }
  837. .el-cascader {
  838. width: 100%;
  839. }
  840. </style>