contract.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834
  1. <template>
  2. <view class="center">
  3. <view v-for="(item , index) in lists" :Key="index" class="region">
  4. <view>
  5. <view class="c-row ">
  6. <text class="tit">采购</text>
  7. <view class="enterprise">
  8. 编号{{item.contractNo}}{{item.procurementPlanType}}
  9. </view>
  10. </view>
  11. <text>{{item.status}}</text>
  12. </view>
  13. <view>
  14. <view class="c-row ">
  15. <text class="tit1">买方</text>
  16. <view class="enterprise">
  17. {{item.customer}}
  18. </view>
  19. </view>
  20. </view>
  21. <view class="forList flex">
  22. <view class="title">{{item.goodsName}}:<text>{{item.goodsName}}</text></view>
  23. <view class="title">单价:¥<text>{{item.unitPrice}}</text></view>
  24. <view class="title">基差:¥<text>{{item.basis}}</text></view>
  25. </view>
  26. <view class="c-row flex annius">
  27. <text class="anniu" @click="commit"> 附件</text>
  28. <text class="anniu" @click="someprice(item)"> 点价</text>
  29. <text class="anniu1" @click="commit1(item)"> 发货</text>
  30. <text class="anniu1" @click="commit2(item)"> 收货</text>
  31. </view>
  32. </view>
  33. <view v-if='pricestatus' class='shade'>
  34. <view class='shade-content'>
  35. <view class='shade-content-item'>
  36. <input v-model='price' placeholder="请输入点价价格" type="number">元/吨
  37. </view>
  38. <view>
  39. <button style='width:50%;display:inline-block;' @click='pricestatus=false'>取消</button>
  40. <button style='width:50%;display:inline-block;' @click='amendprice'>确定</button>
  41. </view>
  42. </view>
  43. </view>
  44. <view v-if='shadestatus' class='shade'>
  45. <view class='shade-content'>
  46. <view class='shade-content-item'>
  47. <view>请于以下时间段进行点价操作:</view>
  48. <view>11:30 ~ 12:30</view>
  49. <view>14:19 ~ 20:00</view>
  50. <view>23:00 ~ 08:00</view>
  51. </view>
  52. <button style='width:50%;display:inline-block;' @click='shadestatus=false'>取消</button>
  53. </view>
  54. </view>
  55. <view class="padding flex flex-direction">
  56. <!-- <button class="cu-btn commit margin-tb-sm lg" @click="commit">提交</button> -->
  57. </view>
  58. <!-- </block> -->
  59. </view>
  60. </template>
  61. <script>
  62. import uploadImage from '@/components/ossutil/uploadFile.js';
  63. import {
  64. mapState
  65. } from 'vuex';
  66. export default {
  67. name: "trust",
  68. data() {
  69. return {
  70. lists: [],
  71. shadestatus: false,
  72. pricestatus: false,
  73. goods: {
  74. pageSize: 10,
  75. currentPage: 1,
  76. id: "41651544",
  77. // pcFlag : 0,
  78. },
  79. procurementPlanInfo: {
  80. pageSize: 10,
  81. currentPage: 1
  82. },
  83. tran: {
  84. total: 0,
  85. price: 0,
  86. startPlace: undefined,
  87. endPlace: undefined,
  88. goodsName: undefined,
  89. sender: '',
  90. senderPhone: '',
  91. status: 0,
  92. receiver: '',
  93. receiverPhone: '',
  94. verifyCode: '',
  95. driver: '',
  96. driverPhone: '',
  97. carNo: '',
  98. personNoImg: '',
  99. personNoImg1: '',
  100. driverNoImg: '',
  101. driverNoImg1: '',
  102. carNoImg: '',
  103. carNoImg1: ''
  104. },
  105. id: 0,
  106. PageCur: "trust",
  107. TabCur: 0,
  108. priceTypeIndex: -1,
  109. priceType: ['库内价', '到库价', '到港价'],
  110. unitPrice: 0,
  111. price: 0,
  112. seller: '',
  113. sellerPhone: '',
  114. minSale: '',
  115. exsitCount: 0,
  116. origin: '',
  117. stock: '',
  118. goodsName: '',
  119. verifyCode: '',
  120. sendText0: '获取验证码',
  121. sendText1: '获取验证码',
  122. sendText2: '获取验证码',
  123. sendText3: '获取验证码',
  124. sendDisabled0: false,
  125. sendDisabled1: false,
  126. sendDisabled2: false,
  127. sendDisabled3: false,
  128. buyer: '',
  129. buyerPhone: '',
  130. level: '',
  131. sender: '',
  132. senderPhone: '',
  133. receiver: '',
  134. receiverPhone: '',
  135. total: 0,
  136. startPlace: '',
  137. endPlace: '',
  138. driver: '',
  139. driverPhone: '',
  140. carNo: '',
  141. personNoImg: '',
  142. personNoImg1: '',
  143. driverNoImg: '',
  144. driverNoImg1: '',
  145. carNoImg: '',
  146. carNoImg1: '',
  147. showTran: true
  148. };
  149. },
  150. computed: {
  151. ...mapState(['hasLogin', 'userInfo'])
  152. },
  153. // onShow() {
  154. // this.loadData()
  155. // },
  156. onLoad() {
  157. this.getList()
  158. },
  159. methods: {
  160. amendprice() {
  161. this.$api.doRequest('post', '/purchaseOrder/api/pointPrice', {
  162. id: this.id,
  163. unitPrice: Number(this.price)
  164. }).then(res => {
  165. if (res.data.code == 200) {
  166. this.pricestatus = false
  167. } else {
  168. uni.showToast({
  169. title: res.data.message,
  170. icon: 'none',
  171. duration: 2000
  172. })
  173. }
  174. })
  175. .catch(res => {
  176. uni.showToast({
  177. title: res.errmsg,
  178. icon: 'none',
  179. duration: 2000
  180. })
  181. });
  182. },
  183. someprice(item) {
  184. var time = new Date().getTime()
  185. var time1 = new Date(new Date(new Date().toLocaleDateString()).getTime() - (1 * 60 * 60 * 1000))
  186. var time2 = new Date()
  187. time2.setHours(8);
  188. time2.setMinutes(0);
  189. time2.setSeconds(0);
  190. var time3 = new Date()
  191. time3.setHours(11);
  192. time3.setMinutes(30);
  193. time3.setSeconds(0);
  194. var time4 = new Date()
  195. time4.setHours(12);
  196. time4.setMinutes(30);
  197. time4.setSeconds(0);
  198. var time5 = new Date()
  199. time5.setHours(15);
  200. time5.setMinutes(30);
  201. time5.setSeconds(0);
  202. var time6 = new Date()
  203. time6.setHours(20);
  204. time6.setMinutes(0);
  205. time6.setSeconds(0);
  206. if (time < time2.getTime() && time > time1 || time < time4.getTime() && time > time3.getTime() || time <
  207. time6.getTime() && time > time5.getTime()) {
  208. this.id = item.id
  209. this.pricestatus = true
  210. } else {
  211. this.shadestatus = true
  212. }
  213. },
  214. commit1(item) {
  215. uni.navigateTo({
  216. url: `/pageB/contract/look?id=${item.id}&contractNo=${item.contractNo}&customer=${item.customer}&goodsName=${item.goodsName}`
  217. })
  218. },
  219. commit2(item) {
  220. uni.navigateTo({
  221. url: `/pageB/contract/collectLook?id=${item.id}&contractNo=${item.contractNo}&customer=${item.customer}&goodsName=${item.goodsName}`
  222. })
  223. },
  224. getList() {
  225. this.goods.commonId = this.userInfo.id
  226. this.$api.doRequest('get', '/purchaseOrder/selectPurchaseOrderApp', this.goods).then(res => {
  227. if (res.data.code == 200) {
  228. this.lists = res.data.data.records
  229. } else {
  230. uni.showToast({
  231. title: res.data.message,
  232. icon: 'none',
  233. duration: 2000
  234. })
  235. }
  236. })
  237. .catch(res => {
  238. uni.showToast({
  239. title: res.errmsg,
  240. icon: 'none',
  241. duration: 2000
  242. })
  243. });
  244. },
  245. ChooseImageCar() {
  246. uni.chooseImage({
  247. count: 1, //默认9
  248. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  249. sourceType: ['album', 'camera'], //从相册选择
  250. success: (res) => {
  251. //上传图片
  252. //图片路径可自行修改
  253. uploadImage(res.tempFilePaths[0], 'carNoImg/',
  254. result => {
  255. if (this.carNoImg.length != 0) {
  256. this.carNoImg1 = result
  257. } else {
  258. this.carNoImg = result
  259. }
  260. uni.hideLoading();
  261. }
  262. )
  263. }
  264. });
  265. },
  266. ViewImage(e) {
  267. var img = [];
  268. img = e.currentTarget.dataset.url.split(' ')
  269. uni.previewImage({
  270. current: 0,
  271. urls: img
  272. });
  273. },
  274. // DelImg(e) {
  275. // uni.showModal({
  276. // title: '提示',
  277. // content: '确定要删除该照片吗?',
  278. // cancelText: '取消',
  279. // confirmText: '确定',
  280. // success: res => {
  281. // if (res.confirm) {
  282. // if (e.currentTarget.dataset.index == 0) {
  283. // this.personNoImg = "";
  284. // } else if (e.currentTarget.dataset.index == 1) {
  285. // this.personNoImg1 = "";
  286. // } else if (e.currentTarget.dataset.index == 2) {
  287. // this.driverNoImg = "";
  288. // } else if (e.currentTarget.dataset.index == 3) {
  289. // this.driverNoImg1 = "";
  290. // } else if (e.currentTarget.dataset.index == 4) {
  291. // this.carNoImg = "";
  292. // } else if (e.currentTarget.dataset.index == 5) {
  293. // this.carNoImg1 = "";
  294. // }
  295. // }
  296. // }
  297. // })
  298. // },
  299. commit11() {
  300. if (this.hasLogin) {
  301. uni.showModal({
  302. title: '登录提示',
  303. content: '您尚未登录,是否立即登录?',
  304. showCancel: true,
  305. confirmText: '登录',
  306. success: (e) => {
  307. if (e.confirm) {
  308. uni.navigateTo({
  309. url: '/pagesB/contract/look'
  310. })
  311. }
  312. },
  313. fail: () => {},
  314. complete: () => {}
  315. })
  316. } else {
  317. const that = this
  318. if (this.TabCur == 0) {
  319. // if (!that.seller) {
  320. // this.$api.msg('请填写卖方');
  321. // return;
  322. // }
  323. // if (!that.sellerPhone) {
  324. // this.$api.msg('请填写手机号码');
  325. // return;
  326. // }
  327. // if (!that.exsitCount) {
  328. // this.$api.msg('请填写库存量');
  329. // return;
  330. // }
  331. // if (!that.minSale) {
  332. // this.$api.msg('请填写最小成交量');
  333. // return;
  334. // }
  335. // if (!that.goodsName) {
  336. // this.$api.msg('请填写货名');
  337. // return;
  338. // }
  339. // if (!that.verifyCode) {
  340. // this.$api.msg('请填写验证码');
  341. // return;
  342. // }
  343. // if (!that.price) {
  344. // that.$api.msg('请选择价格类型')
  345. // return
  346. // }
  347. // if (!that.unitPrice) {
  348. // that.$api.msg('请填写协议价格(元/吨)');
  349. // return
  350. // }
  351. // if (!that.origin) {
  352. // this.$api.msg('请填写产地');
  353. // return;
  354. // }
  355. // if (!that.stock) {
  356. // this.$api.msg('请填写库存地');
  357. // return;
  358. // }
  359. // if (!that.level) {
  360. // this.$api.msg('请填写国标等级');
  361. // return;
  362. // }
  363. // that.saleInfo.seller = that.seller
  364. // that.saleInfo.sellerPhone = that.sellerPhone
  365. // that.saleInfo.priceType = that.price
  366. // that.saleInfo.unitPrice = that.unitPrice
  367. // that.saleInfo.minSale = that.minSale
  368. // that.saleInfo.exsitCount = that.exsitCount
  369. // that.saleInfo.origin = that.origin
  370. // that.saleInfo.stock = that.stock
  371. // that.saleInfo.verifyCode = that.verifyCode
  372. // that.saleInfo.goodsName = that.goodsName
  373. // that.saleInfo.buyer = that.buyer
  374. // that.saleInfo.buyerPhone = that.buyerPhone
  375. // that.saleInfo.level = that.level
  376. } else if (this.TabCur == 1) {
  377. if (!that.buyer) {
  378. this.$api.msg('请填写买方');
  379. return;
  380. }
  381. if (!that.buyerPhone) {
  382. this.$api.msg('请填写手机号码');
  383. return;
  384. }
  385. if (!that.goodsName) {
  386. this.$api.msg('请填写货名');
  387. return;
  388. }
  389. if (!that.verifyCode) {
  390. this.$api.msg('请填写验证码');
  391. return;
  392. }
  393. if (!that.price) {
  394. that.$api.msg('请选择价格类型')
  395. return
  396. }
  397. if (!that.unitPrice) {
  398. that.$api.msg('请填写协议价格(元/吨)');
  399. return
  400. }
  401. if (!that.origin) {
  402. this.$api.msg('请填写产地');
  403. return;
  404. }
  405. if (!that.stock) {
  406. this.$api.msg('请填写库存地');
  407. return;
  408. }
  409. if (!that.level) {
  410. this.$api.msg('请填写国标等级');
  411. return;
  412. }
  413. that.saleInfo.seller = that.seller
  414. that.saleInfo.sellerPhone = that.sellerPhone
  415. that.saleInfo.priceType = that.price
  416. that.saleInfo.unitPrice = that.unitPrice
  417. that.saleInfo.minSale = that.minSale
  418. that.saleInfo.exsitCount = that.exsitCount
  419. that.saleInfo.origin = that.origin
  420. that.saleInfo.stock = that.stock
  421. that.saleInfo.verifyCode = that.verifyCode
  422. that.saleInfo.goodsName = that.goodsName
  423. that.saleInfo.buyer = that.buyer
  424. that.saleInfo.buyerPhone = that.buyerPhone
  425. that.saleInfo.level = that.level
  426. } else if (this.TabCur == 2) {
  427. if (!that.sender) {
  428. this.$api.msg('请填写发货方');
  429. return;
  430. }
  431. if (!that.senderPhone) {
  432. this.$api.msg('请填写发货方手机号码');
  433. return;
  434. }
  435. if (!that.receiver) {
  436. this.$api.msg('请填写收货方');
  437. return;
  438. }
  439. if (!that.receiverPhone) {
  440. this.$api.msg('请填写收货方手机号码');
  441. return;
  442. }
  443. if (!that.goodsName) {
  444. this.$api.msg('请填写货名');
  445. return;
  446. }
  447. if (!that.verifyCode) {
  448. this.$api.msg('请填写验证码');
  449. return;
  450. }
  451. that.tran.sender = that.sender
  452. that.tran.senderPhone = that.senderPhone
  453. that.tran.receiver = that.receiver
  454. that.tran.receiverPhone = that.receiverPhone
  455. that.tran.verifyCode = that.verifyCode
  456. that.tran.goodsName = that.goodsName
  457. that.tran.total = that.total
  458. that.tran.price = that.price
  459. that.tran.startPlace = that.startPlace
  460. that.tran.endPlace = that.endPlace
  461. } else if (this.TabCur == 3) {
  462. if (!that.startPlace) {
  463. this.$api.msg('请填写起始地');
  464. return;
  465. }
  466. if (!that.endPlace) {
  467. this.$api.msg('请填写目的地');
  468. return;
  469. }
  470. if (!that.driver) {
  471. this.$api.msg('请填写承运人');
  472. return;
  473. }
  474. if (!that.driverPhone) {
  475. this.$api.msg('请填写承运人手机号码');
  476. return;
  477. }
  478. if (!/(^1[3|4|5|7|8][0-9]{9}$)/.test(that.driverPhone)) {
  479. that.$api.msg('请输入正确的承运人手机号码');
  480. return
  481. }
  482. if (!that.carNo) {
  483. this.$api.msg('请填写车牌号');
  484. return;
  485. }
  486. if (!that.verifyCode) {
  487. this.$api.msg('请填写验证码');
  488. return;
  489. }
  490. if (!that.personNoImg || !that.personNoImg1) {
  491. that.$api.msg('请上传身份证正、反面照片');
  492. return
  493. }
  494. if (!that.driverNoImg || !that.driverNoImg1) {
  495. that.$api.msg('请上传驾驶证主、副页照片');
  496. return
  497. }
  498. if (!that.carNoImg || !that.carNoImg1) {
  499. that.$api.msg('请上传行车证主、副页照片');
  500. return
  501. }
  502. that.tran.driver = that.driver
  503. that.tran.driverPhone = that.driverPhone
  504. that.tran.verifyCode = that.verifyCode
  505. that.tran.price = that.price
  506. that.tran.startPlace = that.startPlace
  507. that.tran.endPlace = that.endPlace
  508. that.tran.carNo = that.carNo
  509. that.tran.personNoImg = that.personNoImg
  510. that.tran.personNoImg1 = that.personNoImg1
  511. that.tran.driverNoImg = that.driverNoImg
  512. that.tran.driverNoImg1 = that.driverNoImg1
  513. that.tran.carNoImg = that.carNoImg
  514. that.tran.carNoImg1 = that.carNoImg1
  515. }
  516. // 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
  517. wx.getSetting({
  518. // withSubscriptions: true,//是否获取用户订阅消息的订阅状态,默认false不返回
  519. success(res) {
  520. if (res.authSetting['scope.subscribeMessage']) {
  521. uni.openSetting({ // 打开设置页
  522. success(res) {
  523. console.log(res.authSetting)
  524. }
  525. });
  526. } else { // 用户没有点击“总是保持以上,不再询问”则每次都会调起订阅消息
  527. uni.requestSubscribeMessage({
  528. tmplIds: ['8cVkckXi_8zfHeScXRHhjN6cgZFYYCWIMPDTiPWagXY'], //
  529. success(res) {
  530. console.log(res)
  531. if (res['8cVkckXi_8zfHeScXRHhjN6cgZFYYCWIMPDTiPWagXY'] ==
  532. "accept") { // 字段就是tmplIds模板id
  533. uni.showLoading({
  534. title: '正在提交',
  535. mask: true
  536. })
  537. if (that.TabCur == 0) {
  538. that.$api.request('sale', 'addSale', that.saleInfo,
  539. failres => {
  540. uni.hideLoading()
  541. that.$api.msg(failres.errmsg);
  542. }).then(res => {
  543. uni.hideLoading()
  544. uni.showModal({
  545. title: '提示',
  546. content: "发布提交成功,工作人员会尽快联系该号码:" +
  547. that.sellerPhone,
  548. showCancel: false,
  549. confirmText: '确定',
  550. success: () => {
  551. uni.navigateBack()
  552. }
  553. })
  554. // that.$api.prePage().refreshList(data, that.manageType);
  555. })
  556. } else if (that.TabCur == 1) {
  557. that.$api.request('sale', 'addBuy', that.saleInfo,
  558. failres => {
  559. uni.hideLoading()
  560. that.$api.msg(failres.errmsg);
  561. }).then(res => {
  562. uni.hideLoading()
  563. uni.showModal({
  564. title: '提示',
  565. showCancel: false,
  566. content: "发布提交成功,工作人员会尽快联系该号码:" +
  567. that.buyerPhone,
  568. confirmText: '确定',
  569. success: () => {
  570. uni.navigateBack()
  571. }
  572. })
  573. // that.$api.prePage().refreshList(data, that.manageType);
  574. })
  575. } else if (that.TabCur == 2) {
  576. that.$api.request('tran', 'addTran', that.tran,
  577. failres => {
  578. uni.hideLoading()
  579. that.$api.msg(failres.errmsg);
  580. }).then(res => {
  581. uni.hideLoading()
  582. uni.showModal({
  583. title: '提示',
  584. showCancel: false,
  585. content: "发布提交成功,工作人员会尽快联系该号码:" +
  586. that.senderPhone,
  587. confirmText: '确定',
  588. success: () => {
  589. uni.navigateBack()
  590. }
  591. })
  592. // that.$api.prePage().refreshList(data, that.manageType);
  593. })
  594. } else if (that.TabCur == 3) {
  595. that.$api.request('tran', 'addCarDriver', that.tran,
  596. failres => {
  597. uni.hideLoading()
  598. that.$api.msg(failres.errmsg);
  599. }).then(res => {
  600. uni.hideLoading()
  601. uni.showModal({
  602. title: '提示',
  603. showCancel: false,
  604. content: "发布提交成功,工作人员会尽快联系该号码:" +
  605. that.driverPhone,
  606. confirmText: '确定',
  607. success: () => {
  608. uni.navigateBack()
  609. }
  610. })
  611. // that.$api.prePage().refreshList(data, that.manageType);
  612. })
  613. }
  614. }
  615. }
  616. })
  617. }
  618. }
  619. })
  620. }
  621. }
  622. },
  623. }
  624. </script>
  625. <style scoped>
  626. .center {
  627. padding: 10px 20px;
  628. background-color: #F5F6FA;
  629. }
  630. .region {
  631. background-color: #FFFFFF;
  632. border-radius: 20px;
  633. margin-top: 10px;
  634. }
  635. .zan-dialog__mask {
  636. position: fixed;
  637. top: 0;
  638. left: 0;
  639. right: 0;
  640. bottom: 0;
  641. z-index: 10;
  642. background: rgba(0, 0, 0, 0);
  643. /*设置阴影半透明背景如: background: rgba(0, 0, 0, 0.4);*/
  644. display: none;
  645. }
  646. .zan-dialog__container {
  647. position: fixed;
  648. bottom: 400rpx;
  649. width: 650rpx;
  650. /*弹窗布局宽*/
  651. height: 350rpx;
  652. /*弹窗布局高,与下面弹出距离transform有关*/
  653. margin-left: 50rpx;
  654. background: #f8f8f8;
  655. transform: translateY(300%);
  656. /*弹框弹出距离,与弹框布局高度有关,如300%表示弹起距离为3倍弹窗高度 */
  657. transition: all 0.4s ease;
  658. z-index: 12;
  659. border-radius: 20rpx;
  660. box-shadow: 0px 3px 3px 2px gainsboro;
  661. /*弹框的悬浮阴影效果,如不需要可注释该行*/
  662. }
  663. .zan-dialog--show .zan-dialog__container {
  664. transform: translateY(0);
  665. }
  666. .zan-dialog--show .zan-dialog__mask {
  667. display: block;
  668. }
  669. .container {
  670. padding-bottom: 160rpx;
  671. }
  672. .cu-form-group input {
  673. text-align: right;
  674. }
  675. .text-white text {
  676. background: linear-gradient(45deg, #3DC146, #B2D612);
  677. padding: 5px 10px;
  678. border-radius: 38rpx;
  679. }
  680. .cu-form-group textarea {
  681. text-align: right;
  682. }
  683. .commit {
  684. background: linear-gradient(45deg, #DF331C, #DA611A);
  685. color: #fff;
  686. }
  687. .shade {
  688. position: fixed;
  689. top: 0;
  690. left: 0;
  691. width: 100%;
  692. background: rgba(0, 0, 0, 0.5);
  693. height: 100%;
  694. z-index: 999999;
  695. }
  696. .shade-content {
  697. background: #fff;
  698. position: absolute;
  699. top: 50%;
  700. left: 50%;
  701. transform: translateX(-50%) translateY(-50%);
  702. z-index: 999999;
  703. text-align: center;
  704. }
  705. .shade-content-item {
  706. width: 277px;
  707. text-align: center;
  708. height: 121px;
  709. padding: 35px 10px;
  710. }
  711. .c-row {
  712. display: -webkit-box;
  713. display: -webkit-flex;
  714. display: flex;
  715. -webkit-box-align: center;
  716. -webkit-align-items: center;
  717. align-items: center;
  718. padding: 20rpx 30rpx;
  719. position: relative;
  720. }
  721. .con-list {
  722. -webkit-box-flex: 1;
  723. -webkit-flex: 1;
  724. flex: 1;
  725. display: -webkit-box;
  726. display: -webkit-flex;
  727. display: flex;
  728. -webkit-box-orient: vertical;
  729. -webkit-box-direction: normal;
  730. -webkit-flex-direction: column;
  731. flex-direction: column;
  732. color: #303133;
  733. line-height: 40rpx;
  734. text-align: right;
  735. padding-right: 20rpx;
  736. font-size: 14px;
  737. }
  738. .forList {
  739. width: 90%;
  740. height: 30px;
  741. margin: 0 auto;
  742. background-color: #F9F9FA;
  743. border-radius: 10px;
  744. }
  745. .forList .title {
  746. line-height: 30px;
  747. margin-left: 15px;
  748. color: #9698A2;
  749. }
  750. .tit {
  751. width: 34px;
  752. height: 24px;
  753. background-color: #E9F8F0;
  754. color: #22C572;
  755. padding: 2px 3px;
  756. border-radius: 5px;
  757. }
  758. .tit1 {
  759. width: 34px;
  760. height: 24px;
  761. background-color: #FEECE6;
  762. color: #FE6430;
  763. padding: 2px 3px;
  764. border-radius: 5px;
  765. }
  766. .enterprise {
  767. font-size: 16px;
  768. font-weight: 600;
  769. margin-left: 20px;
  770. }
  771. .annius{
  772. width: 70%;
  773. margin-left: 110px;
  774. }
  775. .anniu{
  776. width: 50px;
  777. font-size: 16px;
  778. border: 1px solid #CDCDCD;
  779. border-radius: 15px;
  780. /* margin-left: 20px; */
  781. position: relative;
  782. margin-right: 10px;
  783. text-align: center;
  784. line-height: 30px;
  785. }
  786. .anniu1{
  787. width: 50px;
  788. font-size: 16px;
  789. border: 1px solid #22C572;
  790. border-radius: 15px;
  791. color: #22C572;
  792. /* margin-left: 20px; */
  793. position: relative;
  794. margin-right: 10px;
  795. text-align: center;
  796. line-height: 30px;
  797. }
  798. </style>