tranManagementShippingArrangemen.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  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" class="ys">
  66. <el-select
  67. v-model="item.driver"
  68. placeholder="请选择姓名"
  69. filterable
  70. :filter-method="dataFilter"
  71. @change="selectstaff"
  72. class="ys"
  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="zz">
  83. <ws-input
  84. :readonly="true"
  85. v-model="item.driverPhone"
  86. placeholder="请输入电话"
  87. maxlength="20"
  88. size="small"
  89. />
  90. </ws-form-item>
  91. <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="">
  92. <ws-date-picker
  93. v-model="item.sendDateStart"
  94. type="date"
  95. placeholder="请选择发货日期"
  96. value-format="yyyy-MM-dd"
  97. />
  98. </ws-form-item>
  99. <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="">
  100. <ws-date-picker
  101. v-model="item.receiveDateEnd"
  102. type="date"
  103. placeholder="请选择发货日期"
  104. value-format="yyyy-MM-dd"
  105. />
  106. </ws-form-item>
  107. <ws-form-item label="船名" span="1" prop="shipName" class="">
  108. <ws-input
  109. v-model="item.shipName"
  110. placeholder="请输入船名"
  111. maxlength="100"
  112. size="small"
  113. ></ws-input>
  114. </ws-form-item>
  115. <ws-form-item label="航次" span="1" prop="shipNo" class="">
  116. <ws-input v-model="item.shipNo" placeholder="请选择航次" maxlength="100" size="small"></ws-input>
  117. </ws-form-item>
  118. <ws-form-item label="类型" span="1" prop="shipType" class="">
  119. <ws-select v-model="item.shipType" placeholder="请输入" class="typeselect">
  120. <ws-option
  121. v-for="items in shipType"
  122. :key="items.constKey"
  123. :label="items.constValue"
  124. :value="items.constValue"
  125. />
  126. </ws-select>
  127. </ws-form-item>
  128. <ws-form-item
  129. label="数量"
  130. span="1"
  131. prop="boxNumber"
  132. class="siji"
  133. v-show="item.shipType=='集装箱'"
  134. >
  135. <ws-input v-model="item.boxNumber" placeholder="请输入数量" size="small"></ws-input>
  136. </ws-form-item>
  137. </ws-info-table>
  138. </div>
  139. <div
  140. style="width: 530px"
  141. class="xia"
  142. v-for="(items, index) in freightspace"
  143. v-show="item.shipType=='散船'"
  144. :key="index"
  145. >
  146. <ws-info-table>
  147. <ws-form-item :label="'仓位号-'+ (index +1 )" span="1" prop="impurity" class="bot">
  148. <el-input v-model="items.impurity"></el-input>
  149. </ws-form-item>
  150. <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot">
  151. <el-input v-model="items.positionWeight"></el-input>
  152. </ws-form-item>
  153. <span
  154. width="22"
  155. height="22"
  156. class="del"
  157. @click="del(index)"
  158. src="../../../public/img/del.png"
  159. alt
  160. >X</span>
  161. </ws-info-table>
  162. </div>
  163. <div>
  164. <el-button
  165. class="add bg-bottom"
  166. type="primary"
  167. size="small"
  168. @click="add"
  169. v-show="item.shipType=='散船'"
  170. >
  171. <img width="22" height="22" @click="add" src="../../../public/img/add.png" alt />
  172. <div class="spans">添加仓位</div>
  173. </el-button>
  174. </div>
  175. </div>
  176. </div>
  177. </ws-form>
  178. <div style="text-align: right; padding: 10px">
  179. <el-button class="bg-bottom-up" type="primary" size="small" @click="submit()">提交</el-button>
  180. </div>
  181. </div>
  182. </div>
  183. </template>
  184. <script>
  185. import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
  186. import { shippingLook, packList, dispatchCat } from '@/model/transport/index'
  187. import { getstaff } from '@/model/warehouse/index'
  188. import Pagination from '@/components/Pagination'
  189. import WsUpload from '@/components/WsUpload'
  190. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  191. import { dayjs, EventBus } from 'base-core-lib'
  192. export default {
  193. name: 'viewSpareMoney',
  194. components: {
  195. WsUpload,
  196. Pagination
  197. },
  198. watch: {
  199. vesselId(val) {
  200. this.getList()
  201. },
  202. isShow(val) {
  203. this.showType = val
  204. }
  205. },
  206. data() {
  207. return {
  208. //弹出框
  209. dialogViewSpareMoney: false,
  210. dialogApproveFormVisible: false,
  211. // 船舶类型
  212. monetaryKey: null,
  213. // 表格显示数据
  214. tableDate: [],
  215. // 是否显示
  216. showType: true,
  217. // 年
  218. year: '',
  219. item: [],
  220. shipType: [],
  221. tranType: 3,
  222. deptBudgetTotal: 0,
  223. currentPage: 1,
  224. pageSize: 10,
  225. searchType: 1,
  226. searchKeyWord: '',
  227. contractType: 2,
  228. startDate: null,
  229. endDate: null,
  230. goodnameList: {},
  231. // 提交类型
  232. submitType: true,
  233. storageType: [],
  234. readonly: true,
  235. appendixIdsAdd: '',
  236. uploadSuccess: {},
  237. onChange: {},
  238. selectedOptions: [],
  239. options: [],
  240. tranCarInfoList: {},
  241. staffList: [],
  242. gradeList: [],
  243. rules: {
  244. netWeight: [
  245. {
  246. required: true,
  247. type: 'number',
  248. message: '请输入活动名称',
  249. trigger: 'blur'
  250. }
  251. ]
  252. },
  253. arr: [],
  254. freightspace: [
  255. // {
  256. // impurity:'',
  257. // },
  258. ],
  259. size: 10,
  260. compId: sessionStorage.getItem('ws-pf_compId'),
  261. deptCircularPage: {},
  262. packtypeList: {},
  263. date: {
  264. year: dayjs().format('YYYY'),
  265. month: dayjs().format('MM')
  266. },
  267. contractList: [],
  268. deptBudgetList: {
  269. warehouseInOutDetail: {}
  270. },
  271. historyList: [],
  272. pickerBeginDateBefore: {
  273. disabledDate: time => {
  274. return time.getTime() > Date.now()
  275. }
  276. },
  277. accessoryTFs: false
  278. }
  279. },
  280. mounted() {
  281. this.getList()
  282. },
  283. activated() {
  284. this.loaddata()
  285. },
  286. computed: {
  287. totalStorage: function() {
  288. var maxStorage = 0
  289. for (var i = 0; i < this.freightspace.length; i++) {
  290. maxStorage += Number(this.freightspace[i].maxStorage)
  291. }
  292. return maxStorage
  293. }
  294. },
  295. methods: {
  296. getList() {
  297. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  298. .toPromise()
  299. .then(response => {
  300. this.options = response
  301. this.staffList = response
  302. })
  303. //类型
  304. packList({ constId: 'TRAN4' })
  305. .toPromise()
  306. .then(response => {
  307. this.shipType = response
  308. })
  309. },
  310. dataFilter(val) {
  311. this.deptBudgetList.personCharge = val
  312. if (val) {
  313. console.log(val)
  314. this.options = this.staffList.filter(item => {
  315. if (
  316. !!~item.staffName.indexOf(val) ||
  317. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  318. ) {
  319. return true
  320. }
  321. })
  322. } else {
  323. this.options = this.staffList
  324. }
  325. },
  326. selectstaff(e) {
  327. for (var i = 0; i < this.staffList.length; i++) {
  328. if (this.staffList[i].staffName == e) {
  329. this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
  330. this.deptBudgetList.tranCarInfoList[0].driverPhone = this.staffList[
  331. i
  332. ].staffMobilePhone
  333. this.deptBudgetList.personChargeKey = this.staffList[i].staffId
  334. }
  335. }
  336. },
  337. loaddata() {
  338. shippingLook({ id: this.$route.query.id })
  339. .toPromise()
  340. .then(response => {
  341. this.deptBudgetList = response
  342. // for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  343. // var num = this.deptBudgetList.tranCarInfoList[
  344. // i
  345. // ].positionWeight.split(',')
  346. // for (var j = 0; j < num.length; j++) {
  347. // var num2 = num[j].split('/')
  348. // this.freightspace.push({
  349. // impurity: num2[i],
  350. // positionWeight: num2[num2.length - 1]
  351. // })
  352. // }
  353. // }
  354. })
  355. },
  356. //返回按钮
  357. revert() {
  358. this.freightspace = []
  359. this.$router.go(-1)
  360. },
  361. del(index) {
  362. if (this.freightspace.length > 1) {
  363. this.freightspace.splice(index, 1)
  364. }
  365. },
  366. add() {
  367. this.freightspace.push({
  368. impurity: ''
  369. })
  370. },
  371. selectdriver() {},
  372. handleChange(value) {
  373. this.selectedOptions = value
  374. },
  375. returnsales() {
  376. this.deptBudgetList = {}
  377. this.freightspace = {}
  378. this.selectedOptions = ''
  379. this.$router.push({ path: 'tranManagementShipping' })
  380. },
  381. //提交按钮
  382. submit() {
  383. for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
  384. if (!this.deptBudgetList.tranCarInfoList[i].driver) {
  385. this.$message({
  386. message: '名字不为空',
  387. type: 'warning'
  388. })
  389. return
  390. }
  391. if (!this.deptBudgetList.tranCarInfoList[i].driverPhone) {
  392. this.$message({
  393. message: '电话号不为空',
  394. type: 'warning'
  395. })
  396. return
  397. }
  398. if (!this.deptBudgetList.tranCarInfoList[i].sendDateStart) {
  399. this.$message({
  400. message: '发船时间不能为空',
  401. type: 'warning'
  402. })
  403. return
  404. }
  405. if (!this.deptBudgetList.tranCarInfoList[i].receiveDateEnd) {
  406. this.$message({
  407. message: '预计到港时间不能为空',
  408. type: 'warning'
  409. })
  410. return
  411. }
  412. if (!this.deptBudgetList.tranCarInfoList[i].shipName) {
  413. this.$message({
  414. message: '船名不能为空',
  415. type: 'warning'
  416. })
  417. return
  418. }
  419. if (!this.deptBudgetList.tranCarInfoList[i].shipNo) {
  420. this.$message({
  421. message: '航次不能为空',
  422. type: 'warning'
  423. })
  424. return
  425. }
  426. if (!this.deptBudgetList.tranCarInfoList[i].boxNumber) {
  427. this.$message({
  428. message: '数量不能为空',
  429. type: 'warning'
  430. })
  431. return
  432. }
  433. if (!this.deptBudgetList.tranCarInfoList[i].shipType) {
  434. this.$message({
  435. message: '类型不能为空',
  436. type: 'warning'
  437. })
  438. return
  439. }
  440. if (!this.deptBudgetList.tranCarInfoList[i].impurity) {
  441. this.$message({
  442. message: '仓位号不能为空',
  443. type: 'warning'
  444. })
  445. }
  446. if (!this.deptBudgetList.tranCarInfoList[i].positionWeight) {
  447. this.$message({
  448. message: '重量不能为空',
  449. type: 'warning'
  450. })
  451. }
  452. if (
  453. new Date(
  454. this.deptBudgetList.tranCarInfoList[i].sendDateStart
  455. ).getTime() >
  456. new Date(
  457. this.deptBudgetList.tranCarInfoList[i].receiveDateEnd
  458. ).getTime()
  459. ) {
  460. this.$message({
  461. message: '发船时间不能大于最晚到到港时间!',
  462. type: 'warning'
  463. })
  464. return
  465. }
  466. }
  467. this.$confirm(`提交成功后,任务将下发给相关人员,是否确定提交?`, {
  468. cancelButtonText: '取消',
  469. confirmButtonText: '确定',
  470. type: 'warning'
  471. })
  472. .then(() => {
  473. this.$refs.deptBudgetList.validate(valid => {
  474. if (valid) {
  475. for (var i = 0; i < this.freightspace.length; i++) {
  476. var num =
  477. this.freightspace[i].impurity +
  478. '/' +
  479. this.freightspace[i].positionWeight
  480. this.arr.push(num)
  481. }
  482. this.deptBudgetList.totalStorage = this.totalStorage
  483. this.tranCarInfoList.driver = this.deptBudgetList.driver
  484. this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
  485. this.tranCarInfoList.sendDateStart = this.deptBudgetList.sendDateStart
  486. this.tranCarInfoList.receiveDateEnd = this.deptBudgetList.receiveDateEnd
  487. this.tranCarInfoList.shipName = this.deptBudgetList.shipName
  488. this.tranCarInfoList.shipNo = this.deptBudgetList.shipNo
  489. this.tranCarInfoList.id = this.deptBudgetList.tranCarInfoList[0].id
  490. this.tranCarInfoList.tranType = this.deptBudgetList.tranType
  491. this.tranCarInfoList.boxNumber = this.deptBudgetList.boxNumber
  492. this.tranCarInfoList.shipType = this.deptBudgetList.shipType
  493. this.tranCarInfoList.positionWeight = this.arr.toString()
  494. var tranCarInfo = {}
  495. var tranList = [this.tranCarInfoList]
  496. tranCarInfo.id = this.deptBudgetList.id
  497. tranCarInfo.infoId = this.deptBudgetList.infoId
  498. tranCarInfo.tranCarInfoList = tranList
  499. dispatchCat(tranCarInfo)
  500. .toPromise()
  501. .then(response => {
  502. this.$message.success('添加成功')
  503. this.deptBudgetList = {}
  504. this.freightspace = {}
  505. this.selectedOptions = ''
  506. this.$router.go(-1)
  507. })
  508. } else {
  509. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  510. return false
  511. }
  512. })
  513. })
  514. .catch(() => {
  515. return false
  516. })
  517. },
  518. handleClose() {
  519. this.accessoryTFs = false
  520. },
  521. handleSizeChange(val) {
  522. console.log(`每页 ${val} 条`)
  523. this.pageSize = val
  524. this.getList()
  525. },
  526. handleCurrentChange(val) {
  527. this.currentPage = val
  528. console.log(`当前页: ${val}`)
  529. this.getList()
  530. },
  531. selecttaskType(e) {
  532. for (var i = 0; i < this.taskTypeList.length; i++) {
  533. if (this.taskTypeList[i].value == e) {
  534. this.searchType = this.taskTypeList[i].type
  535. }
  536. }
  537. }
  538. // approve() {},
  539. // listQuery() {}
  540. }
  541. }
  542. </script>
  543. <style lang="scss" scoped>
  544. /deep/.basicInformation {
  545. .ws-info-table {
  546. border: none;
  547. }
  548. .el-form-item {
  549. border: 1px solid #d8dce6;
  550. width: 33.3333%;
  551. border: none;
  552. .el-form-item__label {
  553. background: transparent;
  554. border: none;
  555. }
  556. .el-form-item__content {
  557. border: none;
  558. }
  559. }
  560. }
  561. .title {
  562. position: relative;
  563. // padding-left: 10px;
  564. }
  565. .title::before {
  566. content: '';
  567. display: inline-block;
  568. width: 5px;
  569. height: 30px;
  570. background: #5473e8;
  571. position: absolute;
  572. left: 0;
  573. }
  574. .el-form {
  575. padding: 0 10%;
  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: 80%;
  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. }
  606. .small-title::before {
  607. position: absolute;
  608. content: '';
  609. display: block;
  610. background: #5473e8;
  611. width: 4px;
  612. height: 14px;
  613. left: 0px;
  614. top: 13px;
  615. padding: 4px 2px;
  616. font-size: 16px;
  617. font-family: PingFangSC-Semibold, PingFang SC;
  618. font-weight: 600;
  619. color: #323233;
  620. line-height: 22px;
  621. }
  622. /deep/.position .ws-info-table .el-form-item .el-form-item__label {
  623. width: 40%;
  624. text-align: center;
  625. }
  626. .position .zaizhong {
  627. width: 16%;
  628. }
  629. //减号
  630. .del {
  631. right: -70px;
  632. width: 13px;
  633. height: 13px;
  634. }
  635. .bot {
  636. width: 30%;
  637. }
  638. //去边框
  639. /deep/.el-form-item {
  640. border-right: 0px;
  641. border-bottom: 0px;
  642. }
  643. /deep/.ws-info-table {
  644. border-left: 0px;
  645. border-top: 0px;
  646. }
  647. .ws-info-table .el-form-item .el-form-item__content {
  648. border-right: 0px;
  649. border-bottom: 0px;
  650. border-left: 0px;
  651. border-top: 0px;
  652. }
  653. /deep/.ws-info-table .el-form-item {
  654. border-right: 0px;
  655. border-bottom: 0px;
  656. border-left: 0px;
  657. border-top: 0px;
  658. }
  659. /deep/.ws-info-table .el-form-item .el-form-item__content {
  660. background: #f5f7fa;
  661. border-radius: 4px;
  662. font-family: PingFangSC-Regular, PingFang SC;
  663. margin-bottom: 5px;
  664. // background-color: #fff;
  665. font-size: 14px;
  666. font-weight: 400;
  667. color: #8890b1;
  668. line-height: 16px;
  669. }
  670. /deep/.ws-info-table .el-form-item .el-form-item__label {
  671. background-color: #fff;
  672. font-size: 14px;
  673. font-family: PingFangSC-Regular, PingFang SC;
  674. font-weight: 400;
  675. color: #8890b1;
  676. line-height: 16px;
  677. }
  678. .position {
  679. width: 90%;
  680. }
  681. //下表格样式
  682. .position.siji {
  683. background: white;
  684. border-radius: 4px;
  685. /* border: 1px solid #d8dce6; */
  686. width: 1010px;
  687. }
  688. /deep/.zi {
  689. width: 64px;
  690. height: 22px;
  691. font-size: 16px;
  692. font-family: PingFangSC-Semibold, PingFang SC;
  693. font-weight: 600;
  694. color: #323233;
  695. line-height: 22px;
  696. }
  697. //表格文字
  698. /deep/.ws-info-table .el-form-item .el-form-item__label {
  699. text-align: left;
  700. font-size: 14px;
  701. font-weight: 400;
  702. color: #8890b1;
  703. line-height: 16px;
  704. }
  705. //小标题文字
  706. .small-title::before {
  707. position: absolute;
  708. content: '';
  709. display: block;
  710. background: #5473e8;
  711. width: 4px;
  712. height: 14px;
  713. left: 0px;
  714. top: 13px;
  715. padding: 4px 2px;
  716. }
  717. /deep/.basicInformation {
  718. .el-form-item {
  719. width: 25%;
  720. .el-form-item__label {
  721. background: transparent;
  722. border: none;
  723. }
  724. .el-form-item__content {
  725. // border: none;
  726. }
  727. }
  728. }
  729. //下方表格
  730. // .biao{
  731. // background: #F6F7FC;
  732. // border-radius: 4px;
  733. // border: 1px solid #D8DCE6;
  734. // margin-top: 10px;
  735. // }
  736. //添加仓位样式
  737. .add {
  738. width: 100px;
  739. height: 34px;
  740. background: #f6f7fb;
  741. border-radius: 17px;
  742. color: #5473e8;
  743. font-size: 14px;
  744. border: none;
  745. margin-top: 8px;
  746. }
  747. .add img {
  748. display: inline-block;
  749. margin-top: 3px;
  750. margin-left: -12px;
  751. }
  752. .add .spans {
  753. display: table-caption;
  754. width: 56px;
  755. height: 20px;
  756. line-height: 18px;
  757. }
  758. /deep/.xia {
  759. width: 500px;
  760. height: 54px;
  761. border-radius: 4px;
  762. border: 1px solid #d8dce6;
  763. margin-top: 10px;
  764. background: #f6f7fc;
  765. border-radius: 4px;
  766. }
  767. .basicInformation .ws-info-table {
  768. border: none;
  769. width: 1000px;
  770. }
  771. .el-input--small .el-input__inner {
  772. border-block-color: #f6f7fc;
  773. background: #f6f7fc;
  774. }
  775. .zhong {
  776. background: #f6f7fc;
  777. border: 1px solid #d8dce6;
  778. }
  779. .bg-left {
  780. padding-left: 30px;
  781. }
  782. .ys{
  783. // margin-left: 300px;
  784. width: 230px;
  785. background: #5878e8;
  786. }
  787. </style>