request_funds.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <template>
  2. <view class="content">
  3. <view class='wrap'>
  4. <view class="xinxi" v-if="reType == 2 || expensesType == '2'" style="font-size: 28rpx; ">请款信息</view>
  5. <view class="xinxi" v-if="reType == 1 || expensesType == '1'" style="font-size: 28rpx; ">收款信息</view>
  6. <view class="c-row">
  7. <view class="title">用途</view>
  8. <view class="con-list">
  9. <view @click='show=true'>{{detailData.purpose}}
  10. <u-icon name="arrow-right" color=""></u-icon>
  11. </view>
  12. <u-picker :range="purposeList" range-key="purpose" @confirm='ltCheck($event)' v-model="show"
  13. mode="selector">
  14. </u-picker>
  15. </view>
  16. </view>
  17. <view class="c-row" v-if="detailData.purpose == '库点费用'">
  18. <view class="title">仓库名称</view>
  19. <view class="con-list">
  20. <view @click='selectWare()'>{{detailData.warehouseName?detailData.warehouseName:"请选择仓库名称"}}
  21. <u-icon name="arrow-right" color=""></u-icon>
  22. </view>
  23. </view>
  24. </view>
  25. <!-- <view class="c-row" v-if="detailData.purpose == '库点费用'&&reType == 2">
  26. <view class="title">仓储费</view>
  27. <view class="con-list">
  28. <view @click='show3=true'>{{detailData.flag}}
  29. <u-icon name="arrow-right" color=""></u-icon>
  30. </view>
  31. </view>
  32. </view> -->
  33. <u-picker :range="typeList1" range-key="value" @confirm='typeCheck1($event)' v-model="show3"
  34. mode="selector">
  35. </u-picker>
  36. <view class="c-row" v-if="detailData.purpose == '库点费用'">
  37. <view class="title">类型</view>
  38. <view class="con-list">
  39. <view @click='show2=true'>{{detailData.wareExpenseType?detailData.wareExpenseType:"请选择类型"}}
  40. <u-icon name="arrow-right" color=""></u-icon>
  41. </view>
  42. </view>
  43. </view>
  44. <u-picker :range="typeList" range-key="value" @confirm='typeCheck($event)' v-model="show2" mode="selector">
  45. </u-picker>
  46. <view class="c-row" v-if="detailData.purpose == '合同费用'">
  47. <view class="title">合同编号</view>
  48. <view class="con-list">
  49. <view @click='selectCon'>{{detailData.contractNo?detailData.contractNo:"请选择合同编号"}}
  50. <u-icon name="arrow-right" color=""></u-icon>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="c-row">
  55. <view class="title">费用名称</view>
  56. <view class="con-list">
  57. <input v-model='detailData.expenseName' placeholder="输入费用名称,1-15个字"></input>
  58. </view>
  59. </view>
  60. <view v-if="reType == 2 || expensesType == '2'" class="c-row">
  61. <view class="title">付款方名头</view>
  62. <view class="con-list">
  63. <input v-model='detailData.payerHeader' maxlength='25' placeholder="输入付款方名头"></input>
  64. </view>
  65. </view>
  66. <view v-show="reType == 2&&detailData.purpose=='经营性费用' || expensesType == '2'&&detailData.purpose=='经营性费用'"
  67. class="c-row">
  68. <view class="title">所属名头</view>
  69. <view class="con-list">
  70. <view @click='show1=true'>{{detailData.belongName?detailData.belongName:"请选择所属名头"}}
  71. <u-icon name="arrow-right" color=""></u-icon>
  72. </view>
  73. </view>
  74. </view>
  75. <u-picker :range="namelist" range-key="name" @confirm='confirmname($event)' v-model="show1" mode="selector">
  76. </u-picker>
  77. <view class="c-row">
  78. <view class="title">金额(元)</view>
  79. <view class="con-list">
  80. <input type='digit' v-if="reType == '2' || expensesType == '2'" v-model='detailData.amountMoney'
  81. placeholder="输入请款金额"></input>
  82. <input type='digit' v-if="reType == '1' || expensesType == '1'" v-model='detailData.amountMoney'
  83. placeholder="输入收款金额"></input>
  84. </view>
  85. <checkbox-group @change="checkboxChange" v-if="reType == '2' || expensesType == '2'">
  86. <checkbox value="1" style="transform:scale(0.7)" />备用金支付
  87. </checkbox-group>
  88. </view>
  89. <view class="c-row">
  90. <view class="left">备注</view>
  91. </view>
  92. <view style='position:relative;' class="wrap no-boder">
  93. <u-input class='textarea' v-model="detailData.remark" :type="typeRemark" :border="border"
  94. placeholder="选填,不超过150字" :height="height" :auto-height="autoHeight" maxlength="150" />
  95. <view class="remark">
  96. {{detailData.remark?detailData.remark.length:'0'}}/150个字
  97. </view>
  98. </view>
  99. <view class="c-row">
  100. <view class="title">附件(选填)</view>
  101. </view>
  102. <view style="display: flex;flex-wrap: wrap;">
  103. <view v-for='(item,index) in imglist2' v-if="imglist2 && imglist2.length > 0"
  104. style="position: relative;margin-left: 20rpx;">
  105. <view class="delete_img" @click="deleteImg(index)">X</view>
  106. <image :src="item.appendixPath" mode="" style="width: 100px;height: 100px;"></image>
  107. </view>
  108. <view class="biankuang" @click="uploadClick" v-if="imglist2.length < 30">
  109. <view class="tubiao">
  110. <image class="upload" src="../../static/img/oa_office/upload.png" mode="">
  111. </image>
  112. <view class="" style="color:#8c8f98;">
  113. 选择图片
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <view v-if="reType == 2 || expensesType == '2'" class='wrap margin-bottom'>
  120. <view class="xinxi" style="font-size: 28rpx; ">收款账户信息</view>
  121. <view class="c-row">
  122. <view class="title">收款方</view>
  123. <view class="con-list">
  124. <input v-model='detailData.payee' placeholder="输入收款方"></input>
  125. </view>
  126. </view>
  127. <view class="c-row">
  128. <view class="title">账户</view>
  129. <view class="con-list">
  130. <input v-model='detailData.accountNumber' placeholder="输入账户"></input>
  131. </view>
  132. </view>
  133. <view class="c-row">
  134. <view class="title">开户行</view>
  135. <view class="con-list">
  136. <input v-model='detailData.bank' placeholder="输入开户行"></input>
  137. </view>
  138. </view>
  139. <view class="c-row">
  140. <view class="title">开户支行</view>
  141. <view class="con-list">
  142. <input v-model='detailData.bankBranch' placeholder="输入开户支行"></input>
  143. </view>
  144. </view>
  145. </view>
  146. <u-toast ref="uToast" />
  147. <view class="bottom-btn">
  148. <view @click="submit()" class="btn">提交</view>
  149. </view>
  150. </view>
  151. </template>
  152. <script>
  153. import * as config from '../../config'
  154. export default {
  155. data() {
  156. return {
  157. show: false,
  158. show2: false,
  159. showWare: false,
  160. detailData: {
  161. // flag: '否',
  162. purpose: '库点费用',
  163. remark: "",
  164. wareExpenseType: '杂费',
  165. warehouseName: '选择仓库',
  166. expenseName: '',
  167. amountMoney: '',
  168. expensesPurpose: '3',
  169. expensesType: '',
  170. paymentIdentifi: '',
  171. fieldName: '',
  172. identification: '1',
  173. costType: '3',
  174. agent: '',
  175. storageFeeFlag: '',
  176. totalDistribution: '0',
  177. },
  178. fileList1: [],
  179. show1: false,
  180. warehouseType: '1',
  181. typeRemark: 'textarea',
  182. border: true,
  183. show3: false,
  184. imglist: [], //存
  185. imglist2: [], //展示
  186. height: 150,
  187. autoHeight: true,
  188. purposeList: [{
  189. purpose: "合同费用"
  190. },
  191. {
  192. purpose: "库点费用"
  193. },
  194. {
  195. purpose: "经营性费用"
  196. },
  197. {
  198. purpose: "备用金"
  199. },
  200. ],
  201. typeList1: [{
  202. value: "是"
  203. },
  204. {
  205. value: "否"
  206. },
  207. ],
  208. typeList: [{
  209. value: "杂费"
  210. },
  211. {
  212. value: "水电费"
  213. },
  214. {
  215. value: "伙食费"
  216. },
  217. {
  218. value: "人工费"
  219. },
  220. {
  221. value: "物质采买"
  222. },
  223. {
  224. value: "燃料费"
  225. },
  226. {
  227. value: "加油费"
  228. },
  229. {
  230. value: "仓储费"
  231. },
  232. ],
  233. namelist: [{
  234. name: "黑龙江中天昊元贸易有限公司"
  235. },
  236. {
  237. name: "黑龙江中天昊元物流部"
  238. },
  239. {
  240. name: "中天昊元-建发合营"
  241. },
  242. {
  243. name: "中天昊元-六水香合营"
  244. },
  245. {
  246. name: "中天昊元-昊友合营"
  247. },
  248. {
  249. name: "黑龙江中天昊元贸易有限公司辽宁分公司"
  250. },
  251. {
  252. name: "黑龙江众利合粮食贸易有限公司"
  253. },
  254. {
  255. name: "黑龙江欣洋粮食贸易有限公司"
  256. },
  257. {
  258. name: "黑龙江启兴粮食贸易有限公司"
  259. },
  260. {
  261. name: "黑龙江鑫满仓粮食贸易有限公司"
  262. },
  263. {
  264. name: "黑龙江谷香粮食贸易有限公司"
  265. },
  266. {
  267. name: "黑龙江益储益运粮食贸易有限公司"
  268. },
  269. {
  270. name: "黑龙江海天粮食农业发展有限公司"
  271. },
  272. {
  273. name: "黑龙江中天绿粮供应链管理有限公司"
  274. },
  275. {
  276. name: "中天昊元(海南)国际贸易有限公司"
  277. },
  278. {
  279. name: "克东县嘉达建筑装潢有限责任公司"
  280. },
  281. {
  282. name: "克东县金博粮食有限公司"
  283. },
  284. {
  285. name: "克东县安正商贸有限公司"
  286. },
  287. {
  288. name: "克东县万祥农业科技开发有限公司"
  289. },
  290. {
  291. name: "克东县万润运输有限公司"
  292. },
  293. {
  294. name: "黑龙江大金仓农业科技有限公司"
  295. },
  296. {
  297. name: "克东县华祥通讯管线工程有限公司"
  298. },
  299. {
  300. name: "黑龙江峰海粮食贸易有限公司(季度报 增值税季度)"
  301. },
  302. {
  303. name: "黑龙江鑫宝仓粮食贸易有限公司"
  304. },
  305. {
  306. name: "黑龙江中仓粮食贸易有限公司"
  307. },
  308. {
  309. name: "黑龙江晟鸿泰粮食贸易有限公司"
  310. },
  311. {
  312. name: "黑龙江新粮仓粮食贸易有限公司"
  313. },
  314. {
  315. name: "齐齐哈尔米林设备制造有限公司"
  316. },
  317. ],
  318. reType: "",
  319. flag: "",
  320. warehouseInfo: {},
  321. contractNoInfo: {},
  322. }
  323. },
  324. onLoad(options) {
  325. this.detailData.payerHeader = uni.getStorageSync('compName1').company
  326. this.$forceUpdate()
  327. this.reType = options.reType
  328. this.expensesType = options.expensesType
  329. if (this.reType == 2 || this.expensesType == 2) {
  330. uni.setNavigationBarTitle({
  331. title: '请款'
  332. });
  333. }
  334. this.id = options.id
  335. if (this.id) {
  336. this.getRequest()
  337. } else {
  338. return
  339. }
  340. },
  341. onShow() {
  342. this.warehouseInfo = uni.getStorageSync('theWarehouse');
  343. if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
  344. this.detailData.warehouseName = this.warehouseInfo.warehouseName
  345. this.$forceUpdate()
  346. }
  347. this.contractNoInfo = uni.getStorageSync('reContractNo');
  348. if (this.contractNoInfo && this.detailData.purpose == "合同费用") {
  349. this.detailData.contractId = this.contractNoInfo.id
  350. this.detailData.contractNo = this.contractNoInfo.contractNo
  351. this.$api.doRequest('get', 'customerInfo/getPayeeInfo', {
  352. contractNo: this.detailData.contractNo
  353. }).then(res => {
  354. this.detailData.payee = res.customerType == "企业客户" ? res.compName : res.customerName
  355. this.detailData.accountNumber = res.bankCard
  356. this.detailData.bank = res.bankDeposit
  357. this.detailData.bankBranch = res.bankDepositBranch
  358. this.$forceUpdate()
  359. })
  360. }
  361. },
  362. watch: {
  363. imglist: {
  364. handler: function() {
  365. this.$api.doRequest('get', 'appendix/query/getFileList', {
  366. appendixIds: this.imglist.toString()
  367. }).then(res => {
  368. this.imglist2 = res.data.data
  369. })
  370. },
  371. deep: true
  372. }
  373. },
  374. methods: {
  375. checkboxChange(e) {
  376. if (e.detail.value[0] == 1) {
  377. this.detailData.paymentIdentifi = 1
  378. } else {
  379. this.detailData.paymentIdentifi = 0
  380. }
  381. },
  382. typeCheck(e) {
  383. this.detailData.wareExpenseType = this.typeList[e[0]].value
  384. },
  385. typeCheck1(e) {
  386. this.detailData.flag = this.typeList1[e[0]].value
  387. },
  388. afterRead(e) {
  389. console.log(e)
  390. },
  391. async uploadClick() {
  392. let baseUrlNew = config.def().baseUrlNew
  393. let pcUserInfo = uni.getStorageSync('pcUserInfo')
  394. console.log('baseUrlNew', baseUrlNew)
  395. if (!pcUserInfo) {
  396. uni.showToast({
  397. title: "登录已失效,请重新登录"
  398. })
  399. return
  400. }
  401. uni.chooseImage({
  402. count: 10,
  403. success: (chooseImageRes) => {
  404. console.log('chooseImageRes', chooseImageRes)
  405. let files = []
  406. for (let item of chooseImageRes.tempFiles) {
  407. files.push({
  408. name: 'fileName',
  409. url: item.path
  410. });
  411. }
  412. console.log(files)
  413. for (let i = 0; i < files.length; i++) {
  414. uni.uploadFile({
  415. url: baseUrlNew + 'appendix/api/uploadFiles',
  416. // url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
  417. // files: files[i],
  418. filePath: files[i].url,
  419. name: files[i].name,
  420. formData: {
  421. // fileName: chooseImageRes.tempFiles[0],
  422. companyId: pcUserInfo.compId,
  423. modelId: '',
  424. vesselId: '',
  425. },
  426. success: (uploadFileRes) => {
  427. console.log(JSON.parse(uploadFileRes.data))
  428. var data = JSON.parse(uploadFileRes.data).data
  429. data.compId = pcUserInfo.compId
  430. this.$api.doRequest('post', '/appendix/api/saveFilesApp', {
  431. newAppendixs: [data],
  432. oldAppendixIds: ""
  433. }).then(res => {
  434. this.imglist.push(res.data.data[0])
  435. console.log(res)
  436. })
  437. console.log(uploadFileRes.data);
  438. },
  439. fail(res) {
  440. console.log(res);
  441. }
  442. });
  443. }
  444. }
  445. });
  446. },
  447. deleteImg(index) {
  448. this.imglist.splice(index, 1)
  449. },
  450. calculate() {
  451. const query = uni.createSelectorQuery().in(this);
  452. query.selectAll('.left')
  453. console.log(query)
  454. },
  455. ltCheck(e) {
  456. this.detailData.purpose = this.purposeList[e[0]].purpose
  457. if (this.detailData.purpose == "合同费用") {
  458. this.detailData.expensesPurpose = "1"
  459. delete this.detailData.warehouseName
  460. } else if (this.detailData.purpose == "库点费用") {
  461. this.detailData.expensesPurpose = "3"
  462. delete this.detailData.contractNo
  463. } else if (this.detailData.purpose == "备用金") {
  464. this.detailData.expensesPurpose = "7"
  465. delete this.detailData.warehouseName
  466. delete this.detailData.contractNo
  467. } else {
  468. this.detailData.expensesPurpose = "5"
  469. delete this.detailData.warehouseName
  470. delete this.detailData.contractNo
  471. if (this.reType == 2) {
  472. this.show1 = true
  473. }
  474. }
  475. console.log(this.detailData)
  476. },
  477. confirmname(e) {
  478. this.detailData.belongName = this.namelist[e[0]].name
  479. },
  480. selectCon() {
  481. uni.navigateTo({
  482. url: '/pages/reimbursement/selectContract'
  483. })
  484. },
  485. selectWare() {
  486. uni.navigateTo({
  487. url: '/pages/reimbursement/selectWarehouse?warehouseType=1'
  488. })
  489. },
  490. submit() {
  491. if (!this.detailData.purpose) {
  492. this.$api.msg('用途不能为空')
  493. return
  494. }
  495. if (!this.detailData.warehouseName && this.detailData.purpose == '库点费用') {
  496. this.$api.msg('请选择仓库名称')
  497. return
  498. }
  499. if (!this.detailData.contractNo && this.detailData.purpose == '合同费用') {
  500. this.$api.msg('请选择合同编号')
  501. return
  502. }
  503. if (this.expensesType == '2') {
  504. if (!this.detailData.payerHeader) {
  505. this.$api.msg('付款方不能为空')
  506. return
  507. }
  508. }
  509. if (!this.detailData.expenseName) {
  510. this.$api.msg('费用名称不能为空')
  511. return
  512. }
  513. if (this.detailData.expenseName.length < 1 || this.detailData.expenseName.length > 15) {
  514. this.$api.msg('费用名称输入错误')
  515. return
  516. }
  517. if (!this.detailData.amountMoney || this.detailData.amountMoney == 0) {
  518. this.$api.msg('金额不能为空')
  519. return
  520. }
  521. if (this.detailData.amountMoney < 0.01 || this.detailData.amountMoney > 100000000) {
  522. this.$api.msg('金额输入错误')
  523. return
  524. }
  525. var that = this
  526. var title
  527. var theInterface
  528. if (that.expensesType == '1' || that.reType == '1') {
  529. title = "确定提交收款信息?"
  530. } else {
  531. title = "确定提交请款信息?"
  532. }
  533. if (that.id) {
  534. theInterface = '/expenseInfo/editInfo'
  535. that.detailData.id = that.id
  536. } else {
  537. theInterface = '/expenseInfo/api/addInfo'
  538. }
  539. uni.showModal({
  540. content: title,
  541. showCancel: true,
  542. confirmText: '提交',
  543. success: function(res) {
  544. if (res.confirm) {
  545. that.detailData.compId = uni.getStorageSync('pcUserInfo').compId
  546. that.detailData.agent = uni.getStorageSync('userInfo').userName
  547. // that.detailData.identification = that.detailData.identification
  548. // that.detailData.paymentIdentifi = that.detailData.paymentIdentifi
  549. // that.detailData.costType = that.detailData.costType
  550. that.detailData.expensesType = that.reType
  551. that.detailData.fieldName = uni.getStorageSync('userInfo').userName
  552. // that.detailData.totalDistribution = that.detailData.totalDistribution
  553. if (that.detailData.wareExpenseType == '仓储费') {
  554. that.detailData.storageFeeFlag = 1
  555. }
  556. if (that.imglist.length > 0) {
  557. that.detailData.addressUrl = that.imglist.toString()
  558. }
  559. uni.showLoading({
  560. title: "加载中",
  561. mask: true
  562. })
  563. that.$api.doRequest('post', theInterface, that.detailData)
  564. .then(res => {
  565. if (res.data.code == 200) {
  566. uni.hideLoading()
  567. that.$api.msg('提交成功')
  568. uni.navigateBack({
  569. delta: 1
  570. });
  571. } else {
  572. that.$api.msg(res.data.message)
  573. }
  574. })
  575. }
  576. }
  577. })
  578. },
  579. //获取信息
  580. getRequest() {
  581. this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
  582. id: this.id,
  583. }).then(res => {
  584. if (res.data.code == 200) {
  585. this.detailData = res.data.data
  586. this.imglist = this.detailData.addressUrl.split(',')
  587. }
  588. })
  589. },
  590. },
  591. }
  592. </script>
  593. <style lang='scss' scoped>
  594. page {
  595. background: #F5F6FA;
  596. }
  597. .delete_img {
  598. position: absolute;
  599. z-index: 100;
  600. left: 84px;
  601. color: #ffffff;
  602. font-size: 28rpx;
  603. border: 1px;
  604. border-radius: 5rpx;
  605. width: 32rpx;
  606. height: 32rpx;
  607. background-color: #ff0000;
  608. text-align: center;
  609. }
  610. .title_b {
  611. margin: 20rpx 20rpx 0rpx 20rpx;
  612. padding: 20rpx 10rpx 20rpx 10rpx;
  613. font-size: 18px;
  614. font-weight: 550;
  615. }
  616. .xinxi {
  617. padding: 20rpx 30rpx;
  618. }
  619. .tubiao {
  620. margin: 0 auto;
  621. text-align: center;
  622. margin-top: 35rpx;
  623. }
  624. .biankuang {
  625. border: 1px dashed #AFB3BF;
  626. border-radius: 10rpx;
  627. width: 200rpx;
  628. height: 200rpx;
  629. margin-left: 20rpx;
  630. }
  631. .upload {
  632. width: 80rpx;
  633. height: 80rpx;
  634. }
  635. .c-row {
  636. display: -webkit-box;
  637. display: -webkit-flex;
  638. display: flex;
  639. -webkit-box-align: center;
  640. -webkit-align-items: center;
  641. align-items: center;
  642. padding: 20rpx 30rpx;
  643. position: relative;
  644. }
  645. .con-list {
  646. -webkit-box-flex: 1;
  647. flex: 1;
  648. display: flex;
  649. -webkit-box-orient: vertical;
  650. -webkit-box-direction: normal;
  651. flex-direction: column;
  652. color: #303133;
  653. line-height: 20px;
  654. text-align: right;
  655. padding-right: 10px;
  656. justify-content: space-between;
  657. }
  658. .wrap {
  659. padding-bottom: 10px;
  660. font-size: 14px;
  661. background: #fff;
  662. margin: 10px;
  663. border-radius: 10px;
  664. input {
  665. font-size: 14px;
  666. }
  667. >.title {
  668. padding: 10px 16px;
  669. }
  670. }
  671. .buns_item {
  672. display: flex;
  673. padding: 80rpx 0 50rpx 0;
  674. justify-content: space-around;
  675. }
  676. .but_css {
  677. background: #22C572;
  678. width: 40%;
  679. padding: 20rpx;
  680. color: #fff;
  681. text-align: center;
  682. border-radius: 20rpx;
  683. }
  684. /deep/.u-radio-group {
  685. flex-direction: row-reverse;
  686. }
  687. .no-boder {
  688. border: 0;
  689. }
  690. .textarea {
  691. background: #F9F9FA;
  692. border: 1px solid #EEEEEE;
  693. }
  694. .remark {
  695. position: absolute;
  696. right: 10px;
  697. bottom: 20px;
  698. color: #AFB3BF;
  699. }
  700. .submit {
  701. width: 100%;
  702. background: #2c8ac5;
  703. border-radius: 10rpx;
  704. }
  705. .bottom-btn {
  706. padding: 30rpx;
  707. background: #FFFFFF;
  708. width: 100%;
  709. position: fixed;
  710. bottom: 0rpx;
  711. display: flex;
  712. z-index: 9999;
  713. }
  714. .content {
  715. overflow: hidden;
  716. }
  717. .btn {
  718. border-radius: 50rpx;
  719. padding: 20rpx 0;
  720. background: #22C572;
  721. color: #fff;
  722. font-size: 32rpx;
  723. width: 100%;
  724. box-sizing: border-box;
  725. display: flex;
  726. justify-content: center;
  727. }
  728. .margin-bottom {
  729. margin-bottom: 84px;
  730. }
  731. </style>