edit_quality_testing.vue 19 KB

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