apply_for_reimbursement.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  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 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)" @on-error="onError"
  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){ var arr=this.detailData.fillingDetailInfoList[i].addressUrl.split(',')
  258. for (var q = 0; q < arr.length; q++) {
  259. if(arr[q]!=''){
  260. this.detailData.fillingDetailInfoList[i].fileList.push({url:arr[q]})
  261. }
  262. }
  263. }
  264. }
  265. this.fillingDetail.fillingDetailInfoList=this.detailData.fillingDetailInfoList
  266. this.$forceUpdate()
  267. }
  268. console.log(this.fillingDetail.fillingDetailInfoList)
  269. // if(this.detailData.fillingDetailInfoList){
  270. // this.fillingDetail.fillingDetailInfoList[0].serialNumber=this.detailData.fillingDetailInfoList.length+1
  271. // }
  272. }
  273. })
  274. },
  275. getImgUrl(res, index) {
  276. if(typeof(this.fillingDetail.fillingDetailInfoList[index].addressUrl)=='string'){
  277. this.fillingDetail.fillingDetailInfoList[index].addressUrl=this.fillingDetail.fillingDetailInfoList[index].addressUrl.split(',')
  278. }
  279. this.fillingDetail.fillingDetailInfoList[index].addressUrl.push(res.data.appendixPath)
  280. // if(this.fillingDetail.fillingDetailInfoList[index].addressUrl){
  281. // this.fillingDetail.fillingDetailInfoList[index].addressUrl = this.fillingDetail.fillingDetailInfoList[index].addressUrl +","+res
  282. // }else{
  283. // this.fillingDetail.fillingDetailInfoList[index].addressUrl = res
  284. // }
  285. console.log(this.fillingDetail.fillingDetailInfoList[index])
  286. // console.log('------------res-----------')
  287. },
  288. onError(error) {
  289. alert(error)
  290. console.log('------------error-----------')
  291. console.log(error)
  292. },
  293. onProgress(e) {
  294. console.log(e)
  295. },
  296. onRemove(index, num) {
  297. if(typeof(this.fillingDetail.fillingDetailInfoList[num].addressUrl)=='string'){
  298. this.fillingDetail.fillingDetailInfoList[num].addressUrl=this.fillingDetail.fillingDetailInfoList[num].addressUrl.split(',')
  299. }
  300. this.fillingDetail.fillingDetailInfoList[num].addressUrl.splice(index, 1)
  301. },
  302. filterFileType(index, lists) {
  303. console.log(lists)
  304. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  305. lists.splice(index, 1);
  306. // 当前文件不支持
  307. uni.showModal({
  308. title: '暂不支持当前图片类型',
  309. showCancel: false
  310. });
  311. } else {
  312. this.isAdd = false;
  313. }
  314. },
  315. calculate(index) {
  316. this.fillingDetail.fillingDetailInfoList[index].currentConsumption = (this.fillingDetail
  317. .fillingDetailInfoList[index].oilConsumption * this.fillingDetail.fillingDetailInfoList[index]
  318. .currentOilPrice)
  319. .toFixed(2)
  320. this.tfc = ""
  321. this.totalCost = ""
  322. for (let i = 0; i < this.fillingDetail.fillingDetailInfoList.length; i++) {
  323. this.tfc = (Number(this.tfc) + Number(this.fillingDetail.fillingDetailInfoList[i].oilConsumption))
  324. .toFixed(2)
  325. this.totalCost = (Number(this.totalCost) + Number(this.fillingDetail.fillingDetailInfoList[i]
  326. .currentConsumption)).toFixed(2)
  327. this.$forceUpdate()
  328. }
  329. },
  330. delApply(index) {
  331. var that = this
  332. if(this.fillingDetail.fillingDetailInfoList.length>1){
  333. if(this.fillingDetail.fillingDetailInfoList[index].id){
  334. that.$api.doRequest('post', '/fillingDetailInfo/deleteInfo',
  335. {id:this.fillingDetail.fillingDetailInfoList[index].id}
  336. )
  337. .then(res => {
  338. uni.hideLoading()
  339. if (res.data.code == 200) {
  340. that.$api.msg('删除成功')
  341. } else {
  342. that.$api.msg('删除失败')
  343. return
  344. }
  345. })
  346. }
  347. console.log(this.$refs,this.$refs[`upload${index}`])
  348. // this.$refs[`upload${index}`].clear
  349. this.$refs[`upload${index}`][0].clear()
  350. this.fillingDetail.fillingDetailInfoList[index].fileList=[]
  351. this.fillingDetail.fillingDetailInfoList.splice(index, 1)
  352. console.log(this.fillingDetail.fillingDetailInfoList)
  353. this.tfc=0
  354. this.totalCost=0
  355. for (var i = 0; i < this.fillingDetail.fillingDetailInfoList.length; i++) {
  356. this.fillingDetail.fillingDetailInfoList[i].serialNumber=i+1
  357. this.tfc = (Number(this.tfc) + Number(this.fillingDetail.fillingDetailInfoList[i].oilConsumption))
  358. .toFixed(2)
  359. this.totalCost = (Number(this.totalCost) + Number(this.fillingDetail.fillingDetailInfoList[i]
  360. .currentConsumption)).toFixed(2)
  361. }
  362. this.$forceUpdate()
  363. }else{
  364. uni.showToast({
  365. title: "至少要保留1条不可删除的!",
  366. icon: "none"
  367. })
  368. }
  369. },
  370. addApply() {
  371. this.fillingDetail.fillingDetailInfoList.push({
  372. serialNumber:Number(this.fillingDetail.fillingDetailInfoList[this.fillingDetail.fillingDetailInfoList.length-1].serialNumber)+1,
  373. oilConsumption: "",
  374. currentOilPrice: "",
  375. currentConsumption: "",
  376. addressUrl: [],
  377. compId: uni.getStorageSync('pcUserInfo').compId,
  378. commonId: uni.getStorageSync('pcUserInfo').userId,
  379. fillingId: this.id
  380. })
  381. },
  382. submitApply() {
  383. var that = this
  384. for (let i = 0; i < that.fillingDetail.fillingDetailInfoList.length; i++) {
  385. let count = i + 1
  386. if (!that.fillingDetail.fillingDetailInfoList[i].oilConsumption) {
  387. uni.showToast({
  388. title: "加油-" + count + " 油耗不能为空!",
  389. icon: "none"
  390. })
  391. return
  392. }
  393. if (!that.fillingDetail.fillingDetailInfoList[i].currentOilPrice) {
  394. uni.showToast({
  395. title: "加油-" + count + " 当前油价不能为空!",
  396. icon: "none"
  397. })
  398. return
  399. }
  400. if (that.fillingDetail.fillingDetailInfoList[i].addressUrl.length == 0) {
  401. uni.showToast({
  402. title: "加油-" + count + " 请上传加油凭证!",
  403. icon: "none"
  404. })
  405. return
  406. }
  407. }
  408. this.show=true
  409. },
  410. submit(){
  411. var that = this
  412. uni.showLoading({
  413. title: '加载中',
  414. mask: true
  415. });
  416. that.fillingDetail.tfc = that.tfc
  417. that.fillingDetail.remark=that.detailData.remark
  418. that.fillingDetail.totalCost = that.totalCost
  419. for (let i = 0; i < that.fillingDetail.fillingDetailInfoList.length; i++) {
  420. that.fillingDetail.fillingDetailInfoList[i].addressUrl = that.fillingDetail
  421. .fillingDetailInfoList[i].addressUrl.toString()
  422. }
  423. that.$api.doRequest('post', '/fillingDetailInfo/api/addFillingDetail',
  424. that.fillingDetail
  425. )
  426. .then(res => {
  427. uni.hideLoading()
  428. if (res.data.code == 200) {
  429. that.$api.msg('提交成功')
  430. uni.navigateBack({
  431. delta: 2
  432. });
  433. } else {
  434. that.$api.msg(res.data.message)
  435. }
  436. })
  437. }
  438. }
  439. }
  440. </script>
  441. <style lang='scss' scoped>
  442. /* .center {
  443. padding-bottom: 400rpx;
  444. } */
  445. page {
  446. background: #F5F6FA;
  447. }
  448. .title_b {
  449. margin: 20rpx 20rpx 0rpx 20rpx;
  450. padding: 20rpx 10rpx 20rpx 10rpx;
  451. font-weight: 550;
  452. }
  453. .c-row {
  454. display: -webkit-box;
  455. display: -webkit-flex;
  456. display: flex;
  457. -webkit-box-align: center;
  458. -webkit-align-items: center;
  459. align-items: center;
  460. padding: 20rpx 30rpx;
  461. position: relative;
  462. }
  463. .level2-title {}
  464. .level2-title {
  465. font-weight: 700;
  466. color: #000000;
  467. }
  468. .jt-icon {
  469. position: relative;
  470. top: 6rpx;
  471. width: 60rpx;
  472. margin: 0 20rpx;
  473. }
  474. .xf-iamge {
  475. width: 74rpx;
  476. height: 43rpx;
  477. position: absolute;
  478. top: -20rpx;
  479. right: 0;
  480. }
  481. .ssx {
  482. width: 20px;
  483. height: 20px;
  484. background: linear-gradient(180deg, #C8D7E5 0%, #AFC1D6 100%);
  485. font-family: PingFangSC-Medium, PingFang SC;
  486. font-weight: 500;
  487. color: #FFFFFF;
  488. border-radius: 50%;
  489. display: flex;
  490. justify-content: center;
  491. align-items: center;
  492. margin-right: 5px;
  493. }
  494. .con-list {
  495. -webkit-box-flex: 1;
  496. -webkit-flex: 1;
  497. flex: 1;
  498. display: -webkit-box;
  499. display: -webkit-flex;
  500. display: flex;
  501. -webkit-box-orient: vertical;
  502. -webkit-box-direction: normal;
  503. -webkit-flex-direction: column;
  504. flex-direction: column;
  505. color: #303133;
  506. line-height: 40rpx;
  507. text-align: right;
  508. .item1,
  509. .item3 {
  510. // width: 40%;
  511. display: flex;
  512. .text {
  513. text-overflow: ellipsis;
  514. overflow: hidden;
  515. white-space: nowrap;
  516. }
  517. }
  518. .item1 .text {
  519. text-align: left;
  520. }
  521. .item3 .text {
  522. text-align: right;
  523. }
  524. }
  525. .align-center {
  526. align-items: center;
  527. justify-content: flex-end;
  528. }
  529. .wrap1 {
  530. background: #fff;
  531. margin: 10px;
  532. border-radius: 15px 10px;
  533. margin-top: 18px;
  534. input {}
  535. .tit {
  536. margin-left: 14px;
  537. width: 47px;
  538. padding-top: 10px;
  539. }
  540. .eliminate1 {
  541. max-width: 50%;
  542. width: 20px;
  543. height: 20px;
  544. font-family: PingFangSC-Medium, PingFang SC;
  545. font-weight: 500;
  546. border-radius: 50%;
  547. display: flex;
  548. justify-content: center;
  549. align-items: center;
  550. margin-right: 5px;
  551. margin-top: -20px;
  552. margin-left: 73px;
  553. }
  554. .eliminate2 {
  555. max-width: 50%;
  556. width: 20px;
  557. height: 20px;
  558. font-family: PingFangSC-Medium, PingFang SC;
  559. font-weight: 500;
  560. border-radius: 50%;
  561. display: flex;
  562. justify-content: center;
  563. align-items: center;
  564. margin-right: 5px;
  565. margin-top: -20px;
  566. margin-left: 100px;
  567. }
  568. .upload {
  569. /* margin-left: 157px; */
  570. }
  571. }
  572. .wrap {
  573. background: #fff;
  574. margin: 10px;
  575. border-radius: 15px 10px;
  576. margin-top: 18px;
  577. input {}
  578. >.title {
  579. padding: 10px 16px;
  580. }
  581. }
  582. .footer {
  583. background: #fff;
  584. width: 100%;
  585. padding: 20px 10px;
  586. .button {
  587. background: #4089ff;
  588. width: 90%;
  589. margin: 0px auto;
  590. padding: 10px;
  591. color: #fff;
  592. text-align: center;
  593. border-radius: 30px;
  594. margin-top: 10px;
  595. }
  596. }
  597. .buns_item {
  598. display: flex;
  599. padding: 80rpx 0 50rpx 0;
  600. justify-content: space-around;
  601. }
  602. .but_css {
  603. background: #22C572;
  604. width: 40%;
  605. padding: 20rpx;
  606. color: #fff;
  607. text-align: center;
  608. border-radius: 20rpx;
  609. }
  610. /deep/.u-radio-group {
  611. flex-direction: row-reverse;
  612. }
  613. .no-boder {
  614. border: 0;
  615. }
  616. .textarea {
  617. background: #F9F9FA;
  618. border: 1px solid #EEEEEE;
  619. }
  620. .remark {
  621. position: absolute;
  622. right: 10px;
  623. bottom: 20px;
  624. color: #AFB3BF;
  625. }
  626. .voucher{
  627. margin-left: 20rpx;
  628. }
  629. .wrap1 {
  630. padding-bottom: 10px;
  631. font-size: 14px;
  632. background: #fff;
  633. margin: 10px;
  634. border-radius: 10px;
  635. input {
  636. font-size: 14px;
  637. }
  638. >.title {
  639. padding: 10px 16px;
  640. }
  641. }
  642. </style>