tranManagementShippingArrangemen.vue 22 KB

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