edit_quality_testing.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  1. <template>
  2. <view>
  3. <view class='wrap'>
  4. <view class='title_b'>基本信息</view>
  5. <view class="c-row ">
  6. <view class="title">仓库</view>
  7. <view class="con-list">
  8. {{gridList.warehouseName}}
  9. </view>
  10. </view>
  11. <view class="c-row ">
  12. <view class="title">编号</view>
  13. <view class="con-list">
  14. {{gridList.qualityNo}}
  15. </view>
  16. </view>
  17. <view class="c-row ">
  18. <view class="title">客户</view>
  19. <view class="con-list">
  20. {{gridList.customerName}}({{gridList.customerPhone}})
  21. </view>
  22. </view>
  23. <view class="c-row ">
  24. <view class="title">车牌号</view>
  25. <view class="con-list">
  26. <input :disabled='flag==1' v-model='gridList.carNumber' placeholder="请输入车牌号" name="input"></input>
  27. </view>
  28. </view>
  29. <view v-if="gridList.paramType != '1'" class="c-row ">
  30. <view class="title">扣重比</view>
  31. <view class="con-list">
  32. <input :disabled='flag==1' v-model='gridList.buckleWeightRatio' placeholder="请输入扣重比"
  33. name="input"></input>
  34. </view>
  35. </view>
  36. <view v-else class="c-row ">
  37. <view class="title">扣杂</view>
  38. <view class="con-list">
  39. <input :disabled='flag==1' v-model='gridList.buckleMiscellaneous' placeholder="初检扣杂"
  40. @input="waterContentChange" name="input"></input>
  41. <input v-if='flag==0' value='未复检' disabled placeholder="复检扣杂" name="input"></input>
  42. <input v-else :disabled='flag!=1' v-model='gridList.reBuckleMiscellaneous' placeholder="复检扣杂"
  43. name="input"></input>
  44. </view>
  45. </view>
  46. <view class="c-row ">
  47. <view class="title">购粮性质</view>
  48. <view class="con-list">
  49. <input :disabled='flag==1' v-model='gridList.natureOfGrainPurchase' placeholder="请输入购粮性质"
  50. name="input"></input>
  51. </view>
  52. </view>
  53. <view class="c-row ">
  54. <view class="title">仓位号</view>
  55. <view class="con-list">
  56. <u-picker :range="warehouseList" range-key="binNumber" @confirm='binNumberpicker($event)'
  57. v-model="show" mode="selector">
  58. </u-picker>
  59. <view v-if='flag!=1' @click='show=true'>{{gridList.binNumber}}</view>
  60. <view v-else>{{gridList.binNumber}}</view>
  61. </view>
  62. </view>
  63. <view class="c-row ">
  64. <view class="title">囤位号</view>
  65. <view class="con-list">
  66. <input :disabled='flag==1' v-model='gridList.storageTagNo' placeholder="请输入囤位号"
  67. name="input"></input>
  68. </view>
  69. </view>
  70. <view class="c-row ">
  71. <view class="title">货名</view>
  72. <view class="con-list">
  73. <view v-if="flag == '1'">
  74. {{gridList.goodsName}}
  75. </view>
  76. <view @click='goodsName = true' v-if="flag == '2'">{{gridList.goodsName}}</view>
  77. <u-picker :range="goodsList" range-key="goodsName" @confirm='goodsPicker($event)' v-model="goodsName" mode="selector" v-if="flag == '2'">
  78. </u-picker>
  79. </view>
  80. </view>
  81. <view class="c-row ">
  82. <view class="title">类型</view>
  83. <view class="con-list">
  84. {{gridList.type}}
  85. </view>
  86. </view>
  87. <view v-if="gridList.type == '潮粮'" class="c-row">
  88. <view class="title">净重单价(元/公斤)</view>
  89. <view class="con-list">
  90. <input :disabled='flag==1' v-model='gridList.tidalGrainPrice' disabled placeholder="自动获取,不可编辑"
  91. name="input"></input>
  92. </view>
  93. </view>
  94. <view v-if="gridList.type == '干粮'" class="c-row">
  95. <view class="title">干粮单价(元/公斤)</view>
  96. <view class="con-list">
  97. <input v-model='gridList.dryGrainPrice' placeholder="请输入干粮单价" name="input"></input>
  98. </view>
  99. </view>
  100. <view class="c-row-fj" v-if="flag==1">
  101. <view style="margin: 0px 0px 30rpx 10rpx;">复检备注</view>
  102. <textarea class='textarea-style' v-model='gridList.reMemo' placeholder="请输入复检备注" maxlength="300"></textarea>
  103. </view>
  104. </view>
  105. <view style='padding-bottom:300rpx;'>
  106. <view class='wrap'>
  107. <view style='margin-right:10px;' class='flex justify-between align-item-center'>
  108. <view class='title_b'>化验信息</view>
  109. <u-switch v-if='flag!=1' v-model="value" @change="change"></u-switch>
  110. </view>
  111. <view class="c-row ">
  112. <view class="title">等级</view>
  113. <view class="con-list">
  114. <u-picker :range="gradeList" range-key="value" @confirm='gradepicker($event)' v-model="show1"
  115. mode="selector">
  116. </u-picker>
  117. <view v-if='flag!=1' @click='show1=true'>{{gridList.grade?gridList.grade:'请选择等级'}}</view>
  118. <view v-else>{{gridList.grade}}</view>
  119. </view>
  120. </view>
  121. <view class="c-row ">
  122. <view class="title">水分(%)</view>
  123. <view class="con-list">
  124. <input :disabled='flag==1' v-model='gridList.waterContent' placeholder="初检水分"
  125. @input="waterContentChange" name="input"></input>
  126. <input v-if='flag==0' value='未复检' disabled placeholder="复检水分" name="input"></input>
  127. <input :disabled='flag!=1' v-else v-model='gridList.reWaterContent' placeholder="复检水分"
  128. name="input"></input>
  129. </view>
  130. </view>
  131. <view class="c-row ">
  132. <view class="title">容重(克/升)</view>
  133. <view class="con-list">
  134. <input :disabled='flag==1' v-model='gridList.bulkDensity' placeholder="请输入容重"
  135. name="input"></input>
  136. </view>
  137. </view>
  138. <view class="c-row ">
  139. <view class="title">不完善粒(%)</view>
  140. <view class="con-list">
  141. <input :disabled='flag==1' v-model='gridList.imperfectGrain' placeholder="请输入不完整粒占比"
  142. name="input"></input>
  143. </view>
  144. </view>
  145. <view class="c-row ">
  146. <view class="title">杂质(%)</view>
  147. <view class="con-list">
  148. <input :disabled='flag==1' v-model='gridList.impurity' placeholder="请输入杂质占比"
  149. name="input"></input>
  150. </view>
  151. </view>
  152. <view class="c-row ">
  153. <view class="title">霉变粒(%)</view>
  154. <view class="con-list">
  155. <input :disabled='flag==1' v-model='gridList.mildewGrain' placeholder="请输入霉变粒占比"
  156. name="input"></input>
  157. </view>
  158. </view>
  159. <view class="c-row ">
  160. <view class="title">热损伤(%)</view>
  161. <view class="con-list">
  162. <input :disabled='flag==1' v-model='gridList.jiaorenli' placeholder="请输入热损伤占比"
  163. name="input"></input>
  164. </view>
  165. </view>
  166. </view>
  167. </view>
  168. <view class="footer">
  169. <view v-if='!value&&flag==1' @click='confirmInfo' class="button">确认初检信息</view>
  170. <view @click='submit' class="button">提交</view>
  171. </view>
  172. <u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
  173. :content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
  174. showCancelButton='false' :content="content" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
  175. </view>
  176. </template>
  177. <script>
  178. import dragButton from "@/components/drag-button/drag-button.vue";
  179. import {
  180. mapState
  181. } from 'vuex';
  182. let startY = 0,
  183. moveY = 0,
  184. pageAtTop = true;
  185. export default {
  186. components: {
  187. dragButton
  188. },
  189. data() {
  190. return {
  191. inputShow: false,
  192. modalName: '',
  193. mycarStyle: '',
  194. feild: undefined,
  195. id: 0,
  196. show: false,
  197. selector: [],
  198. show1: false,
  199. goodsName:false,
  200. inputContent: '',
  201. coverTransform: 'translateY(0px)',
  202. coverTransition: '0s',
  203. moving: false,
  204. footprintList: [],
  205. searchKeyWord: '',
  206. isVip: false,
  207. flag: 0,
  208. userInfoTmp: [],
  209. inputStatus: 'none',
  210. carInfo: [],
  211. gridCol: 4,
  212. pageSize: 10,
  213. currentPage: 1,
  214. gridBorder: false,
  215. headUrl: "../../static/img/myimg/YongHu@3x.png",
  216. userphone: "",
  217. username: "请更改昵称",
  218. gridList: {
  219. natureOfGrainPurchase: '贸易粮',
  220. type: '潮粮',
  221. tidalGrainPrice: '',
  222. dryGrainPrice: ''
  223. },
  224. managementType: '',
  225. warehouseName: '',
  226. warehouseList: [],
  227. showTran: true,
  228. companyId: 1,
  229. current: 4,
  230. value:false,
  231. gradeList: [{
  232. key: 1,
  233. value: '一等品'
  234. },
  235. {
  236. key: 2,
  237. value: '二等品'
  238. },
  239. {
  240. key: 3,
  241. value: '三等品'
  242. },
  243. {
  244. key: 4,
  245. value: '等外'
  246. },
  247. ],
  248. cangid: '',
  249. goodsList:[],
  250. isShowAlert:false,
  251. content: '确认初检信息后,初检员不需要再次确认质检信息,是否确定提交?',
  252. }
  253. },
  254. // #ifndef MP
  255. onNavigationBarButtonTap(e) {
  256. const index = e.index;
  257. if (index === 0) {
  258. this.navTo('/pages/set/set');
  259. } else if (index === 1) {
  260. // #ifdef APP-PLUS
  261. const pages = getCurrentPages();
  262. const page = pages[pages.length - 1];
  263. const currentWebview = page.$getAppWebview();
  264. currentWebview.hideTitleNViewButtonRedDot({
  265. index
  266. });
  267. // #endif
  268. uni.navigateTo({
  269. url: '/pages/notice/notice'
  270. })
  271. }
  272. },
  273. // #endif
  274. computed: {
  275. ...mapState(['hasLogin', 'userInfo']),
  276. // 手机号中间4位加*
  277. starUserphone() {
  278. let reg = /^(\d{3})\d{4}(\d{4})$/;
  279. if (this.userphone) {
  280. return this.userphone.replace(reg, "$1****$2");
  281. }
  282. }
  283. },
  284. onLoad(options) {
  285. this.id = options.id
  286. this.flag = options.flag
  287. this.cangid = options.cangid
  288. this.managementType = options.managementType
  289. },
  290. onShow() {
  291. console.log(this.flag)
  292. var that = this
  293. this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
  294. id: this.id
  295. }).then(res => {
  296. if (res.data.data) {
  297. let data = res.data.data
  298. if(data.supplementaryRecording==1){
  299. that.value=true
  300. }else{
  301. that.value=false
  302. }
  303. that.gridList = data
  304. that.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
  305. id: this.cangid
  306. }).then(res => {
  307. that.warehouseList = res.data.data.warehousePositionInfoList
  308. })
  309. }
  310. })
  311. //质检货名下拉
  312. this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
  313. warehouseId: this.cangid
  314. }).then(res => {
  315. if (res.data.data) {
  316. this.goodsList = res.data.data
  317. }
  318. })
  319. this.gridList.grade = this.gradeList[0].value
  320. this.gridList.gradeKey = this.gradeList[0].key
  321. },
  322. methods: {
  323. change(e){
  324. if(e){
  325. this.gridList.supplementaryRecording=1
  326. }else{
  327. this.gridList.supplementaryRecording=0
  328. }
  329. },
  330. confirmInfo() {
  331. this.isShowAlert = true
  332. },
  333. alertBtn() {
  334. var that = this
  335. this.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', {
  336. id: this.id,
  337. flag:2
  338. }).then(res => {
  339. if(res.data.code=="200"){
  340. that.gridList.flag=1
  341. that.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', that.gridList).then(res => {
  342. if(res.data.code=="200"){
  343. that.$api.msg('提交成功!')
  344. setTimeout(function(){
  345. uni.navigateBack({})
  346. },1000)
  347. }else{
  348. that.$api.msg('提交失败')
  349. }
  350. })
  351. }else{
  352. that.$api.msg('提交失败')
  353. }
  354. })
  355. },
  356. waterContentChange() {
  357. var that = this
  358. if (this.gridList.goodsName && this.cangid) {
  359. if (!this.gridList.dryGrainPrice || this.gridList.dryGrainPrice == 0) {
  360. this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
  361. warehouseId: this.cangid,
  362. goodsName: this.gridList.goodsName
  363. }).then(res => {
  364. that.gridList.dryGrainPrice = res.data.data
  365. })
  366. }
  367. }
  368. if (this.gridList.goodsName) {
  369. for (var i = 0; i < this.purchasePriceList.length; i++) {
  370. if (this.purchasePriceList[i].goodsName == this.gridList.goodsName) {
  371. this.gridList.buckleWeightRatio = this.purchasePriceList[i].deductWeight
  372. this.gridList.paramType = this.purchasePriceList[i].paramType
  373. }
  374. }
  375. }
  376. var numReg = /^[0-9]*$/
  377. var numRe = new RegExp(numReg)
  378. //潮粮单价改变事件
  379. if (
  380. this.gridList.goodsName &&
  381. this.gridList.waterContent &&
  382. this.gridList.grade &&
  383. numRe.test(this.gridList.waterContent)
  384. ) {
  385. this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
  386. warehouseId: this.cangid,
  387. goodsName: this.gridList.goodsName,
  388. waterContent: this.gridList.waterContent,
  389. grade: this.gridList.grade,
  390. }).then(res => {
  391. if (that.gridList.paramType == '1') {
  392. that.gridList.tidalGrainPrice = parseFloat(parseFloat(res.data.data) - parseFloat(that
  393. .gridList.buckleMiscellaneous) / 100 * parseFloat(that.gridList
  394. .dryGrainPrice)).toFixed(4)
  395. if (!that.gridList.tidalGrainPrice) {
  396. that.gridList.tidalGrainPrice = ''
  397. }
  398. } else {
  399. that.gridList.tidalGrainPrice = res.data.data
  400. }
  401. })
  402. }
  403. },
  404. goodsPicker(e){
  405. this.gridList.goodsName = this.goodsList[e[0]].goodsName
  406. },
  407. submit() {
  408. this.gridList.flag = this.flag
  409. // if(this.flag==2){
  410. // this.gridList.reInspector=this.userInfo.userName
  411. // }
  412. var that = this
  413. if (!this.gridList.qualityNo) {
  414. this.$api.msg('编号不能为空')
  415. return
  416. }
  417. if (!this.gridList.binNumber) {
  418. this.$api.msg('仓位不能为空')
  419. return
  420. }
  421. if (!this.gridList.customerName) {
  422. this.$api.msg('客户不能为空')
  423. return
  424. }
  425. if (!this.gridList.storageTagNo) {
  426. this.$api.msg('囤位号不能为空')
  427. return
  428. }
  429. if (this.gridList.storageTagNo.length > 10) {
  430. this.$api.msg('囤位号不能为空')
  431. return
  432. }
  433. if (!this.gridList.carNumber) {
  434. this.$api.msg('车牌号不能为空')
  435. return
  436. }
  437. if (this.gridList.carNumber.length > 7) {
  438. this.$api.msg('车牌号输入错误')
  439. return
  440. }
  441. if (!this.gridList.goodsName) {
  442. this.$api.msg('货名不能为空')
  443. return
  444. }
  445. if (this.gridList.paramType != 1 && this.gridList.buckleWeightRatio < 0 || this.gridList.paramType != 1 &&
  446. this.gridList.buckleWeightRatio > 2) {
  447. this.$api.msg('扣重比输入错误')
  448. return
  449. }
  450. if (
  451. this.gridList.paramType != 1 && String(this.gridList.buckleWeightRatio).indexOf('.') != -1 &&
  452. String(this.gridList.buckleWeightRatio).length -
  453. (String(this.gridList.buckleWeightRatio).indexOf('.') + 1) > 2) {
  454. this.$api.msg('扣重比输入错误')
  455. return
  456. }
  457. if (this.flag == 0 && this.gridList.paramType == 1 && this.gridList.buckleMiscellaneous < 0 || this.flag ==
  458. 0 && this.gridList.paramType == 1 && this.gridList.buckleMiscellaneous > 50) {
  459. this.$api.msg('初检扣杂输入错误')
  460. return
  461. }
  462. if (this.flag == 1 && this.gridList.paramType == 1 && this.gridList.reBuckleMiscellaneous < 0 || this
  463. .flag == 0 && this.gridList.paramType == 1 && this.gridList.reBuckleMiscellaneous > 50) {
  464. this.$api.msg('复检扣杂输入错误')
  465. return
  466. }
  467. if (!this.gridList.type) {
  468. this.$api.msg('类型不能为空')
  469. return
  470. }
  471. if (!this.gridList.natureOfGrainPurchase) {
  472. this.$api.msg('购粮性质不能为空')
  473. return
  474. }
  475. if(this.value==false){
  476. if (!this.gridList.grade) {
  477. this.$api.msg('等级不能为空')
  478. return
  479. }
  480. if (!this.gridList.impurity) {
  481. this.$api.msg('杂质不能为空')
  482. return
  483. }
  484. if (!this.gridList.waterContent) {
  485. this.$api.msg('初检水分不能为空')
  486. return
  487. }
  488. // if (!this.gridList.reWaterContent) {
  489. // this.$api.msg('复检水分不能为空')
  490. // return
  491. // }
  492. if (!this.gridList.mildewGrain) {
  493. this.$api.msg('霉变粒不能为空')
  494. return
  495. }
  496. if (!this.gridList.bulkDensity) {
  497. this.$api.msg('容重不能为空')
  498. return
  499. }
  500. if (!this.gridList.jiaorenli) {
  501. this.$api.msg('热损伤不能为空')
  502. return
  503. }
  504. if (!this.gridList.imperfectGrain) {
  505. this.$api.msg('不完整粒不能为空')
  506. return
  507. }
  508. }
  509. uni.showModal({
  510. content: "确定提交质检信息?",
  511. showCancel: true,
  512. confirmText: '提交',
  513. success: function(res) {
  514. if (res.confirm) {
  515. that.$api.doRequest('post',
  516. '/qualityInspectionManagement/api/editQualityInspection', that.gridList)
  517. .then(res => {
  518. if (res.data.code == 200) {
  519. that.$api.msg('编辑质检成功')
  520. uni.navigateBack({})
  521. }
  522. })
  523. }
  524. }
  525. })
  526. },
  527. gradepicker(e) {
  528. console.log(e)
  529. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  530. this.gridList.grade = this.gradeList[e[0]].value
  531. this.gridList.gradeKey = this.gradeList[e[0]].key
  532. this.waterContentChange()
  533. },
  534. binNumberpicker(e) {
  535. this.gridList.binNumber = this.warehouseList[e[0]].binNumber
  536. },
  537. del(item) {
  538. this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection', {
  539. id: item.id
  540. }).then(res => {
  541. if (res.data.code == 200) {
  542. this.$api.msg('删除成功')
  543. } else {
  544. this.$api.msg('系统异常,请联系管理员')
  545. }
  546. })
  547. },
  548. contactUs() {
  549. const that = this
  550. uni.makePhoneCall({
  551. // 手机号
  552. phoneNumber: '18241771147',
  553. // 成功回调
  554. success: (res) => {},
  555. // 失败回调
  556. fail: (res) => {}
  557. });
  558. },
  559. loadData() {
  560. // const that = this
  561. // if(uni.getStorageSync("PageCur")){
  562. // that.PageCur = uni.getStorageSync("PageCur");
  563. // }
  564. // that.userInfoTmp = uni.getStorageSync("userInfo")
  565. // uni.showLoading({
  566. // title: '正在加载',
  567. // mask:true
  568. // })
  569. // that.$api.request('integral', 'getIndexData', failres => {
  570. // that.$api.msg(failres.errmsg)
  571. // uni.hideLoading()
  572. // }).then(res => {
  573. // let data = res.data
  574. // uni.setStorageSync("message", data.message);
  575. // uni.setStorageSync("task", data.task);
  576. // uni.setStorageSync("contract", data.contract);
  577. // uni.setStorageSync('showTran', data.showTran);
  578. // that.showTran = data.showTran
  579. // that.gridList[4].tips = data.task
  580. // that.gridList[2].tips = data.contract
  581. // that.companyId = data.companyId
  582. // uni.hideLoading()
  583. // })
  584. },
  585. confirm() {
  586. const that = this
  587. if (!that.inputContent) {
  588. that.$api.msg('输入不能为空')
  589. return
  590. }
  591. let obj = {}
  592. obj[that.feild] = that.inputContent
  593. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  594. that.userInfo.nickname = that.inputContent
  595. that.inputContent = ''
  596. that.$store.commit('login', that.userInfo)
  597. })
  598. },
  599. cancel() {
  600. this.inputShow = false
  601. this.inputStatus = 'none'
  602. this.genderShow = false
  603. },
  604. myAccount() {
  605. uni.navigateTo({
  606. url: `/pageA/pages/contract`
  607. })
  608. },
  609. /**
  610. * 统一跳转接口,拦截未登录路由
  611. * navigator标签现在默认没有转场动画,所以用view
  612. */
  613. navTo(url) {
  614. if (!this.hasLogin) {
  615. url = '/pages/public/login';
  616. }
  617. uni.navigateTo({
  618. url
  619. })
  620. },
  621. mycarClick(carNo) {
  622. this.modalName = null
  623. uni.navigateTo({
  624. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  625. })
  626. },
  627. scanCode() {
  628. uni.scanCode({
  629. success: function(res) {
  630. uni.navigateTo({
  631. url: res.result
  632. })
  633. }
  634. })
  635. },
  636. hideModal(e) {
  637. this.modalName = null
  638. },
  639. }
  640. }
  641. </script>
  642. <style lang='scss' scoped>
  643. .title_b {
  644. margin: 20rpx 20rpx 0rpx 20rpx;
  645. padding: 20rpx 10rpx 20rpx 10rpx;
  646. font-size: 18px;
  647. font-weight: 550;
  648. }
  649. page {
  650. background: #F5F6FA;
  651. }
  652. .wrap {
  653. padding-bottom: 10px;
  654. font-size: 14px;
  655. background: #fff;
  656. margin: 10px;
  657. border-radius: 10px;
  658. input {
  659. font-size: 14px;
  660. }
  661. >.title {
  662. padding: 10px 16px;
  663. }
  664. .b-b:after {
  665. border-bottom: 1px solid #eee;
  666. }
  667. }
  668. .footer {
  669. background: #fff;
  670. position: fixed;
  671. bottom: 0;
  672. width: 100%;
  673. padding: 20px 10px;
  674. z-index: 10;
  675. .button {
  676. background: #22C572;
  677. width: 90%;
  678. margin: 20rpx auto;
  679. padding: 10px;
  680. color: #fff;
  681. text-align: center;
  682. border-radius: 30px;
  683. }
  684. }
  685. .c-row {
  686. display: -webkit-box;
  687. display: -webkit-flex;
  688. display: flex;
  689. -webkit-box-align: center;
  690. -webkit-align-items: center;
  691. align-items: center;
  692. padding: 20rpx 30rpx;
  693. position: relative;
  694. }
  695. .con-list {
  696. -webkit-box-flex: 1;
  697. -webkit-flex: 1;
  698. flex: 1;
  699. display: -webkit-box;
  700. display: -webkit-flex;
  701. display: flex;
  702. -webkit-box-orient: vertical;
  703. -webkit-box-direction: normal;
  704. -webkit-flex-direction: column;
  705. flex-direction: column;
  706. color: #303133;
  707. line-height: 40rpx;
  708. text-align: right;
  709. padding-right: 20rpx;
  710. }
  711. input:disabled {
  712. color: #ccc;
  713. }
  714. .textarea-style{
  715. border: 1px solid #EEEEEE;
  716. width: 100%;
  717. padding:20rpx;
  718. border-radius: 20rpx;
  719. }
  720. .c-row-fj{
  721. padding:20rpx
  722. }
  723. </style>