request_funds.vue 21 KB

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