detail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748
  1. <template>
  2. <view class="detail-page white-wrap">
  3. <view>
  4. <!-- 基础信息模块 -->
  5. <view class="section white-wrap base-info-wrap" v-if="info">
  6. <view class="title">
  7. {{ info.CompanyApprovalDetail.CompanyName }}
  8. <van-tag
  9. color="#ECF5FF"
  10. text-color="#4A83F1"
  11. style="margin-bottom:0;margin-left: 10rpx;"
  12. v-if="info.CompanyApprovalDetail.ApprovalCount>0"
  13. >
  14. 第{{ info.CompanyApprovalDetail.ApprovalCount }}次申请
  15. </van-tag>
  16. <van-tag
  17. type="warning"
  18. color="#f59a23"
  19. plain
  20. style="margin-left: 24rpx;font-weight: normal;"
  21. v-if="info.CompanyApprovalDetail.ContractSourceTag"
  22. >
  23. {{ info.CompanyApprovalDetail.ContractSourceTag }}
  24. </van-tag>
  25. </view>
  26. <view class="base-info-list">
  27. <block v-for="item in baseInfo">
  28. <view :key="item.key">
  29. <text class="lable">{{ item.key }}:</text>
  30. <text :style="{ color: item.color }">{{ item.val }}</text>
  31. <van-tag v-if="item.tag" color="#ECF5FF" text-color="#4A83F1" style="margin-left:5px">
  32. {{ item.tag }}
  33. </van-tag>
  34. </view>
  35. <view style="padding-left:140rpx;margin-top:-10px" v-if="item.key==='合同期限'">({{item.val|formateYear}})</view>
  36. </block>
  37. <view v-if="info && info.CompanyApprovalDetail.ApproveStatus === '驳回'">
  38. <text class="lable" style="color:#FE6B7C">驳回理由:</text>
  39. <text style="color:#FE6B7C">{{ info.CompanyApprovalDetail.ApproveRemark }}</text>
  40. </view>
  41. </view>
  42. <image :src="info.CompanyApprovalDetail.statusImg" mode="aspectFill" class="status-img"></image>
  43. <!-- view class="status-img pass-img" v-if="info.CompanyApprovalDetail.ApproveStatus==='已审批'"></view>
  44. <view class="status-img fail-img" v-if="info.CompanyApprovalDetail.ApproveStatus==='驳回'"></view> -->
  45. </view>
  46. <!-- 套餐模块 -->
  47. <view class="section white-wrap variety-wrap package-type" v-if="packageType">
  48. <view class="title setmeal">套餐类型</view>
  49. <van-tag color="#ECF5FF" text-color="#4A83F1" custom-class="package-tag">{{ packageType == 1 ? '大套餐' : '小套餐' }}</van-tag>
  50. </view>
  51. <!-- 品种模块 -->
  52. <view class="section white-wrap variety-wrap" v-if="varietyInfo">
  53. <view class="title">{{ varietyInfo.title }}</view>
  54. <view class="variety-list">
  55. <view class="variety-item flex" v-for="item in varietyInfo.list" :key="item.ClassifyName">
  56. <view class="lable">{{ item.ClassifyName }}:</view>
  57. <view class="content">
  58. <van-tag color="#ECF5FF" text-color="#4A83F1" v-for="tag in item.Items"
  59. :key="tag.ChartPermissionId" custom-class="tag">{{ tag.PermissionName }}</van-tag>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <!-- 合同模块 -->
  65. <view class="section white-wrap contract-wrap" v-if="constractFiles.length !== 0">
  66. <view class="title">查看合同附件</view>
  67. <view class="contract-list">
  68. <view class="contract-item" v-for="item in constractFiles" :key="item.url"
  69. @click="preViewContract(item)">
  70. <image class="contract-img" mode="aspectFill" :src="item.img"></image>
  71. </view>
  72. </view>
  73. </view>
  74. <!-- 客户信息模块 -->
  75. <view class="section white-wrap customer-wrap" v-if="showCustomerInfo && info">
  76. <view class="title">客户信息</view>
  77. <view class="customer-main-info">
  78. <view class="customer-info-item">
  79. <text>客户名称:</text>
  80. <text>{{ info.CompanyApprovalDetail.CompanyName }}</text>
  81. </view>
  82. <view class="customer-info-item">
  83. <text>社会信用码:</text>
  84. <text>{{ info.CompanyApprovalDetail.CreditCode }}</text>
  85. </view>
  86. <view class="customer-info-item">
  87. <text>地址:</text>
  88. <text>{{ info.CompanyApprovalDetail.Address }}</text>
  89. </view>
  90. </view>
  91. <view class="customer-info-list flex">
  92. <view class="customer-info-item flex" style="width:50%">
  93. <text style="flexShrink:0">客户类型:</text>
  94. <text>{{ info.CompanyApprovalDetail.CompanyType }}</text>
  95. </view>
  96. <view class="customer-info-item flex" style="width:50%">
  97. <text style="flexShrink:0">客户状态:</text>
  98. <text>{{ info.CompanyApprovalDetail.Status }}</text>
  99. </view>
  100. <view class="customer-info-item flex" style="width:50%">
  101. <text style="flexShrink:0">客户来源:</text>
  102. <text>{{ info.CompanyApprovalDetail.Source }}</text>
  103. </view>
  104. <view class="customer-info-item flex" style="width:50%">
  105. <text style="flexShrink:0">行业:</text>
  106. <text>{{ info.CompanyApprovalDetail.IndustryName }}</text>
  107. </view>
  108. <view class="customer-info-item flex" style="width:50%">
  109. <text style="flexShrink:0">申请销售:</text>
  110. <text>{{ info.CompanyApprovalDetail.SellerName }}</text>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- 流程模块 -->
  115. <view class="section process-wrap">
  116. <view class="title" style="font-size: 16px;font-weight: bold;">审批流程</view>
  117. <steps :data="info.FlowNodeList"></steps>
  118. </view>
  119. </view>
  120. <!-- 审批按钮 -->
  121. <view class="fix-bottom-wrap btns-wrap flex" v-if="info &&info.CompanyApprovalDetail.OpButton&& info.CompanyApprovalDetail.ApproveStatus === '待审批'">
  122. <button class="pass-btn" @click="handlePass">通过</button>
  123. <button class="refuse-btn" @click="handleRefuse">驳回</button>
  124. </view>
  125. <van-dialog id="van-dialog" />
  126. </view>
  127. </template>
  128. <script>
  129. import {apiCustomeDetail,apiCustomeContractDetail,apiCustomeApprove} from '@/api/approve/custome.js'
  130. import {preViewFile} from '../utils/util.js'
  131. import steps from '../components/steps.vue'
  132. import {CalculationDate} from '@/utils/calculationDate.js'
  133. export default {
  134. components:{
  135. steps
  136. },
  137. filters:{
  138. formateYear(time){
  139. let s=time.replace(/\./g, '-').split('~')[0]
  140. let e=time.replace(/\./g, '-').split('~')[1]
  141. return `有效期为 ${CalculationDate(s,e)} `;
  142. }
  143. },
  144. computed: {
  145. //是否显示客户信息模块
  146. showCustomerInfo() {
  147. if (this.info && (this.info.CompanyApprovalDetail.ApplyMethod === 2 || this.info.CompanyApprovalDetail
  148. .ApplyMethod === 4)) {
  149. return false;
  150. } else {
  151. return true;
  152. }
  153. },
  154. },
  155. data() {
  156. return {
  157. id: null,
  158. info: null,
  159. baseInfo: null, //顶部基础信息
  160. varietyInfo: null, //品种信息
  161. constractFiles: [], //合同文件
  162. packageType:'',//套餐类型
  163. };
  164. },
  165. onLoad(options) {
  166. this.id = options.id||0
  167. },
  168. onShow() {
  169. this.getDetail()
  170. },
  171. onPullDownRefresh() {
  172. this.getDetail()
  173. setTimeout(() => {
  174. uni.stopPullDownRefresh()
  175. }, 1000)
  176. },
  177. methods: {
  178. // 同意
  179. async handlePass() {
  180. const res = await apiCustomeApprove({
  181. CompanyApprovalId: Number(this.info.CompanyApprovalDetail.CompanyApprovalId),
  182. CompanyContractId: Number(this.info.CompanyApprovalDetail.CompanyContractId),
  183. CompanyId: Number(this.info.CompanyApprovalDetail.CompanyId),
  184. Remark: "",
  185. Status: 1,
  186. })
  187. if (res.code === 200) {
  188. this.$dialog.alert({
  189. title: "处理成功",
  190. confirmButtonColor: "#5890FB",
  191. }).then(() => {
  192. // on close
  193. this.getDetail()
  194. // 更新列表
  195. uni.$emit('customeApproveListUpdate',{CompanyApprovalId:this.id})
  196. });
  197. }
  198. },
  199. //拒绝
  200. handleRefuse(){
  201. const data=this.info.CompanyApprovalDetail
  202. uni.navigateTo({
  203. url:`./reason?CompanyApprovalId=${data.CompanyApprovalId}&CompanyContractId=${data.CompanyContractId}&CompanyId=${data.CompanyId}`
  204. })
  205. },
  206. // 获取审批单详情
  207. async getDetail() {
  208. const res = await apiCustomeDetail({
  209. ApprovalId: this.id
  210. })
  211. if (res.code === 200) {
  212. this.info = res.data
  213. console.log(this.info);
  214. // 初始化状态
  215. let statusImg=''
  216. switch(res.data.CompanyApprovalDetail.ApproveStatus){
  217. case '已审批':
  218. statusImg=require('../static/pass-icon.png')
  219. break;
  220. case '驳回':
  221. statusImg=require('../static/fail-icon.png')
  222. break;
  223. }
  224. this.info.CompanyApprovalDetail.statusImg=statusImg
  225. let contractInfo = null
  226. // 如果有合同id 则获取合同数据
  227. if (res.data.CompanyApprovalDetail.CompanyContractId != 0) {
  228. const contractRes = await apiCustomeContractDetail({
  229. CompanyId: res.data.CompanyApprovalDetail.CompanyId,
  230. CompanyContractId: res.data.CompanyApprovalDetail.CompanyContractId
  231. })
  232. if (contractRes.code === 200) {
  233. contractInfo = contractRes.data
  234. this.packageType = contractRes.data.PackageType
  235. }
  236. }
  237. this.initTopInfo(res.data, contractInfo)
  238. this.initVarietyInfo(res.data, contractInfo)
  239. this.initContractFiles(res.data, contractInfo)
  240. }
  241. },
  242. // 预览合同文件
  243. preViewContract(e) {
  244. if (e.type === "pdf") {
  245. preViewFile(e.url)
  246. } else {
  247. uni.previewImage({
  248. urls: [e.url]
  249. })
  250. }
  251. },
  252. // 初始化合同文件数据
  253. initContractFiles(info, contractInfo) {
  254. let arr = [];
  255. if (info && contractInfo && (info.CompanyApprovalDetail.ApplyMethod === 1 || info
  256. .CompanyApprovalDetail.ApplyMethod === 5||info
  257. .CompanyApprovalDetail.ApplyMethod === 6)) {
  258. const reg = /\.(pdf)|\.doc|\.docx$/;
  259. arr = contractInfo.ImgUrl.split("#").map((item) => {
  260. if (reg.test(item)) {
  261. return {
  262. type: "pdf",
  263. url: item,
  264. img: require("@/pages-approve/static/pdf.png"),
  265. };
  266. } else {
  267. return {
  268. type: "img",
  269. url: item,
  270. img: item,
  271. };
  272. }
  273. });
  274. }
  275. this.constractFiles = arr
  276. },
  277. // 初始化顶部数据
  278. initTopInfo(info, contractInfo) {
  279. let arr = [];
  280. //试用转正式
  281. if (info && contractInfo && info.CompanyApprovalDetail.ApplyMethod === 1) {
  282. uni.setNavigationBarTitle({
  283. title:'试用转正式'
  284. })
  285. arr = [{
  286. key: "合同编号",
  287. val: contractInfo.ContractCode,
  288. tag: contractInfo.ContractType,
  289. },
  290. {
  291. key: "合同期限",
  292. val: `${contractInfo.StartDate}~${contractInfo.EndDate}`.replace(/-/g, '.'),
  293. },
  294. {
  295. key: "合同金额",
  296. val: contractInfo.Money+'元',
  297. color: "#FE6B7C",
  298. },
  299. {
  300. key: "付款方式",
  301. val: contractInfo.PayMethod,
  302. },
  303. {
  304. key: "付款渠道",
  305. val: contractInfo.PayChannel,
  306. },
  307. {
  308. key: "申请时间",
  309. val: info.CompanyApprovalDetail.ApprovalTime.replace(/-/g, '.'),
  310. },
  311. // {
  312. // key: "申请理由",
  313. // val: info.CompanyApprovalDetail.ApplyReasons || "无",
  314. // },
  315. ];
  316. }
  317. //冻结转试用
  318. if (info && info.CompanyApprovalDetail.ApplyMethod === 2) {
  319. uni.setNavigationBarTitle({
  320. title:'冻结转试用'
  321. })
  322. arr = [{
  323. key: "客户状态",
  324. val: info.CompanyApprovalDetail.Status,
  325. },
  326. {
  327. key: "冻结期限",
  328. val: `${info.CompanyApprovalDetail.FreezeStartDate}~${info.CompanyApprovalDetail.FreezeEndDate}`
  329. .replace(/-/g, '.'),
  330. },
  331. {
  332. key: "到期天数",
  333. val: info.CompanyApprovalDetail.FreezeExpireDays,
  334. },
  335. {
  336. key: "申请销售",
  337. val: info.CompanyApprovalDetail.ApplyRealName,
  338. },
  339. {
  340. key: "申请时间",
  341. val: info.CompanyApprovalDetail.ApprovalTime.replace(/-/g, '.'),
  342. },
  343. {
  344. key: "解冻理由",
  345. val: info.CompanyApprovalDetail.ApplyReasons,
  346. },
  347. ];
  348. }
  349. //试用延期
  350. if (info && info.CompanyApprovalDetail.ApplyMethod === 3) {
  351. uni.setNavigationBarTitle({
  352. title:'试用延期'
  353. })
  354. arr = [{
  355. key: "地址",
  356. val: info.CompanyApprovalDetail.Address,
  357. },
  358. {
  359. key: "申请时间",
  360. val: info.CompanyApprovalDetail.ApprovalTime.replace(/-/g, '.'),
  361. },
  362. {
  363. key: "申请理由",
  364. val: info.CompanyApprovalDetail.ApplyReasons,
  365. },
  366. ];
  367. }
  368. //原销售申请领取
  369. if (info && info.CompanyApprovalDetail.ApplyMethod === 4) {
  370. uni.setNavigationBarTitle({
  371. title:'原销售申请领取'
  372. })
  373. arr = [{
  374. key: "客户状态",
  375. val: info.CompanyApprovalDetail.Status,
  376. },
  377. {
  378. key: "原销售",
  379. val: info.CompanyApprovalDetail.SellerName,
  380. },
  381. {
  382. key: "申请销售",
  383. val: info.CompanyApprovalDetail.ApplyRealName,
  384. },
  385. {
  386. key: "申请时间",
  387. val: info.CompanyApprovalDetail.ApprovalTime.replace(/-/g, '.'),
  388. },
  389. {
  390. key: "申请理由",
  391. val: info.CompanyApprovalDetail.ApplyReasons,
  392. },
  393. ];
  394. }
  395. //续约申请/补充协议
  396. if (info && contractInfo && (info.CompanyApprovalDetail.ApplyMethod === 5||info.CompanyApprovalDetail.ApplyMethod===6)) {
  397. uni.setNavigationBarTitle({
  398. title:info.CompanyApprovalDetail.ApplyMethod === 5?'续约申请':'补充协议'
  399. })
  400. arr = [{
  401. key: "合同编号",
  402. val: contractInfo.ContractCode,
  403. tag: contractInfo.ContractType,
  404. },
  405. {
  406. key: "合同期限",
  407. val: `${contractInfo.StartDate}~${contractInfo.EndDate}`.replace(/-/g, '.'),
  408. },
  409. {
  410. key: "合同金额",
  411. val: contractInfo.Money+'元',
  412. color: "#FE6B7C",
  413. },
  414. {
  415. key: "付款方式",
  416. val: contractInfo.PayMethod,
  417. },
  418. {
  419. key: "付款渠道",
  420. val: contractInfo.PayChannel,
  421. },
  422. {
  423. key: "申请时间",
  424. val: info.CompanyApprovalDetail.ApprovalTime.replace(/-/g, '.'),
  425. },
  426. // {
  427. // key: "申请理由",
  428. // val: info.CompanyApprovalDetail.ApplyReasons || "无",
  429. // },
  430. ];
  431. }
  432. this.baseInfo = arr
  433. },
  434. // 初始化品种信息
  435. initVarietyInfo(info, contractInfo) {
  436. let usertype = this.$store.state.userInfo.ProductName; //用户身份类型admin,ficc,权益
  437. let arr = [];
  438. let obj = {
  439. title: "",
  440. list: [],
  441. };
  442. //试用转正式
  443. if (info && contractInfo && info.CompanyApprovalDetail.ApplyMethod === 1) {
  444. obj.title = "购买品种";
  445. arr = contractInfo.PermissionList;
  446. if (!arr) return obj;
  447. arr.forEach((item) => {
  448. let temarr = item.Items.filter((e) => {
  449. let flag = item.CheckList.includes(e.ChartPermissionId);
  450. if (flag) return e;
  451. });
  452. if (temarr.length !== 0) {
  453. obj.list.push({
  454. ClassifyName: item.ClassifyName,
  455. Items: temarr,
  456. });
  457. }
  458. });
  459. }
  460. //冻结转试用
  461. if (info && info.CompanyApprovalDetail.ApplyMethod === 2) {
  462. obj.title = "申请品种";
  463. if (usertype === "ficc") {
  464. arr = info.FiccPermissionList;
  465. } else if (usertype === "权益") {
  466. arr = info.PermissionList;
  467. } else if (usertype === "admin") {
  468. if (info.FiccPermissionList) {
  469. arr = [...info.FiccPermissionList];
  470. }
  471. if (info.PermissionList) {
  472. arr = [...info.PermissionList];
  473. }
  474. }
  475. if (!arr) return obj;
  476. arr.forEach((item) => {
  477. let temarr = item.Items.filter((e) => {
  478. let flag = item.CheckList.includes(e.ChartPermissionId);
  479. if (flag) return e;
  480. });
  481. if (temarr.length !== 0) {
  482. obj.list.push({
  483. ClassifyName: item.ClassifyName,
  484. Items: temarr,
  485. });
  486. }
  487. });
  488. }
  489. //试用延期
  490. if (info && info.CompanyApprovalDetail.ApplyMethod === 3) {
  491. obj.title = "申请品种";
  492. if (usertype === "ficc") {
  493. arr = info.FiccPermissionList;
  494. } else if (usertype === "权益") {
  495. arr = info.PermissionList;
  496. } else if (usertype === "admin") {
  497. if (info.FiccPermissionList) {
  498. arr = [...info.FiccPermissionList];
  499. }
  500. if (info.PermissionList) {
  501. arr = [...info.PermissionList];
  502. }
  503. }
  504. if (!arr) return obj;
  505. arr.forEach((item) => {
  506. let temarr = item.Items.filter((e) => {
  507. let flag = item.CheckList.includes(e.ChartPermissionId);
  508. if (flag) return e;
  509. });
  510. if (temarr.length !== 0) {
  511. obj.list.push({
  512. ClassifyName: item.ClassifyName,
  513. Items: temarr,
  514. });
  515. }
  516. });
  517. }
  518. //原销售申请领取
  519. if (info && info.CompanyApprovalDetail.ApplyMethod === 4) {
  520. obj.title = "申请品种";
  521. if (usertype === "ficc") {
  522. arr = info.FiccPermissionList;
  523. } else if (usertype === "权益") {
  524. arr = info.PermissionList;
  525. } else if (usertype === "admin") {
  526. if (info.FiccPermissionList) {
  527. arr = [...info.FiccPermissionList];
  528. }
  529. if (info.PermissionList) {
  530. arr = [...info.PermissionList];
  531. }
  532. }
  533. if (!arr) return obj;
  534. arr.forEach((item) => {
  535. let temarr = item.Items.filter((e) => {
  536. let flag = item.CheckList.includes(e.ChartPermissionId);
  537. if (flag) return e;
  538. });
  539. if (temarr.length !== 0) {
  540. obj.list.push({
  541. ClassifyName: item.ClassifyName,
  542. Items: temarr,
  543. });
  544. }
  545. });
  546. }
  547. //续约申请/补充协议
  548. if (info && contractInfo && (info.CompanyApprovalDetail.ApplyMethod === 5||info.CompanyApprovalDetail.ApplyMethod===6)) {
  549. obj.title = "购买品种";
  550. arr = contractInfo.PermissionList;
  551. if (!arr) return obj;
  552. arr.forEach((item) => {
  553. let temarr = item.Items.filter((e) => {
  554. let flag = item.CheckList.includes(e.ChartPermissionId);
  555. if (flag) return e;
  556. });
  557. if (temarr.length !== 0) {
  558. obj.list.push({
  559. ClassifyName: item.ClassifyName,
  560. Items: temarr,
  561. });
  562. }
  563. });
  564. }
  565. this.varietyInfo = obj
  566. }
  567. },
  568. }
  569. </script>
  570. <style lang="scss">
  571. .detail-page {
  572. width: 100%;
  573. min-height: 100vh;
  574. padding-bottom: calc(150rpx + constant(safe-area-inset-bottom));
  575. padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
  576. }
  577. .section {
  578. padding: 30rpx 34rpx;
  579. border-bottom: 14rpx solid #f5f5f5;
  580. &:last-child {
  581. margin-bottom: 0;
  582. border: none;
  583. }
  584. .title {
  585. font-size: 16px;
  586. font-weight: bold;
  587. margin: 0 0 40rpx 0;
  588. }
  589. .setmeal {
  590. margin: 0;
  591. }
  592. .lable {
  593. color: #666;
  594. flex-shrink: 0;
  595. font-size: 14px;
  596. }
  597. }
  598. .base-info-wrap {
  599. position: relative;
  600. .title {
  601. margin: 0 0 40rpx 0;
  602. &::before {
  603. content: "";
  604. display: inline-block;
  605. width: 15px;
  606. height: 17px;
  607. background-image: url("@/static/man.png");
  608. background-size: cover;
  609. background-repeat: no-repeat;
  610. margin-right: 10rpx;
  611. position: relative;
  612. top: 4rpx;
  613. }
  614. }
  615. .base-info-list {
  616. font-size: 14px;
  617. color: #000;
  618. view {
  619. margin-bottom: 10px;
  620. display: flex;
  621. }
  622. }
  623. .status-img{
  624. position: absolute;
  625. width: 220rpx;
  626. height: 220rpx;
  627. right: 0;
  628. top: 100rpx;
  629. }
  630. }
  631. .package-type {
  632. display: flex !important;
  633. align-items: center;
  634. .package-tag {
  635. margin-left: 15rpx;
  636. }
  637. }
  638. .variety-wrap {
  639. .variety-item {
  640. padding-top: 24rpx;
  641. padding-bottom: 24rpx;
  642. border-bottom: 1px dashed rgba(112, 112, 112, 0.2);
  643. }
  644. .variety-item:first-child {
  645. padding-top: 0;
  646. }
  647. .variety-item:last-child {
  648. border-bottom: none;
  649. }
  650. .tag {
  651. margin-right: 10rpx;
  652. margin-bottom: 10rpx;
  653. }
  654. }
  655. .contract-list {
  656. display: flex;
  657. flex-wrap: wrap;
  658. .contract-img {
  659. width: 102rpx;
  660. height: 120rpx;
  661. }
  662. }
  663. .customer-main-info {
  664. padding-bottom: 40rpx;
  665. border-bottom: 1px dashed rgba(112, 112, 112, 0.2);
  666. }
  667. .customer-info-item {
  668. font-size: 14px;
  669. color: #999;
  670. margin-bottom: 20rpx;
  671. }
  672. .customer-info-list {
  673. flex-wrap: wrap;
  674. padding-top: 20rpx;
  675. }
  676. .btns-wrap {
  677. justify-content: center;
  678. button {
  679. width: 260rpx;
  680. height: 70rpx;
  681. border-radius: 28px;
  682. border: none;
  683. margin: 0 15px;
  684. font-size: 15px;
  685. color: #fff;
  686. line-height: 70rpx;
  687. }
  688. .pass-btn {
  689. background-color: #5890fb;
  690. }
  691. .refuse-btn {
  692. background-color: #f55768;
  693. }
  694. }
  695. </style>