tranManagementTransportAdd.vue 22 KB

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