apply_for_reimbursement.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. <template>
  2. <view class="center">
  3. <view>
  4. <view class='wrap'>
  5. <view class="c-row">
  6. <view class="title">车牌号</view>
  7. <view class="con-list">
  8. <input maxlength="7" v-model='detailData.carNo' type="text">
  9. </view>
  10. </view>
  11. <view class="c-row">
  12. <view class="title">行程轨迹</view>
  13. <view class="con-list">
  14. <view class="flex align-center">
  15. <view class="item1">
  16. <view class="ssx">{{$helper.getProvinceAbbreviation(detailData.originProvince)}}</view>
  17. <view class="level2-title">
  18. {{$helper.filterUrban(detailData.originCity)}}
  19. {{$helper.filterArea(detailData.originArea)}}
  20. </view>
  21. </view>
  22. <image class="jt-icon item2" src="@/static/images/fuel/jt.png" mode='widthFix'>
  23. </image>
  24. <view class="item3">
  25. <view class="ssx">{{$helper.getProvinceAbbreviation(detailData.destinationProvince)}}
  26. </view>
  27. <view class="level2-title">{{$helper.filterUrban(detailData.destinationCity)}}
  28. {{$helper.filterArea(detailData.destinationArea)}}
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="c-row">
  35. <view class="left">备注</view>
  36. </view>
  37. <view style='position:relative;' class="wrap1 no-boder">
  38. <u-input ref='textarea' class='textarea' v-model="detailData.remark" :type="typeRemark" :border="border"
  39. placeholder="选填,不超过150字" :height="height" :auto-height="autoHeight" maxlength="150" />
  40. <view class="remark">
  41. {{detailData.remark?detailData.remark.length:'0'}}/150个字
  42. </view>
  43. </view>
  44. <!-- <view class="c-row">
  45. <view class="title">用途</view>
  46. <view class="con-list">
  47. <view @click='show1=true'>{{detailData.purpose?detailData.purpose:'选择用途'}}
  48. <u-icon name="arrow-right" color=""></u-icon>
  49. </view>
  50. <u-picker :range="purposeList" range-key="purpose" @confirm='ltCheck($event)' v-model="show1"
  51. mode="selector">
  52. </u-picker>
  53. </view>
  54. </view>
  55. <view class="c-row" v-if="detailData.purpose == '库点费用'">
  56. <view class="title">仓库名称</view>
  57. <view class="con-list">
  58. <view @click='selectWare()'>{{detailData.warehouseName?detailData.warehouseName:"请选择仓库名称"}}
  59. <u-icon name="arrow-right" color=""></u-icon>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="c-row" v-if="detailData.purpose == '合同费用'">
  64. <view class="title">合同编号</view>
  65. <view class="con-list">
  66. <view @click='selectCon'>{{detailData.contractNo?detailData.contractNo:"请选择合同编号"}}
  67. <u-icon name="arrow-right" color=""></u-icon>
  68. </view>
  69. </view>
  70. </view> -->
  71. </view>
  72. <view class='wrap1' v-for="(item , index) in fillingDetail.fillingDetailInfoList" :Key="index">
  73. <view class="tit">加油-{{item.serialNumber}}</view>
  74. <image src="../../static/img/sign/jian@2x.png" class="eliminate1" @click="delApply(index)">
  75. </image>
  76. <image src="../../static/img/sign/jia@2x.png" class="eliminate2" @click="addApply(index)">
  77. </image>
  78. <view class="c-row">
  79. <view class="title">油耗(升)</view>
  80. <view class="con-list">
  81. <input type='digit' v-model='item.oilConsumption' placeholder="请输入油耗" @input='calculate(index)'></input>
  82. </view>
  83. </view>
  84. <view class="c-row">
  85. <view class="title">当前油价(元/升)</view>
  86. <view class="con-list">
  87. <input type="digit" v-model='item.currentOilPrice' placeholder="请输入当前油价"
  88. @input='calculate(index)'></input>
  89. </view>
  90. </view>
  91. <view class="c-row">
  92. <view class="title">计算金额(元)</view>
  93. <view class="con-list">
  94. <input type="digit" v-model='item.currentConsumption' placeholder="不可编辑,自动计算"
  95. :disabled="true"></input>
  96. </view>
  97. </view>
  98. <view class="c-row">
  99. <view class="title">加油凭证</view>
  100. </view>
  101. <view class="voucher">
  102. <u-upload imageMode='aspectFill' class="upload" :ref="'upload'+index" name='fileName' :file-list="item.fileList" :form-data="{companyId: pcUserInfo.compId,
  103. modelId: '',
  104. vesselId: ''}" :action="action" :max-size="maxSize" :max-count="9"
  105. :size-type="['compressed']" @on-success="getImgUrl($event,index)"
  106. @on-remove="onRemove($event,index)" :show-progress='false' :limitType ="['png', 'jpg', 'jpeg', 'webp', 'gif']"
  107. @on-progress="onProgress"></u-upload>
  108. <!-- <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="9"
  109. :size-type="['compressed']" @on-success="getImgUrl($event,index)" @on-error="onError"
  110. @on-remove="onRemove($event,index)" @on-uploaded="isAdd = true" :before-upload="filterFileType"
  111. @on-progress="onProgress"></upload> -->
  112. </view>
  113. </view>
  114. <view class="footer">
  115. <view class="c-row">
  116. <view class="title">总油耗(升)</view>
  117. <view class="con-list">
  118. <input :disabled="true" v-model='tfc' placeholder="不可编辑,自动计算" type="digit"></input>
  119. </view>
  120. </view>
  121. <view class="c-row">
  122. <view class="title">合计金额(元)</view>
  123. <view class="con-list">
  124. <input :disabled="true" v-model='totalCost' placeholder="不可编辑,自动计算" type="digit"></input>
  125. </view>
  126. </view>
  127. <view @click='submitApply' class="button">提交申请</view>
  128. </view>
  129. </view>
  130. <u-modal v-model="show" @confirm='submit' content="确定提交申请信息?" :show-cancel-button='true' ></u-modal>
  131. </view>
  132. </template>
  133. <script>
  134. import * as config from '../../config'
  135. import upload from '@/components/upload.vue';
  136. export default {
  137. components: {
  138. upload,
  139. },
  140. data() {
  141. return {
  142. detailData: {
  143. carNo: '',
  144. destinationProvince: "",
  145. destinationCity: "",
  146. destinationArea: "",
  147. carNo: "",
  148. originProvince: "",
  149. originCity: "",
  150. originArea: "",
  151. purpose: '库点费用',
  152. remark: "",
  153. warehouseName: '选择仓库',
  154. },
  155. height: 150,
  156. autoHeight: true,
  157. typeRemark: 'textarea',
  158. border: true,
  159. show:false,
  160. show1:false,
  161. purposeList: [{
  162. purpose: "合同费用"
  163. },
  164. {
  165. purpose: "库点费用"
  166. },
  167. ],
  168. pcUserInfo :uni.getStorageSync('pcUserInfo'),
  169. fillingDetail: {
  170. fillingDetailInfoList: [{
  171. serialNumber:1,
  172. oilConsumption: "",
  173. currentOilPrice: "",
  174. currentConsumption: "",
  175. addressUrl: [],
  176. compId: uni.getStorageSync('pcUserInfo').compId,
  177. commonId: uni.getStorageSync('pcUserInfo').userId,
  178. fillingId: "",
  179. }],
  180. tfc: "",
  181. totalCost: ""
  182. },
  183. action: config.def().baseUrlNew+ 'appendix/api/uploadFiles',
  184. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  185. btnLoading: false, //防止重复点击
  186. isAdd: true,
  187. tfc: "",
  188. totalCost: "",
  189. }
  190. },
  191. onLoad(options) {
  192. this.height1 = uni.getSystemInfoSync().windowHeight
  193. this.id = options.id
  194. this.fillingDetail.fillingDetailInfoList[0].fillingId = this.id
  195. var that = this
  196. if (this.id) {
  197. this.seeInfo()
  198. }
  199. },
  200. onShow() {
  201. // this.warehouseInfo = uni.getStorageSync('theWarehouse1');
  202. // if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
  203. // this.detailData.warehouseName = this.warehouseInfo.warehouseName
  204. // this.$forceUpdate()
  205. // }
  206. // this.contractNoInfo = uni.getStorageSync('reContractNo1');
  207. // if (this.contractNoInfo && this.detailData.purpose == "合同费用") {
  208. // this.detailData.contractId = this.contractNoInfo.id
  209. // this.detailData.contractNo = this.contractNoInfo.contractNo
  210. // this.$api.doRequest('get', 'customerInfo/getPayeeInfo', {
  211. // contractNo: this.detailData.contractNo
  212. // }).then(res => {
  213. // this.detailData.payee=res.customerType=="企业客户"?res.compName:res.customerName
  214. // this.detailData.accountNumber=res.bankCard
  215. // this.detailData.bank=res.bankDeposit
  216. // this.detailData.bankBranch=res.bankDepositBranch
  217. // this.$forceUpdate()
  218. // })
  219. // }
  220. },
  221. methods: {
  222. selectCon() {
  223. uni.navigateTo({
  224. url: '/pages/fuelfilling/selectContract'
  225. })
  226. },
  227. selectWare() {
  228. uni.navigateTo({
  229. url: '/pages/fuelfilling/selectWarehouse?warehouseType=1'
  230. })
  231. },
  232. ltCheck(e) {
  233. this.detailData.purpose = this.purposeList[e[0]].purpose
  234. if (this.detailData.purpose == "合同费用") {
  235. this.detailData.expensesPurpose = "1"
  236. delete this.detailData.warehouseName
  237. } else if (this.detailData.purpose == "库点费用") {
  238. this.detailData.expensesPurpose = "3"
  239. delete this.detailData.contractNo
  240. }
  241. console.log(this.detailData)
  242. },
  243. async seeInfo() {
  244. await this.$api.doRequest('get', '/fuelFillingInfo/getFilling', {
  245. id: this.id
  246. }).then(res => {
  247. if (res.data.code == 200) {
  248. this.detailData = res.data.data
  249. if(this.detailData.fillingDetailInfoList&&this.detailData.fillingDetailInfoList.length>0){
  250. for (var i = 0; i < this.detailData.fillingDetailInfoList.length; i++) {
  251. this.detailData.fillingDetailInfoList[i].serialNumber=i+1
  252. this.tfc = (Number(this.tfc) + Number(this.detailData.fillingDetailInfoList[i].oilConsumption))
  253. .toFixed(2)
  254. this.totalCost = (Number(this.totalCost) + Number(this.detailData.fillingDetailInfoList[i]
  255. .currentConsumption)).toFixed(2)
  256. this.detailData.fillingDetailInfoList[i].fileList=[]
  257. if(this.detailData.fillingDetailInfoList[i].addressUrl){
  258. var arr=this.detailData.fillingDetailInfoList[i].addressUrl.split(',')
  259. this.detailData.fillingDetailInfoList[i].addressUrl=arr
  260. for (var q = 0; q < arr.length; q++) {
  261. if(arr[q]!=''){
  262. this.detailData.fillingDetailInfoList[i].fileList.push({url:arr[q]})
  263. }
  264. }
  265. }
  266. }
  267. this.fillingDetail.fillingDetailInfoList=this.detailData.fillingDetailInfoList
  268. this.$forceUpdate()
  269. }
  270. console.log(this.fillingDetail.fillingDetailInfoList)
  271. // if(this.detailData.fillingDetailInfoList){
  272. // this.fillingDetail.fillingDetailInfoList[0].serialNumber=this.detailData.fillingDetailInfoList.length+1
  273. // }
  274. }
  275. })
  276. },
  277. getImgUrl(res, index) {
  278. if(typeof(this.fillingDetail.fillingDetailInfoList[index].addressUrl)=='string'){
  279. this.fillingDetail.fillingDetailInfoList[index].addressUrl=this.fillingDetail.fillingDetailInfoList[index].addressUrl.split(',')
  280. }
  281. this.fillingDetail.fillingDetailInfoList[index].addressUrl.push(res.data.appendixPath)
  282. // if(this.fillingDetail.fillingDetailInfoList[index].addressUrl){
  283. // this.fillingDetail.fillingDetailInfoList[index].addressUrl = this.fillingDetail.fillingDetailInfoList[index].addressUrl +","+res
  284. // }else{
  285. // this.fillingDetail.fillingDetailInfoList[index].addressUrl = res
  286. // }
  287. console.log(this.fillingDetail.fillingDetailInfoList[index])
  288. // console.log('------------res-----------')
  289. },
  290. onError(error) {
  291. alert(error)
  292. console.log('------------error-----------')
  293. console.log(error)
  294. },
  295. onProgress(e) {
  296. console.log(e)
  297. },
  298. onRemove(index, num) {
  299. if(typeof(this.fillingDetail.fillingDetailInfoList[num].addressUrl)=='string'){
  300. this.fillingDetail.fillingDetailInfoList[num].addressUrl=this.fillingDetail.fillingDetailInfoList[num].addressUrl.split(',')
  301. }
  302. this.fillingDetail.fillingDetailInfoList[num].addressUrl.splice(index, 1)
  303. },
  304. filterFileType(index, lists) {
  305. console.log(lists)
  306. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  307. lists.splice(index, 1);
  308. // 当前文件不支持
  309. uni.showModal({
  310. title: '暂不支持当前图片类型',
  311. showCancel: false
  312. });
  313. } else {
  314. this.isAdd = false;
  315. }
  316. },
  317. calculate(index) {
  318. this.fillingDetail.fillingDetailInfoList[index].currentConsumption = (this.fillingDetail
  319. .fillingDetailInfoList[index].oilConsumption * this.fillingDetail.fillingDetailInfoList[index]
  320. .currentOilPrice)
  321. .toFixed(2)
  322. this.tfc = ""
  323. this.totalCost = ""
  324. for (let i = 0; i < this.fillingDetail.fillingDetailInfoList.length; i++) {
  325. this.tfc = (Number(this.tfc) + Number(this.fillingDetail.fillingDetailInfoList[i].oilConsumption))
  326. .toFixed(2)
  327. this.totalCost = (Number(this.totalCost) + Number(this.fillingDetail.fillingDetailInfoList[i]
  328. .currentConsumption)).toFixed(2)
  329. this.$forceUpdate()
  330. }
  331. },
  332. delApply(index) {
  333. var that = this
  334. if(this.fillingDetail.fillingDetailInfoList.length>1){
  335. if(this.fillingDetail.fillingDetailInfoList[index].id){
  336. that.$api.doRequest('post', '/fillingDetailInfo/deleteInfo',
  337. {id:this.fillingDetail.fillingDetailInfoList[index].id}
  338. )
  339. .then(res => {
  340. uni.hideLoading()
  341. if (res.data.code == 200) {
  342. that.$api.msg('删除成功')
  343. } else {
  344. that.$api.msg('删除失败')
  345. return
  346. }
  347. })
  348. }
  349. console.log(this.$refs,this.$refs[`upload${index}`])
  350. // this.$refs[`upload${index}`].clear
  351. this.$refs[`upload${index}`][0].clear()
  352. this.fillingDetail.fillingDetailInfoList[index].fileList=[]
  353. this.fillingDetail.fillingDetailInfoList.splice(index, 1)
  354. console.log(this.fillingDetail.fillingDetailInfoList)
  355. this.tfc=0
  356. this.totalCost=0
  357. for (var i = 0; i < this.fillingDetail.fillingDetailInfoList.length; i++) {
  358. if(this.fillingDetail.fillingDetailInfoList[i].addressUrl.length>0){
  359. this.fillingDetail.fillingDetailInfoList[i].fileList=[]
  360. var arr=this.fillingDetail.fillingDetailInfoList[i].addressUrl
  361. for (var q = 0; q < arr.length; q++) {
  362. if(arr[q]!=''){
  363. this.fillingDetail.fillingDetailInfoList[i].fileList.push({url:arr[q]})
  364. }
  365. }
  366. }
  367. console.log(this.fillingDetail.fillingDetailInfoList)
  368. this.fillingDetail.fillingDetailInfoList[i].serialNumber=i+1
  369. this.tfc = (Number(this.tfc) + Number(this.fillingDetail.fillingDetailInfoList[i].oilConsumption))
  370. .toFixed(2)
  371. this.totalCost = (Number(this.totalCost) + Number(this.fillingDetail.fillingDetailInfoList[i]
  372. .currentConsumption)).toFixed(2)
  373. }
  374. this.$forceUpdate()
  375. }else{
  376. uni.showToast({
  377. title: "至少要保留1条不可删除的!",
  378. icon: "none"
  379. })
  380. }
  381. },
  382. addApply() {
  383. this.fillingDetail.fillingDetailInfoList.push({
  384. serialNumber:Number(this.fillingDetail.fillingDetailInfoList[this.fillingDetail.fillingDetailInfoList.length-1].serialNumber)+1,
  385. oilConsumption: "",
  386. currentOilPrice: "",
  387. currentConsumption: "",
  388. addressUrl: [],
  389. compId: uni.getStorageSync('pcUserInfo').compId,
  390. commonId: uni.getStorageSync('pcUserInfo').userId,
  391. fillingId: this.id
  392. })
  393. },
  394. submitApply() {
  395. var that = this
  396. for (let i = 0; i < that.fillingDetail.fillingDetailInfoList.length; i++) {
  397. let count = i + 1
  398. if (!that.fillingDetail.fillingDetailInfoList[i].oilConsumption) {
  399. uni.showToast({
  400. title: "加油-" + count + " 油耗不能为空!",
  401. icon: "none"
  402. })
  403. return
  404. }
  405. if (!that.fillingDetail.fillingDetailInfoList[i].currentOilPrice) {
  406. uni.showToast({
  407. title: "加油-" + count + " 当前油价不能为空!",
  408. icon: "none"
  409. })
  410. return
  411. }
  412. if (that.fillingDetail.fillingDetailInfoList[i].addressUrl.length == 0) {
  413. uni.showToast({
  414. title: "加油-" + count + " 请上传加油凭证!",
  415. icon: "none"
  416. })
  417. return
  418. }
  419. }
  420. this.show=true
  421. },
  422. submit(){
  423. var that = this
  424. uni.showLoading({
  425. title: '加载中',
  426. mask: true
  427. });
  428. that.fillingDetail.carNo=that.detailData.carNo
  429. that.fillingDetail.tfc = that.tfc
  430. that.fillingDetail.remark=that.detailData.remark
  431. that.fillingDetail.totalCost = that.totalCost
  432. for (let i = 0; i < that.fillingDetail.fillingDetailInfoList.length; i++) {
  433. that.fillingDetail.fillingDetailInfoList[i].addressUrl = that.fillingDetail
  434. .fillingDetailInfoList[i].addressUrl.toString()
  435. }
  436. that.$api.doRequest('post', '/fillingDetailInfo/api/addFillingDetail',
  437. that.fillingDetail
  438. )
  439. .then(res => {
  440. uni.hideLoading()
  441. if (res.data.code == 200) {
  442. that.$api.msg('提交成功')
  443. uni.navigateBack({
  444. delta: 2
  445. });
  446. } else {
  447. that.$api.msg(res.data.message)
  448. }
  449. })
  450. }
  451. }
  452. }
  453. </script>
  454. <style lang='scss' scoped>
  455. /* .center {
  456. padding-bottom: 400rpx;
  457. } */
  458. page {
  459. background: #F5F6FA;
  460. }
  461. .title_b {
  462. margin: 20rpx 20rpx 0rpx 20rpx;
  463. padding: 20rpx 10rpx 20rpx 10rpx;
  464. font-weight: 550;
  465. }
  466. .c-row {
  467. display: -webkit-box;
  468. display: -webkit-flex;
  469. display: flex;
  470. -webkit-box-align: center;
  471. -webkit-align-items: center;
  472. align-items: center;
  473. padding: 20rpx 30rpx;
  474. position: relative;
  475. }
  476. .level2-title {}
  477. .level2-title {
  478. font-weight: 700;
  479. color: #000000;
  480. }
  481. .jt-icon {
  482. position: relative;
  483. top: 6rpx;
  484. width: 60rpx;
  485. margin: 0 20rpx;
  486. }
  487. .xf-iamge {
  488. width: 74rpx;
  489. height: 43rpx;
  490. position: absolute;
  491. top: -20rpx;
  492. right: 0;
  493. }
  494. .ssx {
  495. width: 20px;
  496. height: 20px;
  497. background: linear-gradient(180deg, #C8D7E5 0%, #AFC1D6 100%);
  498. font-family: PingFangSC-Medium, PingFang SC;
  499. font-weight: 500;
  500. color: #FFFFFF;
  501. border-radius: 50%;
  502. display: flex;
  503. justify-content: center;
  504. align-items: center;
  505. margin-right: 5px;
  506. }
  507. .con-list {
  508. -webkit-box-flex: 1;
  509. -webkit-flex: 1;
  510. flex: 1;
  511. display: -webkit-box;
  512. display: -webkit-flex;
  513. display: flex;
  514. -webkit-box-orient: vertical;
  515. -webkit-box-direction: normal;
  516. -webkit-flex-direction: column;
  517. flex-direction: column;
  518. color: #303133;
  519. line-height: 40rpx;
  520. text-align: right;
  521. .item1,
  522. .item3 {
  523. // width: 40%;
  524. display: flex;
  525. .text {
  526. text-overflow: ellipsis;
  527. overflow: hidden;
  528. white-space: nowrap;
  529. }
  530. }
  531. .item1 .text {
  532. text-align: left;
  533. }
  534. .item3 .text {
  535. text-align: right;
  536. }
  537. }
  538. .align-center {
  539. align-items: center;
  540. justify-content: flex-end;
  541. }
  542. .wrap1 {
  543. background: #fff;
  544. margin: 10px;
  545. border-radius: 15px 10px;
  546. margin-top: 18px;
  547. input {}
  548. .tit {
  549. margin-left: 14px;
  550. width: 47px;
  551. padding-top: 10px;
  552. }
  553. .eliminate1 {
  554. max-width: 50%;
  555. width: 20px;
  556. height: 20px;
  557. font-family: PingFangSC-Medium, PingFang SC;
  558. font-weight: 500;
  559. border-radius: 50%;
  560. display: flex;
  561. justify-content: center;
  562. align-items: center;
  563. margin-right: 5px;
  564. margin-top: -20px;
  565. margin-left: 73px;
  566. }
  567. .eliminate2 {
  568. max-width: 50%;
  569. width: 20px;
  570. height: 20px;
  571. font-family: PingFangSC-Medium, PingFang SC;
  572. font-weight: 500;
  573. border-radius: 50%;
  574. display: flex;
  575. justify-content: center;
  576. align-items: center;
  577. margin-right: 5px;
  578. margin-top: -20px;
  579. margin-left: 100px;
  580. }
  581. .upload {
  582. /* margin-left: 157px; */
  583. }
  584. }
  585. .wrap {
  586. background: #fff;
  587. margin: 10px;
  588. border-radius: 15px 10px;
  589. margin-top: 18px;
  590. input {}
  591. >.title {
  592. padding: 10px 16px;
  593. }
  594. }
  595. .footer {
  596. background: #fff;
  597. width: 100%;
  598. padding: 20px 10px;
  599. .button {
  600. background: #4089ff;
  601. width: 90%;
  602. margin: 0px auto;
  603. padding: 10px;
  604. color: #fff;
  605. text-align: center;
  606. border-radius: 30px;
  607. margin-top: 10px;
  608. }
  609. }
  610. .buns_item {
  611. display: flex;
  612. padding: 80rpx 0 50rpx 0;
  613. justify-content: space-around;
  614. }
  615. .but_css {
  616. background: #22C572;
  617. width: 40%;
  618. padding: 20rpx;
  619. color: #fff;
  620. text-align: center;
  621. border-radius: 20rpx;
  622. }
  623. /deep/.u-radio-group {
  624. flex-direction: row-reverse;
  625. }
  626. .no-boder {
  627. border: 0;
  628. }
  629. .textarea {
  630. background: #F9F9FA;
  631. border: 1px solid #EEEEEE;
  632. }
  633. .remark {
  634. position: absolute;
  635. right: 10px;
  636. bottom: 20px;
  637. color: #AFB3BF;
  638. }
  639. .voucher{
  640. margin-left: 20rpx;
  641. }
  642. .wrap1 {
  643. padding-bottom: 10px;
  644. font-size: 14px;
  645. background: #fff;
  646. margin: 10px;
  647. border-radius: 10px;
  648. input {
  649. font-size: 14px;
  650. }
  651. >.title {
  652. padding: 10px 16px;
  653. }
  654. }
  655. </style>