expense_allocation.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. <template>
  2. <view class="warp">
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">待决策人审核</view>
  17. </view>
  18. <view class="infoData">{{updateDate}}</view>
  19. </view>
  20. </view>
  21. <!-- <view class='content1'>
  22. <view class='row content-item'>
  23. <view class="left" style="color: #878C9C ;">仓库</view>
  24. <view class="right">{{warehouseName}}</view>
  25. </view>
  26. <view class="content-item">
  27. <view v-for="(item,index) in List">
  28. <view class='row row1'>
  29. <view class="left title">{{item.paymentNo}}</view>
  30. <view class="right title">{{item.carNo}}</view>
  31. </view>
  32. <view class='row'>
  33. <view class="left goodsInfoCss">{{item.goodsName}}({{item.netWeight}}kg -
  34. ¥{{item.tidalGrainPrice}})</view>
  35. <view class="right priceCss">¥{{item.amountIngPayable}}</view>
  36. </view>
  37. </view>
  38. </view>
  39. </view> -->
  40. <view class="content1">
  41. <!-- <view class="title">
  42. 销售外勤 张三
  43. </view> -->
  44. <view class="row">
  45. <view class="left">用途</view>
  46. <view class="right" v-if='auditInfo.expensesPurpose==1'>合同费用</view>
  47. <view class="right" v-if='auditInfo.expensesPurpose==3'>库点费用</view>
  48. <view class="right" v-if='auditInfo.expensesPurpose==5'>经营性费用</view>
  49. </view>
  50. <view v-if='auditInfo.expensesPurpose==1' class="row">
  51. <view class="left">类型</view>
  52. <view class="right" v-if='auditInfo.costType==1'>粮款</view>
  53. <view class="right" v-if='auditInfo.costType==3'>非粮款</view>
  54. <view class="right" v-if='auditInfo.costType==5'>保证金</view>
  55. </view>
  56. <view v-if='auditInfo.expensesPurpose==1' class="row">
  57. <view class="left">合同编号</view>
  58. <view class="right">{{auditInfo.contractNo}}</view>
  59. </view>
  60. <view v-if='auditInfo.expensesPurpose==3' class="row">
  61. <view class="left">仓库名称</view>
  62. <view class="right">{{auditInfo.warehouseName}}</view>
  63. </view>
  64. <view class="row">
  65. <view class="left">费用名称</view>
  66. <view class="right">{{auditInfo.expenseName}}</view>
  67. </view>
  68. <view class="row">
  69. <view class="left">金额(元)</view>
  70. <view class="right">{{auditInfo.amountMoney}}</view>
  71. </view>
  72. <view style='border-bottom: 0;' class="row">
  73. <view class="left">备注</view>
  74. <view class="right">{{auditInfo.remark}}</view>
  75. </view>
  76. <!-- <view class="row">
  77. <view class="left">附件</view>
  78. <view class="right">{{auditInfo.amountMoney}}</view>
  79. </view> -->
  80. <!-- <view class="row row-bottom">
  81. <view class="left">水分(%)</view>
  82. <input type="digit" v-model='detailData.warehouseInOutDetail.waterContent' class="right-bottom"
  83. placeholder="输入水分占比"></input>
  84. </view>
  85. <view class="row row-bottom">
  86. <view class="left">容重(克/升)</view>
  87. <input type="digit" v-model='detailData.warehouseInOutDetail.bulkDensity' class="right-bottom"
  88. placeholder="输入容重"></input>
  89. </view>
  90. <view class="row row-bottom">
  91. <view class="left">热损伤(%)</view>
  92. <input type="digit" v-model='detailData.warehouseInOutDetail.jiaorenli' class="right-bottom"
  93. placeholder="输入热损伤占比"></input>
  94. </view>
  95. <view class="row row-bottom">
  96. <view class="left">杂质(%)</view>
  97. <input type="digit" v-model='detailData.warehouseInOutDetail.impurity' class="right-bottom"
  98. placeholder="输入杂质占比"></input>
  99. </view>
  100. <view class="row row-bottom">
  101. <view class="left">霉变粒(%)</view>
  102. <input type="digit" v-model='detailData.warehouseInOutDetail.mildewGrain' class="right-bottom"
  103. placeholder="输入霉变粒占比"></input>
  104. </view>
  105. <view class="row row-bottom">
  106. <view class="left">不完善粒(%)</view>
  107. <input type="digit" v-model='detailData.warehouseInOutDetail.imperfectGrain' class="right-bottom"
  108. placeholder="输入不完善粒占比"></input>
  109. </view> -->
  110. </view>
  111. <view class="content1" v-if="url && url != 'ng'">
  112. <view class="title ">
  113. 附件
  114. </view>
  115. <view v-if='auditInfo.srcList.length>0' class="">
  116. <view style='flex-wrap: wrap;' class="file">
  117. <image v-for='(item,index) in auditInfo.srcList' @click="previewImageFn(index)" class='fujianImg' :src="item" mode=""></image>
  118. </view>
  119. </view>
  120. <view v-else class="">
  121. 暂无附件
  122. </view>
  123. </view>
  124. <view class="content1" v-if="url && url != 'ng'">
  125. <view class="title ">
  126. 费用分配附件
  127. </view>
  128. <view class="file" @click="openXls">
  129. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  130. <text class="text_css">明细.xls</text>
  131. </view>
  132. </view>
  133. <view v-if='show' class="shade">
  134. <view class="wrap">
  135. <view class="alert-top">
  136. <view class="title">
  137. {{title}}
  138. </view>
  139. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  140. </view>
  141. <view class="u-textarea-style">
  142. <view class="right-bottom">
  143. {{auditMind.length}}/100个字
  144. </view>
  145. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  146. maxlength="100" />
  147. </view>
  148. <view @click='close()' class="cancel">取消</view>
  149. <view @click='passSubmit()' class="confirm">确定</view>
  150. </view>
  151. </view>
  152. <u-toast ref="uToast" />
  153. <view style='padding:10px;' class='flex bottom-btn'>
  154. <u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  155. <u-button @click='pass' type="success" class="btn2">通过</u-button>
  156. </view>
  157. </view>
  158. </template>
  159. <script>
  160. import helper from '@/common/helper.js';
  161. import {
  162. mapState
  163. } from 'vuex';
  164. export default {
  165. data() {
  166. return {
  167. src: '../../../static/img/myimg/LiangShang@2x.png',
  168. isSHowBtn: true,
  169. height: 200,
  170. autoHeight: true,
  171. border: false,
  172. title: '',
  173. show: false,
  174. auditMind: '',
  175. id: "",
  176. currentPage: 1,
  177. pageSize: 100,
  178. List: [],
  179. status: "",
  180. updateDate: "",
  181. warehouseName: "",
  182. everyCheck: '',
  183. auditInfo: {srcList:[]},
  184. id: "",
  185. auditList: [],
  186. url: "11",
  187. }
  188. },
  189. onBackPress(e) {
  190. if (this.everyCheck) {
  191. uni.navigateTo({
  192. url: "/pages/task/my_task"
  193. })
  194. return true;
  195. }
  196. },
  197. onLoad(options) {
  198. this.id = options.id
  199. this.vesselId = options.vesselId
  200. this.everyCheck = uni.getStorageSync("everyTask")
  201. this.isSHowBtn = options.isShowbtn
  202. },
  203. onShow(options) {
  204. this.getList()
  205. },
  206. computed: {
  207. ...mapState(['hasLogin', 'userInfo']),
  208. },
  209. methods: {
  210. previewImageFn(index) {
  211. /* 预览图片 */
  212. uni.previewImage({
  213. current: index,
  214. /* 需要是数组 */
  215. urls: this.auditInfo.srcList,
  216. /* 默认底部圆点 number顶部数字1234 */
  217. // indicator:'default',
  218. indicator: 'number',
  219. loop: false,
  220. /* 长按图片底部显示选项 */
  221. longPressActions: {
  222. itemList: ['保存图片'],
  223. itemColor: '#d60000',
  224. success: data => {
  225. console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  226. /* 保存图片到系统相册 */
  227. plus.nativeUI.closePreviewImage();
  228. if(data.tapIndex==0){
  229. uni.saveImageToPhotosAlbum({
  230. filePath:this.auditInfo.srcList[data.index],
  231. success:res=>{
  232. // console.log(this.userImgList[data.index])
  233. // console.log(res.path,"res")
  234. // plus.nativeUI.closePreviewImage();
  235. plus.nativeUI.closePreviewImage();
  236. // uni.closePreviewImage()
  237. plus.nativeUI.toast("保存成功",{background:"#c3002f"});
  238. // this.$http.showTK({title:"保存成功",duration:500,position:"bottom"})
  239. },
  240. fail:err=>{
  241. console.log(err,"err")
  242. }
  243. })
  244. }else if(data.tapIndex==1){
  245. this.uniShare()
  246. }
  247. },
  248. fail: err => {
  249. console.log(err.errMsg);
  250. }
  251. }
  252. });
  253. },
  254. openXls() {
  255. if (this.url && this.url != "ng") {
  256. uni.downloadFile({
  257. url: this.url,
  258. success: function(res) {
  259. var filePath = res.tempFilePath;
  260. uni.openDocument({
  261. filePath: filePath,
  262. showMenu: true,
  263. success: function(res) {
  264. console.log('打开文档成功');
  265. }
  266. });
  267. }
  268. });
  269. }
  270. },
  271. getList() {
  272. uni.showLoading({
  273. title: "加载中...",
  274. mask: true
  275. })
  276. this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
  277. currentPage: 1,
  278. pageSize: 100,
  279. searchType: '1', //searchType:1待审核
  280. warehouseName: this.vesselId,
  281. managementType: 1
  282. }).then(res1 => {
  283. uni.hideLoading()
  284. if (res1.data.code == 200) {
  285. this.List = res1.data.data.records
  286. }
  287. })
  288. // this.$api.doRequest('get', '/paymentManagement/getInfo', {
  289. // id: this.id
  290. // }).then(res => {
  291. // if (res.data.code == 200) {
  292. // uni.showLoading({
  293. // title: "加载中...",
  294. // mask: true
  295. // })
  296. // }
  297. // })
  298. this.$api.doRequest('post', '/paymentManagement/exportPhone', {
  299. warehouseName: this.vesselId,
  300. }).then(res1 => {
  301. if (res1.data.code == 200) {
  302. this.url = res1.data.data
  303. }
  304. })
  305. this.$api.doRequest('post', '/paymentManagement/exportPhoneData', {
  306. warehouseName: this.vesselId,
  307. searchType: 1
  308. }).then(res1 => {
  309. if (res1.data.code == 200) {
  310. this.auditInfo = res1.data.data
  311. if(this.auditInfo.addressUrl&&this.auditInfo.addressUrl!=''){
  312. this.auditInfo.srcList=this.auditInfo.addressUrl.split(',')
  313. }else{
  314. this.auditInfo.srcList=[]
  315. }
  316. this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
  317. .amountIngPayableTotal)
  318. }
  319. })
  320. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  321. businessCode: 'PAYMENT-MANAGEMENT-APPROVE',
  322. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  323. }).then(res1 => {
  324. this.updateDate = res1.data.data[0].updateDate
  325. this.$api.doRequest('get', '/commonUser/getHis', {
  326. workflowId: res1.data.data[0].id,
  327. businessKey: this.id
  328. }).then(response => {
  329. // uni.hideLoading()
  330. this.auditList = response.data.data
  331. })
  332. })
  333. },
  334. close() {
  335. this.show = false
  336. },
  337. pass() {
  338. this.show = true
  339. this.title = '审核意见(通过)'
  340. },
  341. reject() {
  342. this.show = true
  343. this.title = '驳回原因(驳回)'
  344. },
  345. //驳回
  346. // rejectSubmit() {
  347. // if (!this.auditMind) {
  348. // this.$api.msg('驳回原因不能为空!')
  349. // } else {
  350. // var that = this
  351. // that.show = false
  352. // if (this.List.length > 0) {
  353. // uni.showModal({
  354. // content: "确定驳回付款申请?",
  355. // showCancel: true,
  356. // confirmText: '确定',
  357. // success: function(res) {
  358. // if (res.confirm) {
  359. // that.audit(that.List[0], 0, false, '', '')
  360. // }
  361. // }
  362. // })
  363. // }
  364. // }
  365. // },
  366. //审核确定
  367. passSubmit() {
  368. var that = this
  369. that.show = false
  370. if (this.title == '驳回原因(驳回)') {
  371. // this.rejectSubmit()
  372. if (!that.auditMind) {
  373. this.$api.msg('驳回原因不能为空!')
  374. } else {
  375. uni.showModal({
  376. content: "确定驳回付款申请?",
  377. showCancel: true,
  378. confirmText: '确定',
  379. success: function(res) {
  380. if (res.confirm) {
  381. uni.showLoading({
  382. title: "审核中...",
  383. mask: true
  384. })
  385. var count = 0
  386. for (let num = 0; num < that.List.length; num++) {
  387. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  388. taskId: that.List[num].taskId,
  389. approved: false,
  390. auditMind: that.auditMind ? that.auditMind : "",
  391. needReapply: true
  392. }).then(res => {
  393. count++
  394. if (count == that.List.length) {
  395. uni.hideLoading()
  396. that.$api.msg('审核成功!')
  397. setTimeout(function() {
  398. uni.navigateBack();
  399. }, 2000);
  400. }
  401. })
  402. }
  403. }
  404. }
  405. })
  406. }
  407. } else {
  408. var that = this
  409. this.show = false
  410. uni.showModal({
  411. content: "确定通过付款申请?",
  412. showCancel: true,
  413. confirmText: '确定',
  414. success: function(res) {
  415. if (res.confirm) {
  416. uni.showLoading({
  417. title: "审核中...",
  418. mask: true
  419. })
  420. for (let num = 0; num < that.List.length; num++) {
  421. var tmp = 0
  422. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  423. taskId: that.List[num].taskId,
  424. approved: true,
  425. auditMind: that.auditMind ? that.auditMind : "",
  426. needReapply: false
  427. }).then(res => {
  428. tmp++
  429. if (tmp == that.List.length) {
  430. uni.hideLoading()
  431. that.$api.msg('审核成功!')
  432. setTimeout(function() {
  433. uni.navigateBack();
  434. }, 2000);
  435. }
  436. })
  437. }
  438. }
  439. }
  440. })
  441. }
  442. },
  443. // audit(list, index, status, status2, reason) {
  444. // uni.showLoading({
  445. // title: "审核中"
  446. // })
  447. // if (this.List.length > 0) {
  448. // if (status == true && list.status == "已驳回") {
  449. // this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
  450. // compId: "2710b21efc1e4393930c5dc800010dc4",
  451. // id: list.id
  452. // }).then(res => {
  453. // if (res.data.code == 200) {
  454. // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  455. // }
  456. // })
  457. // } else {
  458. // for (var i = 0; i < this.List.length; i++) {
  459. // this.$api.doRequest('post', '/newWorkflow/api/handle', {
  460. // taskId: this.List[i].taskId,
  461. // approved: status,
  462. // auditMind: this.auditMind ? this.auditMind : "",
  463. // needReapply: status2 ? true : false
  464. // }).then(res => {
  465. // if (res.data.code == 200) {
  466. // uni.hideLoading()
  467. // // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  468. // this.$api.msg('通过成功')
  469. // }else{
  470. // uni.hideLoading()
  471. // this.$api.msg('审核失败')
  472. // }
  473. // })
  474. // }
  475. // }
  476. // } else {
  477. // if (status == true) {
  478. // this.$api.msg('通过成功')
  479. // } else if (status == false) {
  480. // this.$api.msg('驳回成功')
  481. // }
  482. // let that = this
  483. // setTimeout(function() {
  484. // if (that.everyCheck) {
  485. // helper.setAudit(that.list)
  486. // } else {
  487. // uni.navigateBack()
  488. // }
  489. // uni.hideLoading()
  490. // }, 1000);
  491. // }
  492. // },
  493. }
  494. }
  495. </script>
  496. <style scoped lang="scss">
  497. .warp {
  498. margin: 10rpx;
  499. padding: 20rpx 20rpx 240rpx 20rpx;
  500. }
  501. .content1 {
  502. font-size: 28rpx;
  503. color: #333333;
  504. margin-top: 30rpx;
  505. padding: 20rpx;
  506. // .content-item {
  507. border-radius: 20rpx;
  508. background: white;
  509. // padding: 40rpx 20rpx;
  510. // margin-bottom: 30rpx;
  511. // }
  512. // .title {
  513. // font-size: 32rpx;
  514. // font-weight: 600;
  515. // color: #333333;
  516. // margin: 30rpx 0;
  517. // }
  518. // .goodsInfoCss {
  519. // font-size: 28rpx;
  520. // font-weight: 600;
  521. // color: #878C9C;
  522. // margin: 26rpx 10rpx;
  523. // }
  524. // .priceCss {
  525. // font-size: 40rpx;
  526. // margin: 26rpx 10rpx;
  527. // color: #22C572;
  528. // font-weight: 600;
  529. // }
  530. .row {
  531. display: flex;
  532. justify-content: space-between;
  533. border-bottom: 1px solid #EEEEEE;
  534. padding: 20rpx 0;
  535. .right,
  536. input {
  537. font-size: 28rpx;
  538. // color: #333333;
  539. }
  540. }
  541. .img_css {
  542. width: 50rpx;
  543. height: 50rpx;
  544. }
  545. .file {
  546. display: flex;
  547. align-items: center;
  548. margin: 30rpx 0 0 20rpx;
  549. .text_css {
  550. font-size: 30rpx;
  551. margin-left: 20rpx;
  552. }
  553. }
  554. }
  555. .title {
  556. font-size: 34rpx;
  557. font-weight: 700;
  558. // margin-bottom: 20rpx;
  559. height: 70rpx;
  560. border-bottom: 2rpx solid #EEEEEE;
  561. }
  562. .titlerow {
  563. font-size: 34rpx;
  564. font-weight: 700;
  565. // margin-bottom: 20rpx;
  566. // height: 70rpx;
  567. // border-bottom: 2rpx solid #EEEEEE;
  568. }
  569. .content2 {
  570. background: white;
  571. margin: 20rpx 0;
  572. border-radius: 20rpx;
  573. padding: 20rpx;
  574. .row {
  575. display: flex;
  576. justify-content: space-between;
  577. .left {
  578. display: flex;
  579. align-items: center;
  580. .item2 {
  581. margin-left: 20rpx;
  582. .name {
  583. font-size: 32rpx;
  584. font-weight: 800;
  585. }
  586. .status {
  587. color: #6CC48C;
  588. }
  589. }
  590. }
  591. .right {
  592. color: #B0B1B5;
  593. margin-top: 10px;
  594. }
  595. }
  596. .row-line {
  597. width: 1px;
  598. height: 30px;
  599. background: #F2F2F2;
  600. margin: 10rpx 50rpx;
  601. }
  602. .audit {
  603. margin-top: 20rpx;
  604. }
  605. }
  606. .bottom-btn {
  607. width: 100%;
  608. position: fixed;
  609. bottom: 0;
  610. display: flex;
  611. z-index: 2;
  612. left: 0;
  613. background-color: #f8f8f8;
  614. flex-direction: column;
  615. .btn1,
  616. .btn2 {
  617. width: 100%;
  618. margin-bottom: 26rpx;
  619. border-radius: 90rpx;
  620. }
  621. .btn1 {
  622. background: white;
  623. color: #00C265;
  624. }
  625. }
  626. .row1 {
  627. border-bottom: 0 !important;
  628. }
  629. .topInfo {
  630. height: 210rpx;
  631. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  632. padding: 30rpx;
  633. .topInfo-item {
  634. height: 150rpx;
  635. background-color: #FFFFFF;
  636. border-radius: 20rpx;
  637. padding: 40rpx;
  638. .logo {
  639. width: 40rpx;
  640. height: 40rpx;
  641. margin-top: 8rpx;
  642. }
  643. .infoText {
  644. font-size: 36rpx;
  645. font-weight: 600;
  646. margin-left: 20rpx;
  647. }
  648. .infoData {
  649. color: #878C9C;
  650. font-size: 26rpx;
  651. margin-top: 10rpx;
  652. }
  653. }
  654. }
  655. .shade {
  656. position: fixed;
  657. top: 0;
  658. left: 0;
  659. height: 100%;
  660. width: 100%;
  661. background: rgba(0, 0, 0, 0.4);
  662. z-index: 3;
  663. .wrap {
  664. position: absolute;
  665. left: 0;
  666. top: 0;
  667. right: 0;
  668. bottom: 0;
  669. margin: auto;
  670. background: #fff;
  671. width: calc(100% - 198rpx);
  672. height: 700rpx;
  673. border-radius: 20rpx;
  674. .alert-top {
  675. padding: 33rpx;
  676. display: flex;
  677. justify-content: center;
  678. align-items: center;
  679. position: relative;
  680. }
  681. .title {
  682. font-size: 32rpx;
  683. font-weight: 600;
  684. color: #333333;
  685. }
  686. .close {
  687. position: absolute;
  688. right: 33rpx;
  689. }
  690. }
  691. }
  692. .cancel,
  693. .confirm {
  694. position: absolute;
  695. display: inline-block;
  696. width: 50%;
  697. text-align: center;
  698. bottom: 0;
  699. padding: 10px;
  700. border-top: 1px solid #eee;
  701. font-size: 34rpx;
  702. }
  703. .cancel {
  704. left: 0;
  705. border-right: 1px solid #eee;
  706. color: #AFB3BF;
  707. }
  708. .confirm {
  709. right: 0;
  710. color: #22C572;
  711. }
  712. .u-textarea-style {
  713. margin: 20rpx;
  714. background: #F9F9FA;
  715. border-radius: 10px;
  716. border: 1px solid #EEEEEE;
  717. padding: 10rpx 20rpx;
  718. position: relative;
  719. .right-bottom {
  720. position: absolute;
  721. right: 20rpx;
  722. bottom: 20rpx;
  723. color: #AFB3BF;
  724. }
  725. }
  726. /deep/.u-input__textarea {
  727. height: 300rpx !important;
  728. }
  729. .fujianImg{
  730. width:30%;
  731. height:80px;
  732. border-radius:3px;
  733. border:1px solid #ccc;
  734. margin:5px;
  735. }
  736. </style>