projectApplicationApply3.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. <template>
  2. <!-- 项目立项申请预算经费表单 -->
  3. <div class="proBudgetFund">
  4. <!-- 左边栏 -->
  5. <div class="left">
  6. <div class="sx"> <!--圆球和竖线 -->
  7. <div class="qiu"></div>
  8. </div>
  9. <!-- 左边栏内容开始 -->
  10. <div class="leftTits">
  11. <div>月支出计划</div>
  12. <div>支出明细</div>
  13. <div>完成</div>
  14. </div>
  15. <!-- 左边栏内容结束 -->
  16. </div>
  17. <!-- 右边栏 -->
  18. <div class="right">
  19. <!-- 预算经费金额开始 -->
  20. <div class="vfpHeader">
  21. <div class="titleOne">预算经费</div>
  22. <el-button @click="back()" type="primary" size="mini">返回</el-button>
  23. </div>
  24. <hr>
  25. <div class="totalFund">
  26. <div class="totalFundLabel">预算总经费</div>
  27. <el-input type="number" class="inputNumber" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" v-model.number="data2.select.fund" style="width: 180px;" placeholder="请输入内容"></el-input>
  28. <div style="line-height: 38px;margin-left: 5px;">(万)</div>
  29. </div>
  30. <!-- 预算经费金额结束 -->
  31. <!-- 设置经费和表格开始 -->
  32. <div class="tabTit">
  33. <div><p>经费月支出计划(元)</p></div>
  34. <el-button @click="setFundBtn" type="primary">设置经费</el-button>
  35. </div>
  36. <div class="monthFund">
  37. <el-table
  38. :data="data.tableData"
  39. tooltip-effect="dark"
  40. stripe
  41. show-overflow-tooltip="true"
  42. :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
  43. >
  44. <el-table-column
  45. v-for="(item,index) in mouthItems"
  46. :key="index"
  47. :prop="item.prop"
  48. :label="item.label"
  49. align="center"
  50. min-width="8%"
  51. >
  52. </el-table-column>
  53. </el-table>
  54. </div>
  55. <!-- 设置经费和表格结束 -->
  56. <!-- 经费明细和表格开始 -->
  57. <div class="tabTit">
  58. <div><p>经费明细</p></div>
  59. <el-button type="primary" @click="addBtn">添加</el-button>
  60. </div>
  61. <el-table
  62. :data="data.tableData2"
  63. tooltip-effect="dark"
  64. stripe
  65. class="fontSize"
  66. :header-cell-style="{ background: '#f2f2f2',color:'#000' }"
  67. >
  68. <el-table-column
  69. prop="type"
  70. label="支出类别"
  71. align="center"
  72. >
  73. </el-table-column>
  74. <el-table-column
  75. prop="disburseProject"
  76. label="支出项目"
  77. align="center"
  78. >
  79. </el-table-column>
  80. <el-table-column
  81. prop="fund"
  82. label="金额(元)"
  83. align="center"
  84. >
  85. </el-table-column>
  86. <el-table-column
  87. prop="textarea"
  88. label="备注"
  89. align="center"
  90. width="150">
  91. </el-table-column>
  92. <el-table-column
  93. align="center"
  94. prop="operation"
  95. width="200"
  96. label="操作"
  97. >
  98. <template #default="scope">
  99. <div class="operations">
  100. <el-button type="primary" @click="amendDialogData(scope.$index)" size="mini">修改</el-button>
  101. <el-button type="primary" @click="del(scope.$index)" size="mini">删除</el-button>
  102. </div>
  103. </template>
  104. </el-table-column>
  105. </el-table>
  106. <!-- 经费明细和表格结束 -->
  107. <div class="baseBtn">
  108. <div class="blockWidth">
  109. <el-button type="primary" class="backBtn" @click="back()">上一步</el-button>
  110. <el-button type="primary" class="backBtn" @click="submit" >提交</el-button>
  111. </div>
  112. </div>
  113. </div>
  114. <!-- 经费明细添加按钮开始 -->
  115. <el-dialog
  116. title="经费明细"
  117. :visible.sync="addFundDialog"
  118. width="950px"
  119. class="fundDetail"
  120. :before-close="init">
  121. <div class="dialogTop">
  122. <div class="dagSpan">项目名称</div>
  123. <el-select v-model="data2.select.projectName" disabled style="width: 100%;" placeholder="请选择">
  124. <el-option
  125. v-for="item in data2.options"
  126. :key="item.id"
  127. :label="item.name"
  128. :value="item.id">
  129. </el-option>
  130. </el-select>
  131. </div>
  132. <div class="dialogTop">
  133. <div class="dagSpan">项目类型</div>
  134. <el-select v-model="data2.select.sort" disabled style="width: 30%;" placeholder="请选择">
  135. <el-option
  136. v-for="item in data2.sortOptions"
  137. :key="item.id"
  138. :label="item.name"
  139. :value="item.id">
  140. </el-option>
  141. </el-select>
  142. </div>
  143. <div class="tabTit">
  144. <div><p>添加经费明细</p></div>
  145. </div>
  146. <div class="dagInpS">
  147. <div class="dagInpS1">
  148. <div class="dagSpan">支出类别</div>
  149. <!-- <el-input v-model="data.dialog.type" placeholder="请输入内容"></el-input> -->
  150. <el-select v-model="data.dialog.type" placeholder="请选择">
  151. <el-option
  152. v-for="item in expendType"
  153. :key="item.value"
  154. :label="item.label"
  155. :value="item.label">
  156. </el-option>
  157. </el-select>
  158. </div>
  159. <div class="dagInpS1">
  160. <div class="dagSpan">支出项目</div>
  161. <!-- <el-input v-model="data.dialog.disburseProject" placeholder="请输入内容"></el-input> -->
  162. <el-select v-model="data.dialog.disburseProject" placeholder="请选择">
  163. <el-option
  164. v-for="item in expendProject"
  165. :key="item.value"
  166. :label="item.label"
  167. :value="item.label">
  168. </el-option>
  169. </el-select>
  170. </div>
  171. <div class="dagInpS1">
  172. <div class="dagSpan">金额(元)</div>
  173. <el-input type="number" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" class="inputNumber" v-model.number="data.dialog.fund" placeholder="请输入内容"></el-input>
  174. </div>
  175. </div>
  176. <div class="dagInpS1">
  177. <div class="dagSpan" style="position:relative;top: -90px;">备注</div>
  178. <el-input
  179. type="textarea"
  180. :rows="5"
  181. resize="none"
  182. style="width: 80%;"
  183. placeholder="请输入内容"
  184. v-model="data.dialog.textarea">
  185. </el-input>
  186. </div>
  187. <div slot="footer" class="dialog-footer">
  188. <el-button type="primary" @click="finish" class="AllDialogBtn">完成</el-button>
  189. </div>
  190. </el-dialog>
  191. <!-- 经费明细添加按钮结束 -->
  192. <!--设置经费dialog对话框开始 -->
  193. <el-dialog
  194. title="设置经费"
  195. :visible.sync="setFund"
  196. :modal="true"
  197. :close-on-click-modal="true"
  198. class="AddFund"
  199. :before-close="init">
  200. <div style="position: absolute;top:10px;font-size: 18px;">经费月支出计划(元)</div>
  201. <div class="littleBlock">
  202. <div class="dialogLabel">一月</div>
  203. <div class="littleBlockInp">
  204. <el-input type="number" class="inputNumber" v-model.number="data.items.one"></el-input>
  205. <span class="yuan">(元)</span>
  206. </div>
  207. </div>
  208. <div class="littleBlock">
  209. <div class="dialogLabel">二月</div>
  210. <div class="littleBlockInp">
  211. <el-input type="number" v-model="data.items.two"></el-input>
  212. <span class="yuan">(元)</span>
  213. </div>
  214. </div>
  215. <div class="littleBlock">
  216. <div class="dialogLabel">三月</div>
  217. <div class="littleBlockInp">
  218. <el-input type="number" v-model="data.items.three"></el-input>
  219. <span class="yuan">(元)</span>
  220. </div>
  221. </div>
  222. <div class="littleBlock">
  223. <div class="dialogLabel">四月</div>
  224. <div class="littleBlockInp">
  225. <el-input type="number" v-model="data.items.four"></el-input>
  226. <span class="yuan">(元)</span>
  227. </div>
  228. </div>
  229. <div class="littleBlock">
  230. <div class="dialogLabel">五月</div>
  231. <div class="littleBlockInp">
  232. <el-input type="number" v-model="data.items.five"></el-input>
  233. <span class="yuan">(元)</span>
  234. </div>
  235. </div>
  236. <div class="littleBlock">
  237. <div class="dialogLabel">六月</div>
  238. <div class="littleBlockInp">
  239. <el-input type="number" v-model="data.items.six"></el-input>
  240. <span class="yuan">(元)</span>
  241. </div>
  242. </div>
  243. <div class="littleBlock">
  244. <div class="dialogLabel">七月</div>
  245. <div class="littleBlockInp">
  246. <el-input type="number" v-model="data.items.seven"></el-input>
  247. <span class="yuan">(元)</span>
  248. </div>
  249. </div>
  250. <div class="littleBlock">
  251. <div class="dialogLabel">八月</div>
  252. <div class="littleBlockInp">
  253. <el-input type="number" v-model="data.items.eight"></el-input>
  254. <span class="yuan">(元)</span>
  255. </div>
  256. </div>
  257. <div class="littleBlock">
  258. <div class="dialogLabel">九月</div>
  259. <div class="littleBlockInp">
  260. <el-input type="number" v-model="data.items.nine"></el-input>
  261. <span class="yuan">(元)</span>
  262. </div>
  263. </div>
  264. <div class="littleBlock">
  265. <div class="dialogLabel">十月</div>
  266. <div class="littleBlockInp">
  267. <el-input type="number" v-model="data.items.ten"></el-input>
  268. <span class="yuan">(元)</span>
  269. </div>
  270. </div>
  271. <div class="littleBlock">
  272. <div class="dialogLabel">十一月</div>
  273. <div class="littleBlockInp">
  274. <el-input type="number" v-model="data.items.eleven"></el-input>
  275. <span class="yuan">(元)</span>
  276. </div>
  277. </div>
  278. <div class="littleBlock">
  279. <div class="dialogLabel">十二月</div>
  280. <div class="littleBlockInp">
  281. <el-input type="number" v-model="data.items.twelve"></el-input>
  282. <span class="yuan">(元)</span>
  283. </div>
  284. </div>
  285. <div class="littleBlock" style="width: 80%;">
  286. <div class="dialogLabel" style="position: relative;top: -20px;">备注</div>
  287. <div style="width: 86%;">
  288. <!-- <el-input type="textarea" :row="6" resize="none" v-model="data.items.remark" style="width: 100%;"></el-input> -->
  289. <el-input
  290. type="textarea"
  291. :rows="3"
  292. resize="none"
  293. v-model="data.items.remark">
  294. </el-input>
  295. </div>
  296. </div>
  297. <div slot="footer" class="footer">
  298. <el-button type="primary" @click="commit" class="AllDialogBtn" >确认提交</el-button>
  299. <el-button @click="init" class="AllDialogBtn">取消</el-button>
  300. </div>
  301. </el-dialog>
  302. <!--设置经费dialog对话框结束 -->
  303. <!-- 删除成员对话框开始 -->
  304. <el-dialog
  305. title="删除"
  306. :visible.sync="delFundDetail"
  307. width="600px"
  308. class="delMemberDialog">
  309. <span class="deleteContent">确定删除此经费明细?</span>
  310. <span slot="footer" class="dialog-footer">
  311. <el-button type="primary" @click="commitDel" class="AllDialogBtn">确认删除</el-button>
  312. <el-button @click="init" class="AllDialogBtn" >取消</el-button>
  313. </span>
  314. </el-dialog>
  315. <!-- 删除成员对话框结束 -->
  316. </div>
  317. </template>
  318. <script>
  319. import { VueEditor } from "vue2-editor";
  320. export default {
  321. // 接收父组件传递回来的方法
  322. props:["data","next",'back','submitBtn','data2','confirmSetFund'],
  323. components:{
  324. VueEditor
  325. },
  326. data() {
  327. return {
  328. iid:'',
  329. delFundDetail:false, //删除经费明细对话框
  330. addFundDialog:false, //经费明细对话框
  331. setFund:false, //设置月支出计划
  332. recompose:0, //判断是否是修改 0 修改 1 添加
  333. projectFundDetailInput:{
  334. fund:'',
  335. type:'',
  336. disburseProject:'',
  337. textarea:''
  338. },
  339. mouthItems:[ //表格基础
  340. {prop:'one',label:'一月'},
  341. {prop:'two',label:'二月'},
  342. {prop:'three',label:'三月'},
  343. {prop:'four',label:'四月'},
  344. {prop:'five',label:'五月'},
  345. {prop:'six',label:'六月'},
  346. {prop:'seven',label:'七月'},
  347. {prop:'eight',label:'八月'},
  348. {prop:'nine',label:'九月'},
  349. {prop:'ten',label:'十月'},
  350. {prop:'eleven',label:'十一月'},
  351. {prop:'twelve',label:'十二月'},
  352. {prop:'remark',label:'备注'},
  353. ],
  354. // 经费明细添加按钮对话框下拉框
  355. expendType:[
  356. {
  357. value:1,
  358. label:'个人创客'
  359. },
  360. {
  361. value:2,
  362. label:'活动创客'
  363. },
  364. ],
  365. expendProject:[
  366. {
  367. value:1,
  368. label:'小型仪器设备费'
  369. },
  370. {
  371. value:2,
  372. label:'材料费'
  373. },
  374. {
  375. value:3,
  376. label:'测试化验加工费'
  377. },
  378. {
  379. value:4,
  380. label:'项目协作费'
  381. },
  382. {
  383. value:5,
  384. label:'其他支出'
  385. },
  386. ]
  387. }
  388. },
  389. methods:{
  390. judge(event){
  391. console.log(event);
  392. // console.log(111);
  393. // return (/[\d]/.test(String.fromCharCode(event.keyCode)));
  394. },
  395. init(){
  396. this.addFundDialog=false
  397. this.setFund=false;
  398. this.delFundDetail=false;
  399. },
  400. backBtn1(){ //上一步
  401. this.back();
  402. },
  403. submit(){ //提交按钮
  404. this.submitBtn();
  405. },
  406. addBtn(){ //经费明细添加对话框显示
  407. this.addFundDialog=true;
  408. },
  409. amendDialogData(val){ //修改经费明细数据对话框显示
  410. this.recompose=1
  411. Object.assign(this.data.dialog,this.data.tableData2[val])
  412. this.data.dialog['index']=val
  413. this.addFundDialog=true;
  414. // this.data.dialog=val
  415. // this.iid=val
  416. },
  417. finish(){ //添加经费明细对话框完成按钮
  418. if(this.recompose){ //修改
  419. if (this.data.dialog.type=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支类别')
  420. if (this.data.dialog.disburseProject=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支出项目')
  421. if (this.data.dialog.fund=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入金额')
  422. let oldMoney = this.data.tableData2.reduce((prev,cur)=>{ //默认第一次为0,
  423. console.log(prev,cur["fund"]);
  424. return prev+cur["fund"]
  425. },0); //默认值第一次运算为0
  426. // console.log(oldMoney); 第一次0
  427. oldMoney+=this.data.dialog.fund; //因为本次的数据还未添加到列表中,所以直接在这里进行相加判断
  428. if(oldMoney>(this.data2.select.fund)*10000) return this.$message.error('经费明细超出预算总金额');
  429. Object.assign(this.data.tableData2[this.data.dialog['index']],this.data.dialog)
  430. for(let k in this.data.dialog) this.data.dialog[k]=''
  431. return this.addFundDialog=false;
  432. }
  433. let oldDia={} //添加数据防止污染
  434. // 添加
  435. if(this.data2.select.fund == '' || this.data2.select.fund==undefined )return this.$message.error('请输入项目预算总经费')
  436. if (this.data.dialog.type=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支类别')
  437. if (this.data.dialog.disburseProject=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入支出项目')
  438. if (this.data.dialog.fund=="" || this.data2.select.fund==undefined ) return this.$message.error('请输入金额')
  439. let oldMoney = this.data.tableData2.reduce((prev,cur)=>{ //默认第一次为0,
  440. // console.log(prev,cur["fund"]);
  441. return prev+cur["fund"]
  442. },0); //默认值第一次运算为0
  443. // console.log(oldMoney);
  444. oldMoney+=this.data.dialog.fund; //因为本次的数据还未添加到列表中,所以直接在这里进行相加判断
  445. if(oldMoney>(this.data2.select.fund)*10000)return this.$message.error('经费明细超出预算总金额');
  446. Object.assign(oldDia,this.data.dialog)
  447. this.data.tableData2.push(oldDia);
  448. for(let k in this.data.dialog) this.data.dialog[k]='';
  449. this.addFundDialog=false;
  450. },
  451. setFundBtn(){ //经费月支出计划设置经费对话框显示
  452. // console.log(this.data2.value);
  453. this.setFund=true
  454. },
  455. commit(){ //经费月支出计划设置经费对话框确定按钮
  456. let p=0
  457. for(let key in this.data.items){
  458. if ( this.data.items[key] !== '' && this.data.items[key]!='-') {
  459. if (key != 'remark') {
  460. // console.log(this.data.items[key])
  461. p+=Number(this.data.items[key])
  462. }
  463. }
  464. }
  465. // console.log(p)
  466. // console.log(this.data2.select.fund);
  467. if(p > this.data2.select.fund*10000) return this.$message.error('金额大于总预算')
  468. this.confirmSetFund()
  469. this.init()
  470. },
  471. del(val){ //删除经费明细对话框显示
  472. this.delFundDetail=true;
  473. this.iid=val
  474. },
  475. commitDel(){ //确定删除
  476. this.data.tableData2.splice(this.iid,1)
  477. this.delFundDetail=false;
  478. // this.data.tableData2.forEach((e,i,arr)=>{
  479. // if (e.id == this.iid.id) {
  480. // arr.splice(i,1)
  481. // this.delFundDetail=false;
  482. // }
  483. // })
  484. }
  485. }
  486. }
  487. </script>
  488. <style lang="less">
  489. //对话框样式
  490. // .el-input__inner{
  491. // color: #000;
  492. // font-size: 16px;
  493. // }
  494. // .el-textarea__inner{
  495. // color: #000;
  496. // font-size: 16px;
  497. // }
  498. // .el-input.is-disabled .el-input__inner{
  499. // color: #3a3838;
  500. // }
  501. .totalFundLabel{
  502. width:90px;
  503. line-height: 38px;
  504. margin-right: 10px;
  505. text-justify:distribute-all-lines;
  506. text-align-last: justify;
  507. }
  508. .proBudgetFund{
  509. margin-top: 30px;
  510. width: 100%;
  511. display: flex;
  512. justify-content: center;
  513. box-sizing: border-box;
  514. .totalFund{ //预算总经费金额填写
  515. display: flex;
  516. width: 400px;
  517. line-height: 25px;
  518. margin: 15px 5px 30px;
  519. }
  520. .fundDetail{ //经费明细添加对话框,防止冲突
  521. .el-dialog__title{
  522. font-size: 18px;
  523. font-weight: 600;
  524. }
  525. .el-dialog__body{
  526. padding-top: 0px;
  527. }
  528. .dialogTop{ //对话框,名称、类型
  529. margin: 15px 0;
  530. display: flex;
  531. width: 80%;
  532. }
  533. .dagSpan{ // 对话框label
  534. min-width: 84px;
  535. font-size: 16px;
  536. margin-right: 10px;
  537. display: inline-block;
  538. text-align: justify;
  539. text-justify:distribute-all-lines;
  540. text-align-last: justify;
  541. transform: translate(0,22%);
  542. margin-bottom: 10px;
  543. }
  544. //经费明细dialog的样式
  545. .dagInpS{
  546. display: flex;
  547. width: 90%;
  548. margin-top: 20px;
  549. .dagInpS1{
  550. font-size: 16px;
  551. display: flex;
  552. margin-right: 25px;
  553. margin-bottom: 20px;
  554. }
  555. }
  556. // .btn5{
  557. // width: 130px;
  558. // margin-right: 50px;
  559. // }
  560. }
  561. .AddFund{ //月支出计划添加对话框
  562. .el-input__inner{
  563. width: 100%;
  564. }
  565. .el-dialog{
  566. width: 700px;
  567. border-radius: 5px;
  568. overflow: hidden;
  569. }
  570. .el-dialog__body{
  571. display: flex;
  572. align-items: center;
  573. position: relative;
  574. justify-content: space-between;
  575. flex-wrap: wrap;
  576. align-items: center;
  577. margin-top: 30px;
  578. box-sizing: border-box;
  579. padding-right: 10%;
  580. padding-left: 10%;
  581. }
  582. .el-dialog__header{
  583. background: #32455b;
  584. text-align: center;
  585. }
  586. .el-dialog__title{
  587. color: #fff;
  588. position: relative;
  589. top: -2px;
  590. font-size: 18px;
  591. }
  592. .littleBlock{ //添加对话框 label和input框
  593. display: flex;
  594. margin-top: 20px;
  595. box-sizing: border-box;
  596. padding: 0 5%;
  597. flex-shrink: 0;
  598. width: 40%;
  599. display: flex;
  600. justify-content: flex-end;
  601. .littleBlockInp{
  602. position: relative;
  603. box-sizing: border-box;
  604. padding-right: 30px;
  605. .yuan{
  606. position: absolute;
  607. top: 7px;
  608. right: 0px;
  609. font-size: 16px;
  610. }
  611. }
  612. .dialogLabel{ //label
  613. min-width: 55px;
  614. font-size: 16px;
  615. margin-right: 10px;
  616. display: inline-block;
  617. text-align: justify;
  618. text-justify:distribute-all-lines;
  619. text-align-last: justify;
  620. transform: translate(0,22%);
  621. }
  622. input::-webkit-outer-spin-button,
  623. input::-webkit-inner-spin-button {
  624. -webkit-appearance: none !important;
  625. }
  626. input[type='number'] {
  627. -moz-appearance: textfield;
  628. }
  629. .el-input__inner{
  630. line-height: 1px!important;
  631. }
  632. }
  633. .footer{
  634. width: 100%;
  635. display: flex;
  636. justify-content: center;
  637. [type="button"]{
  638. font-size: 16px;
  639. }
  640. }
  641. }
  642. }
  643. .delMemberDialog{ //删除经费明细对话框样式
  644. font-size: 18px;
  645. .el-dialog{
  646. border-radius: 5px;
  647. overflow: hidden;
  648. }
  649. .deleteContent{
  650. margin: 30px 0;
  651. font-size: 22px;
  652. color: #000;
  653. }
  654. .el-dialog__header{
  655. background: #32455b;
  656. display: flex;
  657. justify-content: center;
  658. }
  659. .el-dialog__title{
  660. color:#fff;
  661. display: flex;
  662. justify-content: center;
  663. font-size: 18px;
  664. position: relative;
  665. top: -2px;
  666. }
  667. .el-dialog__body{
  668. display: flex;
  669. justify-content: center;
  670. }
  671. .el-dialog__body{
  672. padding: 0;
  673. }
  674. .dialog-footer{
  675. display: flex;
  676. justify-content: center;
  677. box-sizing: border-box;
  678. }
  679. }
  680. .monthFund{
  681. .el-table .cell{
  682. // 不换行
  683. white-space:nowrap !important;
  684. }
  685. }
  686. </style>