tranManagementTransportEdit.vue 21 KB

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