tranManagementTransportAdd.vue 25 KB

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