tranManagementShippingArrangemen.vue 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  1. // 船次管理
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="20">
  6. <h2 class="bg-left title">船次管理</h2>
  7. </el-col>
  8. <el-col :span="4" class="bg-right">
  9. <el-button class="bg-bottom" type="primary" size="small" @click="revert()">
  10. <img
  11. width="6"
  12. height="10"
  13. style="vertical-align: bottom; margin-right: 3px"
  14. src="../../../public/img/lujing.png"
  15. alt
  16. />返回
  17. </el-button>
  18. </el-col>
  19. </el-row>
  20. <div class="center">
  21. <ws-form ref="deptBudgetList" :model="deptBudgetList" :rules="rules" class="position">
  22. <div class="basicInformation">
  23. <div class="small-title">任务详情</div>
  24. <ws-info-table>
  25. <ws-form-item label="任务编号" span="1" prop="processNo">{{deptBudgetList.processNo}}</ws-form-item>
  26. <ws-form-item label="货名" span="1" prop="goodsName">{{deptBudgetList.goodsName}}</ws-form-item>
  27. <ws-form-item label="重量(吨)" span="1" prop="weight">{{deptBudgetList.weight}}</ws-form-item>
  28. <ws-form-item
  29. label="发货地址"
  30. span="1"
  31. prop="sendDetailedAddress"
  32. >{{deptBudgetList.sendDetailedAddress}}</ws-form-item>
  33. <ws-form-item label="发货人" span="1" prop="sender">{{deptBudgetList.sender}}</ws-form-item>
  34. <ws-form-item label="发货人电话" span="1" prop="senderPhone">{{deptBudgetList.senderPhone}}</ws-form-item>
  35. <ws-form-item
  36. label="收货地址"
  37. span="1"
  38. prop="receiveDetailedAddress"
  39. >{{deptBudgetList.receiveDetailedAddress}}</ws-form-item>
  40. <ws-form-item label="收货人" span="1" prop="receiver">{{deptBudgetList.receiver}}</ws-form-item>
  41. <ws-form-item
  42. label="收货人电话"
  43. span="1"
  44. prop="receiverPhone"
  45. >{{deptBudgetList.receiverPhone}}</ws-form-item>
  46. <ws-form-item
  47. label="发货日期"
  48. span="1"
  49. prop="deliveryDateStart"
  50. >{{deptBudgetList.deliveryDateStart}}</ws-form-item>
  51. <ws-form-item
  52. label="最晚到货日期"
  53. span="1"
  54. prop="deliveryDateEnd"
  55. >{{deptBudgetList.deliveryDateEnd}}</ws-form-item>
  56. <ws-form-item label="合同编号" span="1" prop="contractNo">{{deptBudgetList.contractNo}}</ws-form-item>
  57. </ws-info-table>
  58. <div class="small-title">联络员及航次</div>
  59. <div
  60. class="position siji"
  61. v-for="(item, index) in deptBudgetList.tranCarInfoList"
  62. :key="index"
  63. >
  64. <div class="zhong">
  65. <ws-form-item label="姓名" span="1" prop="driver" >
  66. <el-select
  67. v-model="item.driver"
  68. placeholder="请选择姓名"
  69. filterable
  70. :filter-method="dataFilter"
  71. @change="selectstaff"
  72. size="small"
  73. >
  74. <el-option
  75. v-for="item in options"
  76. :key="item.value"
  77. :label="item.staffName"
  78. :value="item.staffName"
  79. />
  80. </el-select>
  81. </ws-form-item>
  82. <ws-form-item label="电话" span="1" prop="driverPhone" class="biao">
  83. <ws-input
  84. :readonly="true"
  85. v-model="item.driverPhone"
  86. placeholder="请输入电话"
  87. maxlength="20"
  88. size="small"
  89. class="ys"
  90. />
  91. </ws-form-item>
  92. <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="biao2">
  93. <ws-date-picker
  94. v-model="item.sendDateStart"
  95. type="date"
  96. placeholder="请选择发货日期"
  97. value-format="yyyy-MM-dd"
  98. class="small"
  99. />
  100. </ws-form-item>
  101. <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="biao3">
  102. <ws-date-picker
  103. v-model="item.receiveDateEnd"
  104. type="date"
  105. placeholder="请选择发货日期"
  106. value-format="yyyy-MM-dd"
  107. class="small"
  108. />
  109. </ws-form-item>
  110. <ws-form-item label="航次" span="1" prop="shipNo" class="biao4">
  111. <ws-input v-model="item.shipNo" placeholder="请选择航次" maxlength="100" size="small" class="ys"></ws-input>
  112. </ws-form-item>
  113. <ws-form-item label="船名" span="1" prop="shipName" class="">
  114. <ws-input
  115. v-model="item.shipName"
  116. placeholder="请输入船名"
  117. maxlength="100"
  118. size="small"
  119. class="ys"
  120. ></ws-input>
  121. </ws-form-item>
  122. <ws-form-item label="类型" span="1" prop="shipType" class="biao5">
  123. <ws-select v-model="item.shipType" placeholder="请输入" class="ys">
  124. <ws-option
  125. v-for="items in shipType"
  126. :key="items.constKey"
  127. :label="items.constValue"
  128. :value="items.constValue"
  129. />
  130. </ws-select>
  131. </ws-form-item>
  132. <ws-form-item
  133. label="数量"
  134. span="1"
  135. prop="boxNumber"
  136. class="biao6"
  137. v-show="item.shipType=='集装箱'"
  138. >
  139. <ws-input v-model="item.boxNumber" placeholder="请输入数量" class="ys"></ws-input>
  140. </ws-form-item>
  141. </ws-info-table>
  142. </div>
  143. <div
  144. style=" width: 536px;"
  145. class="xia"
  146. v-for="(items, index) in freightspace"
  147. v-show="item.shipType=='散船'"
  148. :key="index"
  149. >
  150. <ws-info-table>
  151. <ws-form-item :label="'仓位号-'+ (index +1 )" span="1" prop="impurity" class="bot" >
  152. <el-input v-model="items.impurity"></el-input>
  153. </ws-form-item>
  154. <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot" >
  155. <el-input v-model="items.positionWeight"></el-input>
  156. </ws-form-item>
  157. <span
  158. width="22"
  159. height="22"
  160. class="del"
  161. @click="del(index)"
  162. src="../../../public/img/del.png"
  163. alt
  164. >x</span>
  165. </ws-info-table>
  166. </div>
  167. <div>
  168. <el-button
  169. class="add bg-bottom"
  170. type="primary"
  171. size="small"
  172. @click="add"
  173. v-show="item.shipType=='散船'"
  174. >
  175. <img width="22" height="22" @click="add" src="../../../public/img/add.png" alt />
  176. <div class="spans">添加仓位</div>
  177. </el-button>
  178. </div>
  179. </div>
  180. </div>
  181. </ws-form>
  182. <div style="text-align: right; padding: 10px">
  183. <el-button class="bg-bottom-up" type="primary" size="small" @click="submit()">提交</el-button>
  184. </div>
  185. </div>
  186. </div>
  187. </template>
  188. <script>
  189. import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
  190. import { shippingLook, packList, dispatchCat } from '@/model/transport/index'
  191. import { getstaff } from '@/model/warehouse/index'
  192. import Pagination from '@/components/Pagination'
  193. import WsUpload from '@/components/WsUpload'
  194. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  195. import { dayjs, EventBus } from 'base-core-lib'
  196. export default {
  197. name: 'viewSpareMoney',
  198. components: {
  199. WsUpload,
  200. Pagination
  201. },
  202. watch: {
  203. vesselId(val) {
  204. this.getList()
  205. },
  206. isShow(val) {
  207. this.showType = val
  208. }
  209. },
  210. data() {
  211. return {
  212. //弹出框
  213. dialogViewSpareMoney: false,
  214. dialogApproveFormVisible: false,
  215. // 船舶类型
  216. monetaryKey: null,
  217. // 表格显示数据
  218. tableDate: [],
  219. // 是否显示
  220. showType: true,
  221. // 年
  222. year: '',
  223. item: [],
  224. shipType: [],
  225. tranType: 3,
  226. deptBudgetTotal: 0,
  227. currentPage: 1,
  228. pageSize: 10,
  229. searchType: 1,
  230. searchKeyWord: '',
  231. contractType: 2,
  232. startDate: null,
  233. endDate: null,
  234. goodnameList: {},
  235. // 提交类型
  236. submitType: true,
  237. storageType: [],
  238. readonly: true,
  239. appendixIdsAdd: '',
  240. uploadSuccess: {},
  241. onChange: {},
  242. selectedOptions: [],
  243. options: [],
  244. tranCarInfoList: {},
  245. staffList: [],
  246. gradeList: [],
  247. rules: {
  248. netWeight: [
  249. {
  250. required: true,
  251. type: 'number',
  252. message: '请输入活动名称',
  253. trigger: 'blur'
  254. }
  255. ]
  256. },
  257. arr: [],
  258. freightspace: [
  259. // {
  260. // impurity:'',
  261. // },
  262. ],
  263. size: 10,
  264. compId: sessionStorage.getItem('ws-pf_compId'),
  265. deptCircularPage: {},
  266. packtypeList: {},
  267. date: {
  268. year: dayjs().format('YYYY'),
  269. month: dayjs().format('MM')
  270. },
  271. contractList: [],
  272. deptBudgetList: {
  273. warehouseInOutDetail: {}
  274. },
  275. historyList: [],
  276. pickerBeginDateBefore: {
  277. disabledDate: time => {
  278. return time.getTime() > Date.now()
  279. }
  280. },
  281. accessoryTFs: false
  282. }
  283. },
  284. mounted() {
  285. this.getList()
  286. },
  287. activated() {
  288. this.loaddata()
  289. this.getList()
  290. },
  291. computed: {
  292. totalStorage: function() {
  293. var maxStorage = 0
  294. for (var i = 0; i < this.freightspace.length; i++) {
  295. maxStorage += Number(this.freightspace[i].maxStorage)
  296. }
  297. return maxStorage
  298. }
  299. },
  300. methods: {
  301. getList() {
  302. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  303. .toPromise()
  304. .then(response => {
  305. this.options = response
  306. this.staffList = response
  307. })
  308. //类型
  309. packList({ constId: 'TRAN4' })
  310. .toPromise()
  311. .then(response => {
  312. this.shipType = response
  313. })
  314. },
  315. dataFilter(val) {
  316. this.deptBudgetList.personCharge = val
  317. if (val) {
  318. console.log(val)
  319. this.options = this.staffList.filter(item => {
  320. if (
  321. !!~item.staffName.indexOf(val) ||
  322. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  323. ) {
  324. return true
  325. }
  326. })
  327. } else {
  328. this.options = this.staffList
  329. }
  330. },
  331. selectstaff(e) {
  332. for (var i = 0; i < this.staffList.length; i++) {
  333. if (this.staffList[i].staffName == e) {
  334. this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
  335. this.deptBudgetList.tranCarInfoList[0].driverPhone = this.staffList[
  336. i
  337. ].staffMobilePhone
  338. this.deptBudgetList.personChargeKey = this.staffList[i].staffId
  339. }
  340. }
  341. },
  342. loaddata() {
  343. shippingLook({ id: this.$route.query.id })
  344. .toPromise()
  345. .then(response => {
  346. this.deptBudgetList = response
  347. // for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  348. // var num = this.deptBudgetList.tranCarInfoList[
  349. // i
  350. // ].positionWeight.split(',')
  351. // for (var j = 0; j < num.length; j++) {
  352. // var num2 = num[j].split('/')
  353. // this.freightspace.push({
  354. // impurity: num2[i],
  355. // positionWeight: num2[num2.length - 1]
  356. // })
  357. // }
  358. // }
  359. if(response.tranCarInfoList.length>0) {
  360. if(response.tranCarInfoList[i].positionWeight) {
  361. this.list = response.tranCarInfoList[0].positionWeight.splice(',')
  362. for(var i = 0;i<this.list.length;i++) {
  363. var num = this.list[i]
  364. this.freightspace.push({
  365. trandriver:num,
  366. })
  367. }
  368. }
  369. }else{
  370. this.deptBudgetList.tranCarInfoList = [
  371. {
  372. driver:'',
  373. driverPhone:'',
  374. sendDateStart:'',
  375. receiveDateEnd: '',
  376. shipNo:'',
  377. shipName:'',
  378. shipType:'',
  379. boxNumber:'',
  380. positionWeight:'',
  381. }
  382. ]
  383. }
  384. })
  385. },
  386. //返回按钮
  387. revert() {
  388. this.freightspace = []
  389. this.$router.go(-1)
  390. },
  391. del(index) {
  392. if (this.freightspace.length > 1) {
  393. this.freightspace.splice(index, 1)
  394. }
  395. },
  396. add() {
  397. this.freightspace.push({
  398. impurity: ''
  399. })
  400. },
  401. selectdriver() {},
  402. handleChange(value) {
  403. this.selectedOptions = value
  404. },
  405. returnsales() {
  406. this.deptBudgetList = {}
  407. this.freightspace = {}
  408. this.selectedOptions = ''
  409. this.$router.push({ path: 'tranManagementShipping' })
  410. },
  411. //提交按钮
  412. submit() {
  413. for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  414. if (!this.deptBudgetList.tranCarInfoList[i].driver) {
  415. this.$message({
  416. message: '名字不为空',
  417. type: 'warning'
  418. })
  419. return
  420. }
  421. if (!this.deptBudgetList.tranCarInfoList[i].driverPhone) {
  422. this.$message({
  423. message: '电话号不为空',
  424. type: 'warning'
  425. })
  426. return
  427. }
  428. if (!this.deptBudgetList.tranCarInfoList[i].sendDateStart) {
  429. this.$message({
  430. message: '发船时间不能为空',
  431. type: 'warning'
  432. })
  433. return
  434. }
  435. if (!this.deptBudgetList.tranCarInfoList[i].receiveDateEnd) {
  436. this.$message({
  437. message: '预计到港时间不能为空',
  438. type: 'warning'
  439. })
  440. return
  441. }
  442. if (!this.deptBudgetList.tranCarInfoList[i].shipName) {
  443. this.$message({
  444. message: '船名不能为空',
  445. type: 'warning'
  446. })
  447. return
  448. }
  449. if (!this.deptBudgetList.tranCarInfoList[i].shipNo) {
  450. this.$message({
  451. message: '航次不能为空',
  452. type: 'warning'
  453. })
  454. return
  455. }
  456. if (!this.deptBudgetList.tranCarInfoList[i].boxNumber) {
  457. this.$message({
  458. message: '数量不能为空',
  459. type: 'warning'
  460. })
  461. return
  462. }
  463. if (!this.deptBudgetList.tranCarInfoList[i].shipType) {
  464. this.$message({
  465. message: '类型不能为空',
  466. type: 'warning'
  467. })
  468. return
  469. }
  470. if (!this.deptBudgetList.tranCarInfoList[i].impurity) {
  471. this.$message({
  472. message: '仓位号不能为空',
  473. type: 'warning'
  474. })
  475. }
  476. if (!this.deptBudgetList.tranCarInfoList[i].positionWeight) {
  477. this.$message({
  478. message: '重量不能为空',
  479. type: 'warning'
  480. })
  481. }
  482. if (
  483. new Date(
  484. this.deptBudgetList.tranCarInfoList[i].sendDateStart
  485. ).getTime() >
  486. new Date(
  487. this.deptBudgetList.tranCarInfoList[i].receiveDateEnd
  488. ).getTime()
  489. ) {
  490. this.$message({
  491. message: '发船时间不能大于最晚到到港时间!',
  492. type: 'warning'
  493. })
  494. return
  495. }
  496. }
  497. this.$confirm(`提交成功后,任务将下发给相关人员,是否确定提交?`, {
  498. cancelButtonText: '取消',
  499. confirmButtonText: '确定',
  500. type: 'warning'
  501. })
  502. .then(() => {
  503. this.$refs.deptBudgetList.validate(valid => {
  504. if (valid) {
  505. for (var i = 0; i < this.freightspace.length; i++) {
  506. var num =
  507. this.freightspace[i].impurity +
  508. '/' +
  509. this.freightspace[i].positionWeight
  510. this.arr.push(num)
  511. }
  512. this.deptBudgetList.totalStorage = this.totalStorage
  513. this.tranCarInfoList.driver = this.deptBudgetList.tranCarInfoList[0].trandriver
  514. this.tranCarInfoList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
  515. this.tranCarInfoList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
  516. this.tranCarInfoList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
  517. this.tranCarInfoList.shipName = this.deptBudgetList.tranCarInfoList[0].shipName
  518. this.tranCarInfoList.shipNo = this.deptBudgetList.tranCarInfoList[0].shipNo
  519. this.tranCarInfoList.id = this.deptBudgetList.tranCarInfoList[0].id
  520. this.tranCarInfoList.tranType = this.deptBudgetList.tranCarInfoList[0].tranType
  521. this.tranCarInfoList.boxNumber = this.deptBudgetList.tranCarInfoList[0].boxNumber
  522. this.tranCarInfoList.shipType = this.deptBudgetList.tranCarInfoList[0].shipType
  523. this.tranCarInfoList.positionWeight = this.arr.toString()
  524. var tranCarInfo = {}
  525. var tranList = [this.tranCarInfoList]
  526. tranCarInfo.id = this.deptBudgetList.id
  527. tranCarInfo.infoId = this.deptBudgetList.infoId
  528. tranCarInfo.tranCarInfoList = tranList
  529. dispatchCat(tranCarInfo)
  530. .toPromise()
  531. .then(response => {
  532. this.$message.success('提交成功')
  533. this.deptBudgetList = {}
  534. this.freightspace = {}
  535. this.selectedOptions = ''
  536. this.$router.go(-1)
  537. })
  538. } else {
  539. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  540. return false
  541. }
  542. })
  543. })
  544. .catch(() => {
  545. return false
  546. })
  547. },
  548. handleClose() {
  549. this.accessoryTFs = false
  550. },
  551. handleSizeChange(val) {
  552. console.log(`每页 ${val} 条`)
  553. this.pageSize = val
  554. this.getList()
  555. },
  556. handleCurrentChange(val) {
  557. this.currentPage = val
  558. console.log(`当前页: ${val}`)
  559. this.getList()
  560. },
  561. selecttaskType(e) {
  562. for (var i = 0; i < this.taskTypeList.length; i++) {
  563. if (this.taskTypeList[i].value == e) {
  564. this.searchType = this.taskTypeList[i].type
  565. }
  566. }
  567. }
  568. // approve() {},
  569. // listQuery() {}
  570. }
  571. }
  572. </script>
  573. <style lang="scss" scoped>
  574. .position {
  575. position: relative;
  576. }
  577. .el-button--primary {
  578. background-color: #5878e8;
  579. border-color: #5878e8;
  580. }
  581. .el-col {
  582. background: #f6f7fc;
  583. }
  584. .bg-right {
  585. text-align: right;
  586. padding: 16px 20px;
  587. }
  588. .center {
  589. width: 90%;
  590. margin: 0 auto;
  591. }
  592. //表格文字
  593. /deep/.ws-info-table .el-form-item .el-form-item__label {
  594. text-align: left;
  595. font-size: 14px;
  596. font-weight: 400;
  597. color: #8890b1;
  598. line-height: 16px;
  599. }
  600. //蓝标
  601. .small-title {
  602. position: relative;
  603. padding: 10px;
  604. font-weight: 600;
  605. margin-left: 27px;
  606. }
  607. .position .zaizhong {
  608. width: 16%;
  609. }
  610. .bot {
  611. width: 30%;
  612. }
  613. //去边框
  614. /deep/.el-form-item {
  615. border-right: 0px;
  616. border-bottom: 0px;
  617. }
  618. /deep/.ws-info-table {
  619. border-left: 0px;
  620. border-top: 0px;
  621. }
  622. .ws-info-table .el-form-item .el-form-item__content {
  623. border-right: 0px;
  624. border-bottom: 0px;
  625. border-left: 0px;
  626. border-top: 0px;
  627. }
  628. /deep/.ws-info-table .el-form-item {
  629. border-right: 0px;
  630. border-bottom: 0px;
  631. border-left: 0px;
  632. border-top: 0px;
  633. }
  634. /deep/.ws-info-table .el-form-item .el-form-item__content {
  635. background: #f5f7fa;
  636. border-radius: 4px;
  637. font-family: PingFangSC-Regular, PingFang SC;
  638. margin-bottom: 5px;
  639. // background-color: #fff;
  640. font-size: 14px;
  641. font-weight: 400;
  642. color: #8890b1;
  643. line-height: 16px;
  644. }
  645. /deep/.ws-info-table .el-form-item .el-form-item__label {
  646. background-color: #fff;
  647. font-size: 14px;
  648. font-family: PingFangSC-Regular, PingFang SC;
  649. font-weight: 400;
  650. color: #8890b1;
  651. line-height: 16px;
  652. }
  653. .position {
  654. width: 90%;
  655. }
  656. //下表格样式
  657. .position.siji {
  658. background: white;
  659. border-radius: 4px;
  660. /* border: 1px solid #d8dce6; */
  661. width: 1219px;
  662. }
  663. /deep/.zi {
  664. width: 64px;
  665. height: 22px;
  666. font-size: 16px;
  667. font-family: PingFangSC-Semibold, PingFang SC;
  668. font-weight: 600;
  669. color: #323233;
  670. line-height: 22px;
  671. }
  672. //表格文字
  673. /deep/.ws-info-table .el-form-item .el-form-item__label {
  674. text-align: left;
  675. font-size: 14px;
  676. font-weight: 400;
  677. color: #8890b1;
  678. line-height: 16px;
  679. }
  680. //小标题文字
  681. .small-title::before {
  682. position: absolute;
  683. content: '';
  684. display: block;
  685. background: #5473e8;
  686. width: 4px;
  687. height: 14px;
  688. left: 0px;
  689. top: 13px;
  690. padding: 4px 2px;
  691. }
  692. /deep/.basicInformation {
  693. .el-form-item {
  694. width: 25%;
  695. .el-form-item__label {
  696. background: transparent;
  697. border: none;
  698. }
  699. .el-form-item__content {
  700. // border: none;
  701. }
  702. }
  703. }
  704. //添加仓位样式
  705. .add {
  706. width: 100px;
  707. height: 34px;
  708. background: #f6f7fb;
  709. border-radius: 17px;
  710. color: #5473e8;
  711. font-size: 14px;
  712. border: none;
  713. margin-top: 8px;
  714. }
  715. .add img {
  716. display: inline-block;
  717. margin-top: 3px;
  718. margin-left: -12px;
  719. }
  720. .add .spans {
  721. display: table-caption;
  722. width: 56px;
  723. height: 20px;
  724. line-height: 18px;
  725. }
  726. /deep/.xia {
  727. width: 715px;
  728. height: 54px;
  729. border-radius: 4px;
  730. border: 1px solid #d8dce6;
  731. margin-top: 10px;
  732. background: #f6f7fc;
  733. border-radius: 4px;
  734. margin-left: 24px;
  735. }
  736. .basicInformation .ws-info-table {
  737. border: none;
  738. width: 1000px;
  739. }
  740. /deep/.el-select .el-input__inner {
  741. border: 1px solid #ccc !important;
  742. padding: 0 15px !important;
  743. font-size: 12px !important;
  744. width: 150px;
  745. }
  746. .zhong {
  747. height: 111px;
  748. background: #F6F7FC;
  749. border-radius: 4px;
  750. border: 1px solid #D8DCE6;
  751. width: 99%;
  752. margin: 0 2%;
  753. // margin-left: -76px;
  754. }
  755. .bg-left {
  756. padding-left: 30px;
  757. }
  758. /deep/.el-icon-arrow-up:before {
  759. margin-left: 171px;
  760. // display: none;
  761. }
  762. /deep/.el-input--prefix .el-input__inner {
  763. padding-left: 30px;
  764. width: 150px;
  765. }
  766. .basicInformation .ws-info-table {
  767. border: none;
  768. width: 141%;
  769. margin: 0 auto;
  770. // margin-left: -89px;
  771. }
  772. .ys{
  773. // margin-left: 300px;
  774. width: 100px;
  775. }
  776. .biao{
  777. margin-left: 240px;
  778. margin-top: -57px;
  779. }
  780. .biao2{
  781. margin-left: 441px;
  782. margin-top: -57px;
  783. }
  784. .biao3{
  785. margin-left: 722px;
  786. margin-top: -57px;
  787. }
  788. .biao4{
  789. margin-left: 1033px;
  790. margin-top: -57px;
  791. }
  792. .biao5{
  793. margin-left: 200px;
  794. margin-top: -57px;
  795. }
  796. .biao6{
  797. margin-left: 450px;
  798. margin-top: -57px;
  799. }
  800. /deep/.totalStorage .el-input__inner {
  801. color: #afb5cb;
  802. background: #f5f7fa;
  803. }
  804. .small-title {
  805. position: relative;
  806. padding: 10px;
  807. font-weight: 600;
  808. }
  809. .small-title::before {
  810. position: absolute;
  811. content: '';
  812. display: block;
  813. background: #5473e8;
  814. width: 4px;
  815. height: 14px;
  816. left: 0px;
  817. top: 13px;
  818. }
  819. .position {
  820. position: relative;
  821. }
  822. .del {
  823. // position: absolute;
  824. // right: -38px;
  825. top: 9px;
  826. cursor: pointer;
  827. right: 0;
  828. display: inline-block;
  829. font-size: 20px;
  830. width: 16px;
  831. height: 10px;
  832. line-height: 0px;
  833. margin-top: 10px;
  834. margin-left: 17px;
  835. }
  836. .amap-page-container {
  837. width: 300px;
  838. height: 300px;
  839. }
  840. .el-form {
  841. padding: 0 15%;
  842. }
  843. /deep/.ws-info-table .el-form-item {
  844. border-right: 1px solid transparent;
  845. border-bottom: 1px solid transparent;
  846. }
  847. .readonly {
  848. position: relative;
  849. }
  850. .readonly:after {
  851. content: '*';
  852. color: #ff2727;
  853. position: absolute;
  854. right: 8px;
  855. z-index: 10;
  856. top: 21%;
  857. font-size: 20px;
  858. }
  859. .title {
  860. position: relative;
  861. }
  862. .title::before {
  863. content: '';
  864. display: inline-block;
  865. width: 5px;
  866. height: 30px;
  867. background: #5473e8;
  868. position: absolute;
  869. left: 0;
  870. }
  871. .el-button--primary {
  872. background-color: #5878e8;
  873. border-color: #5878e8;
  874. }
  875. .el-col {
  876. background: #f6f7fc;
  877. }
  878. /deep/.ws-info-table .el-form-item .el-form-item__content {
  879. padding: 0 25px;
  880. border-left: 1px solid transparent;
  881. background: #fff;
  882. }
  883. /deep/.ws-info-table .el-form-item .el-form-item__label {
  884. width: 100px;
  885. text-align: center;
  886. background: #fff;
  887. // border: 1px solid #cdd2dc;
  888. }
  889. .button-container {
  890. display: flex;
  891. flex-wrap: nowrap;
  892. justify-content: space-between;
  893. align-items: center;
  894. background-color: #fff;
  895. width: 100%;
  896. height: 50px;
  897. padding: 0 10px;
  898. & > div {
  899. margin-left: 10px;
  900. display: flex;
  901. flex-wrap: nowrap;
  902. flex-direction: row;
  903. & > span {
  904. line-height: 50px;
  905. }
  906. }
  907. /deep/.auditFlow-box {
  908. position: unset;
  909. margin-left: 10px;
  910. &/deep/.auditFlow-icon {
  911. width: auto;
  912. padding-right: 30px;
  913. }
  914. &/deep/.auditFlow-main {
  915. position: absolute;
  916. }
  917. }
  918. }
  919. .box-app {
  920. display: inline-block;
  921. float: left;
  922. margin-left: 30px;
  923. line-height: 50px;
  924. }
  925. /deep/.el-dialog {
  926. .el-form-item {
  927. margin-bottom: 0 !important;
  928. .el-input--medium {
  929. textarea {
  930. min-height: 100px !important;
  931. }
  932. }
  933. }
  934. }
  935. .collapse-bottom {
  936. margin-bottom: 20px;
  937. }
  938. .input-main .textarea .el-textarea__inner {
  939. width: 100%;
  940. z-index: 1;
  941. }
  942. .bg-left {
  943. padding-left: 30px;
  944. }
  945. .bg-right {
  946. padding-right: 10px;
  947. text-align: right;
  948. }
  949. .center {
  950. width: 86%;
  951. margin: 0 auto;
  952. // margin: 0 -29%;
  953. }
  954. .el-form-item {
  955. width: 50%;
  956. }
  957. .el-form-item__label {
  958. text-align: center;
  959. }
  960. .hide-sel {
  961. .el-input__inner {
  962. border: 0px;
  963. }
  964. .el-icon-arrow-up {
  965. display: none;
  966. }
  967. .el-textarea__inner {
  968. background-color: #fff !important;
  969. border: 0;
  970. }
  971. .el-date-editor {
  972. i {
  973. display: none;
  974. }
  975. }
  976. .is-disabled {
  977. .el-input__inner:hover {
  978. background-color: #fff !important;
  979. border: 0;
  980. }
  981. color: #606266;
  982. .el-input__inner {
  983. background-color: #fff !important;
  984. border: 0;
  985. color: #606266;
  986. }
  987. .el-textarea__inner {
  988. background-color: #fff !important;
  989. border: 0;
  990. color: #606266;
  991. }
  992. }
  993. }
  994. // 控制select为只读的时候显示样式
  995. /deep/.ws-class-table-col {
  996. height: auto;
  997. padding: 0px 2px;
  998. /deep/.el-input__inner {
  999. padding: 0px 2px;
  1000. }
  1001. }
  1002. /deep/.is-disabled {
  1003. .el-input__prefix,
  1004. .el-input__suffix {
  1005. display: none;
  1006. }
  1007. .el-input__inner {
  1008. background-color: #fff;
  1009. border-color: #fff !important;
  1010. color: #000 !important;
  1011. font-size: 14px;
  1012. cursor: text;
  1013. padding: 0 !important;
  1014. }
  1015. }
  1016. .winseaview-view {
  1017. padding: 0 0 20px;
  1018. }
  1019. .container {
  1020. overflow: scroll;
  1021. height: 93vh;
  1022. }
  1023. .ws-info-table .el-form-item {
  1024. width: 33.3333%;
  1025. }
  1026. .readonly:after {
  1027. display: none;
  1028. }
  1029. .el-textarea__inner {
  1030. display: none;
  1031. }
  1032. .el-form {
  1033. margin-top: 50px;
  1034. }
  1035. .readonly {
  1036. width: 16%;
  1037. }
  1038. //去边框
  1039. /deep/.el-form-item {
  1040. border-right: 0px;
  1041. border-bottom: 0px;
  1042. }
  1043. /deep/.ws-info-table {
  1044. border-left: 0px;
  1045. border-top: 0px;
  1046. }
  1047. /deep/.ws-info-table .el-form-item {
  1048. border: none;
  1049. height: 50px;
  1050. // margin: 0 auto;
  1051. }
  1052. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1053. background: #f5f7fa;
  1054. border-radius: 4px;
  1055. border: 1px solid #d8dce6;
  1056. font-family: PingFangSC-Regular, PingFang SC;
  1057. margin-bottom: 5px;
  1058. background-color: #fff;
  1059. font-size: 14px;
  1060. font-weight: 400;
  1061. color: #8890b1;
  1062. line-height: 16px;
  1063. }
  1064. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1065. background-color: #fff;
  1066. font-size: 14px;
  1067. font-weight: 400;
  1068. color: #8890b1;
  1069. line-height: 16px;
  1070. }
  1071. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1072. background: #f5f7fa;
  1073. border-radius: 4px;
  1074. border: 1px solid #d8dce6;
  1075. }
  1076. /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
  1077. border: 0px;
  1078. }
  1079. .add {
  1080. width: 100px;
  1081. height: 34px;
  1082. background: #f6f7fb;
  1083. border-radius: 17px;
  1084. color: #5473e8;
  1085. font-size: 14px;
  1086. border: none;
  1087. margin-left: 17px;
  1088. // margin-left: -79px;
  1089. }
  1090. .add img {
  1091. display: inline-block;
  1092. margin-top: 3px;
  1093. margin-left: -12px;
  1094. }
  1095. .add .spans {
  1096. display: table-caption;
  1097. width: 56px;
  1098. height: 20px;
  1099. line-height: 18px;
  1100. }
  1101. /deep/.carnum {
  1102. display: contents;
  1103. }
  1104. /deep/.carnum .ws-info-table .el-form-item {
  1105. width: 20%;
  1106. }
  1107. // /deep/.liaison .carnum .ws-info-table .el-form-item {
  1108. // border-radius: 10px;
  1109. // right: 20px;
  1110. // }
  1111. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1112. /* background-color: #fff; */
  1113. font-size: 14px;
  1114. font-weight: 400;
  1115. color: #8890b1;
  1116. line-height: 16px;
  1117. background: border-box;
  1118. }
  1119. /deep/.ws-info-table .el-form-item .el-form-item__content {
  1120. background: #f5f7fa;
  1121. border-radius: 4px;
  1122. /* border: 1px solid #d8dce6; */
  1123. border: none;
  1124. }
  1125. /deep/.basicInformation .el-form-item .el-form-item__label {
  1126. background: transparent;
  1127. border: none;
  1128. font-size: 14px;
  1129. font-family: PingFangSC-Regular, PingFang SC;
  1130. font-weight: 400;
  1131. color: #8890B1;
  1132. line-height: 16px;
  1133. margin-left: 22px;
  1134. }
  1135. </style>