editBox.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <!--
  2. * @Description: 详情弹框
  3. * @Author: Sugar.
  4. * @Date: 2023-11-24 13:55:00
  5. * @LastEditors: gcz
  6. * @LastEditTime: 2025-03-20 15:30:52
  7. * @FilePath: \great_webui\src\views\order\orderMr\dialog\details.vue
  8. * @Copyright: Copyright (c) 2016~2023 by Sugar., All Rights Reserved.
  9. -->
  10. <template>
  11. <el-dialog :title="title" :visible.sync="open" width="96%" append-to-body :close-on-click-modal="false"
  12. @close="cancel">
  13. <div v-loading="loading" class="dialog dialog-bbb" v-if="form">
  14. <div v-loading="loading_form" element-loading-text="加载详情中...">
  15. <!-- 基础信息 -->
  16. <div class="title-class" style="margin-top: 0">基础信息</div>
  17. <el-row v-for="(item, index) in formList" :key="index">
  18. <el-col :span="12" v-for="(item1, index1) in item" :key="index1">
  19. <div class="grid-content bg-purple item-class">
  20. <span>{{ item1.lable }}</span>
  21. <span>{{ form[item1.key] }}</span>
  22. </div>
  23. </el-col>
  24. </el-row>
  25. <el-row>
  26. <el-form :model="form" ref="form" size="mini" :rules="rules" label-width="100px">
  27. <div style="display: flex;">
  28. <el-form-item label="场次日期:" prop="performDate">
  29. <el-date-picker v-model="form.performDate" type="date" @change="performDateEven"
  30. value-format="yyyy-MM-dd" placeholder="选择日期">
  31. </el-date-picker>
  32. </el-form-item>
  33. <el-form-item label="场次:" prop="performTimeId">
  34. <el-select v-model="form.performTimeId" laceholder="选择场次" clearable style="width: 100%;"
  35. @change="performTimeIdEven">
  36. <el-option v-for="dict in performTimeList" :key="dict.performTimeId" :label="dict.performInterval"
  37. :value="dict.performTimeId" />
  38. </el-select>
  39. </el-form-item>
  40. </div>
  41. <div style="display: flex;">
  42. <el-form-item label="票务名称:" prop="goodsId">
  43. <el-select v-model="form.goodsId" placeholder="票务名称" clearable @change="goodsChangeEven"
  44. style="width: 100%;">
  45. <el-option v-for="dict in ticketList" :key="dict.id" :label="dict.goodsName" :value="dict.id" />
  46. </el-select>
  47. </el-form-item>
  48. <el-form-item label="票档:" prop="seatTypeId">
  49. <el-select v-model="form.seatTypeId" placeholder="票档" clearable @change="seatChangeEven"
  50. style="width: 100%;">
  51. <el-option v-for="dict in seatList" :key="dict.seatTypeId" :label="dict.seatTypeName"
  52. :value="dict.seatTypeId" />
  53. </el-select>
  54. </el-form-item>
  55. </div>
  56. </el-form>
  57. </el-row>
  58. <el-row>
  59. <el-col :span="12">
  60. <div class="grid-content bg-purple item-class">销售价: <span>{{ form.price || '' }}/人</span></div>
  61. </el-col>
  62. <el-col :span="12">
  63. <div class="grid-content bg-purple item-class">应收金额: <span>{{ this.form.viewerList && (form.price || form.price === 0 ) ? form.price * this.form.viewerList.length : '' }}</span></div>
  64. </el-col>
  65. </el-row>
  66. <!-- 观影人员信息 -->
  67. <div class="title-class" style="display: flex;">
  68. 观影人员信息:
  69. <el-upload class="upload-demo" :action="uploadObj.url" :headers="uploadObj.headers" :auto-upload="false"
  70. :disabled="uploadLoading" :show-file-list="false" :on-change="beforeAvatarUpload">
  71. <el-button size="small" type="primary" :loading="uploadLoading">{{ form.viewerList &&
  72. form.viewerList.length == 0 ? '导入excel' : '重新导入excel' }}</el-button>
  73. <div slot="tip" class="el-upload__tip">
  74. 上传excel文件,导入模板表头序号、姓名、身份证号码
  75. <i @click="handleExport" style="color: #1890ff;cursor: pointer;">下载模板</i>
  76. </div>
  77. </el-upload>
  78. </div>
  79. <el-row>
  80. <el-col :span="24">
  81. <el-table ref="tables" :data="form.viewerList" border size="mini">
  82. <el-table-column label="序号" align="center" type="index" width="50"></el-table-column>
  83. <el-table-column label="姓名" align="center" prop="name" />
  84. <el-table-column label="身份证号码" align="center" prop="cardId" />
  85. </el-table>
  86. </el-col>
  87. </el-row>
  88. </div>
  89. <div class="dialog-bbb_2" v-loading="loading_seta" element-loading-text="加载座位图中...">
  90. <seatBox ref="seatBox" :seatTypeLimit="configStockNumObj" @selectSeat="selectSeat" height="100%"
  91. channelType="group" />
  92. </div>
  93. </div>
  94. <span slot="footer" class="dialog-footer">
  95. <el-button @click="cancel()" :loading="loading">取消</el-button>
  96. <el-button type="primary" @click="handleResetOpen()" :loading="loading">
  97. <span v-if="loading">提交中...</span>
  98. <span v-else>确认修改</span>
  99. </el-button>
  100. </span>
  101. </el-dialog>
  102. </template>
  103. <script>
  104. import {
  105. getSelectById,
  106. getDateTimeAllApi,
  107. listGoodsByTeamIdApi,
  108. teamOrderReSubmitApi
  109. } from '@/api/order/groupBuyingMr'
  110. import { downloadModel, uploadExcel } from "@/api/team/applicationMr";
  111. import { pageList as getSeatType } from '@/api/seatTypeMr/seatTypeMr'
  112. import seatBox from '@/components/seatBox/index.vue';
  113. import { countBySeatTyp } from '@/api/ticketMr/InventoryTemplate'
  114. import {
  115. querySeatListNew
  116. } from '@/api/windowTicketSales/ticketingSales'
  117. import { getToken } from "@/utils/auth";
  118. export default {
  119. name: "detailsDia",
  120. dicts: ['order_form_type', 'order_status_type', 'pay_way_type', 'personnel_type'],
  121. components: {
  122. seatBox
  123. },
  124. data() {
  125. return {
  126. title: "订单详情",
  127. model: "EDIT",
  128. open: false,
  129. loading: false,
  130. formList: [
  131. [
  132. { lable: '团队名称:', key: 'teamName' },
  133. { lable: '团队类型:', key: 'teamType' },
  134. ],
  135. [
  136. { lable: '预约场馆:', key: 'theatreName' },
  137. { lable: '预约演出厅:', key: 'auditoriumName' },
  138. ],
  139. [
  140. { lable: '预约剧目:', key: 'performName' },
  141. { lable: '报名时间:', key: 'applyTime' },
  142. ],
  143. [
  144. { lable: '客户负责人:', key: 'teamContact' },
  145. { lable: '销售员:', key: 'salerPerson' },
  146. ],
  147. [
  148. { lable: '联系电话:', key: 'teamMobile' },
  149. { lable: '带队负责人姓名:', key: 'linkName' },
  150. ],
  151. [
  152. { lable: '带队负责人联系电话:', key: 'linkPhone' },
  153. ],
  154. ],
  155. form: {
  156. id: undefined,
  157. },
  158. performerList: [],
  159. refund: false,
  160. dataList: [],
  161. merchantTheatreAuditoriumListS: [], // 演出厅
  162. merchantPerformTimeListS: [], // 场次
  163. querySeatListS: [], // 座位
  164. goodsPageListS: [], // 票务
  165. goodsPageListSAll: [], // 票务全部
  166. lockOrUnLockLoading: false,
  167. performId: '',// 剧目ID
  168. scaleNum: 30,
  169. justifyContent: false,
  170. loading_form: false,// 加载表单
  171. loading_seta: false, // 加载座位
  172. orderType: 'normal', // 订单类型 normal:没有新订单和原订单,new:有新订单,old:有原订单
  173. setList: [],
  174. seatTypeList: [],
  175. seatSelectList: [],
  176. configStockNumObj: {},
  177. countBySeatTypList: [],
  178. seatTypeListAll: [],
  179. seatLoading: false,
  180. seatLoadText: '获取座位中...',
  181. goodsList: [],
  182. ticketList: [],
  183. seatList: [],
  184. merchantList: [],
  185. theatreList: [],
  186. teamList: [],
  187. sessionList: [],
  188. performTimeList: [],
  189. teamIdLoading: false,
  190. rules: {
  191. performDate: [{ required: true, message: "请选择日期", trigger: ["change", "blur"] }],
  192. goodsId: [{ required: true, message: "请选择票务", trigger: ["change", "blur"] }],
  193. seatTypeId: [{ required: true, message: "请选择座位类型", trigger: ["change", "blur"] }],
  194. performTimeId: [{ required: true, message: "请选择预约场次", trigger: ["change", "blur"] }],
  195. },
  196. uploadLoading: false,
  197. uploadObj: {
  198. url: process.env.VUE_APP_UPLOAD_FILE_API + "/upload/single/minio",
  199. Headers: { Authorization: "Bearer " + getToken() },
  200. },
  201. };
  202. },
  203. created() {
  204. this.getSeatTypeList()
  205. },
  206. methods: {
  207. /**
  208. * 打开弹框
  209. * @date 2023-11-22
  210. * @param {any} obj
  211. * @returns {any}
  212. */
  213. async openDialog(title, obj, type) {
  214. try {
  215. this.orderType = type;
  216. this.open = true;
  217. this.form = {}
  218. this.querySeatListS = [];
  219. this.setList = [];
  220. this.seatSelectList = [];
  221. if (this.orderType == 'old') {
  222. this.title = "订单详情(已改签)"
  223. } else if (this.orderType == 'new') {
  224. id = row.newOrderId
  225. this.title = "改签订单详情"
  226. } else {
  227. this.title = "订单详情"
  228. }
  229. await this.getSelectByIdApi(obj);
  230. await this.countBySeatTypFun(this.form.auditoriumId)
  231. await this.getDateTimeAllFun()
  232. await this.getPerformTimeList()
  233. this.goodsChangeEven(this.form.goodsId, 'dfsd')
  234. await this.querySeatListFun()
  235. } catch (error) {
  236. console.error(error)
  237. this.open = false;
  238. }
  239. },
  240. /** 获取详情 */
  241. async getSelectByIdApi(row) {
  242. let id = row.id;
  243. if (this.orderType == 'old') {
  244. id = row.orgOrderId
  245. } else if (this.orderType == 'new') {
  246. id = row.newOrderId
  247. }
  248. try {
  249. this.loading_form = true// 加载表单
  250. let res = await getSelectById(id)
  251. this.seatSelectList = []//res.data.viewerList
  252. this.$set(this, "form", {
  253. ...res.data,
  254. "viewerList": res.data.viewersOrderList.map((item) => {
  255. return {
  256. name: item.name,
  257. cardId: item.idCard
  258. }
  259. }),
  260. })
  261. this.loading_form = false// 加载表单
  262. } catch (error) {
  263. console.error(error)
  264. this.loading_form = false// 加载表单
  265. }
  266. },
  267. async querySeatListFun() {
  268. try {
  269. this.loading_seta = true // 加载座位
  270. let res = await querySeatListNew({
  271. auditoriumId: this.form.auditoriumId,
  272. timeId: this.form.performTimeId,
  273. goodsId: this.form.goodsId,
  274. channelType: 'group'
  275. })
  276. let list1 = []
  277. res.data.forEach((item, index) => {
  278. list1.push({
  279. ...item,
  280. isSame: item.seatTypeId != this.form.seatTypeId
  281. })
  282. })
  283. this.setList = list1;
  284. let list = this.seatSelectList
  285. let list3 = []
  286. this.countBySeatTypList.forEach((item, index) => {
  287. list3.push(item.seatTypeId)
  288. })
  289. let list4 = []
  290. this.seatTypeList.forEach((item, index) => {
  291. if (list3.includes(item.id)) {
  292. list4.push({ ...item })
  293. }
  294. })
  295. this.$nextTick(() => {
  296. this.$refs.seatBox.querySeatListFun(true, this.setList, list, list4)
  297. })
  298. this.loading_seta = false// 加载表单
  299. } catch (error) {
  300. console.error(error)
  301. this.loading_seta = false// 加载表单
  302. }
  303. },
  304. /** 获取座位类型全部 说明 */
  305. getSeatTypeList() {
  306. getSeatType({
  307. pageNum: 1,
  308. pageSize: 999,
  309. })
  310. .then(response => {
  311. this.seatTypeList = response.data.rows;
  312. });
  313. },
  314. /** 获取剧目的座位类型 */
  315. async countBySeatTypFun(value) {
  316. try {
  317. if (!value) return
  318. let res = await countBySeatTyp({ auditoriumId: value })
  319. this.countBySeatTypList = res.data ? res.data : []
  320. let obj = {}
  321. this.countBySeatTypList.forEach((item, index) => {
  322. obj['seatNum_' + item.seatTypeId] = {
  323. stockTotal: item.stock,
  324. stockSelect: item.stock,
  325. stockYes: item.stock,
  326. stockNo: 0,
  327. isNoSelect: true,
  328. }
  329. if (item.seatTypeId == this.form.seatTypeId) {
  330. obj['seatNum_' + item.seatTypeId].stockYes = item.stock - this.form.viewerList.length
  331. obj['seatNum_' + item.seatTypeId].isNoSelect = false
  332. }
  333. })
  334. this.configStockNumObj = obj
  335. } catch (error) {
  336. console.error("error1====", error)
  337. }
  338. },
  339. /** 选择座位 */
  340. selectSeat(list) {
  341. let list1 = []
  342. list.forEach((item) => {
  343. list1.push({
  344. seatId: item.id,
  345. seatName: item.name
  346. })
  347. })
  348. this.seatSelectList = list1
  349. console.log("已选择的====", list)
  350. },
  351. // 选择场次时间
  352. performDateEven() {
  353. this.$set(this.form, 'performTimeId', '')
  354. this.$set(this.form, 'goodsId', '');
  355. this.$set(this.form, 'seatTypeId', '');
  356. this.$set(this.form, 'price', '')
  357. this.performTimeList = [] // 场次
  358. this.ticketList = [] // 票务
  359. this.seatList = [] // 座位类型
  360. this.getDateTimeAllFun(); // 获取场次
  361. },
  362. /**
  363. * 获取剧目演出厅某日期场次列表
  364. *
  365. */
  366. async getDateTimeAllFun() {
  367. try {
  368. if (!this.form.performDate) {
  369. this.$message.error("请选择日期!");
  370. return false
  371. }
  372. let res = await getDateTimeAllApi({
  373. performDate: this.form.performDate,
  374. performId: this.form.performId,
  375. auditoriumId: this.form.auditoriumId,
  376. })
  377. this.performTimeList = res.data.list;
  378. } catch (error) {
  379. console.error(error)
  380. }
  381. },
  382. /**
  383. * 查询团队剧目演出厅座位类型票务信息
  384. *
  385. */
  386. async getPerformTimeList() {
  387. try {
  388. if (!this.form.performTimeId) {
  389. this.$message.error("请选择场次!");
  390. return false
  391. }
  392. let res = await listGoodsByTeamIdApi({
  393. performTimeId: this.form.performTimeId,
  394. performId: this.form.performId,
  395. auditoriumId: this.form.auditoriumId,
  396. teamId: this.form.teamId
  397. })
  398. this.ticketList = res.data;
  399. } catch (error) {
  400. }
  401. },
  402. /** 选择场次 */
  403. performTimeIdEven(val) {
  404. this.$set(this.form, 'goodsId', '');
  405. this.$set(this.form, 'goodsName', '')
  406. this.$set(this.form, 'seatTypeId', '');
  407. this.$set(this.form, 'price', '')
  408. this.ticketList = [] // 票务
  409. this.seatList = [] // 座位类型
  410. this.getPerformTimeList() // 获取票务管理
  411. },
  412. // 票务改变事件
  413. goodsChangeEven(id, type) {
  414. console.log("sdfsdf", id, type)
  415. let list = []
  416. this.ticketList.forEach(item => {
  417. if (item.id == id) {
  418. this.$set(this.form, 'goodsName', item.goodsName)
  419. list = item.seatTypePriceList
  420. }
  421. })
  422. if (!type) {
  423. this.$set(this.form, 'price', '');
  424. this.$set(this.form, 'seatTypeId', '');
  425. }
  426. this.seatList = [];
  427. console.log("ffffffffff=====", list)
  428. //let selectMap = {goodsId: this.form.goodsId, performId: this.form.performId}
  429. //this.getSeatTypeList(selectMap); 获取走位
  430. this.seatList = [].concat(list)
  431. },
  432. // 座位类型改变事件
  433. seatChangeEven(val) {
  434. this.seatList.forEach(item => {
  435. if (item.seatTypeId == val) {
  436. this.$set(this.form, 'seatTypeName', item.seatTypeName);
  437. this.$set(this.form, 'price', item.saleAmount);
  438. }
  439. })
  440. let obj = {}
  441. this.countBySeatTypList.forEach((item, index) => {
  442. obj['seatNum_' + item.seatTypeId] = {
  443. stockTotal: item.stock,
  444. stockSelect: item.stock,
  445. stockYes: item.stock,
  446. stockNo: 0,
  447. isNoSelect: true,
  448. }
  449. if (item.seatTypeId == this.form.seatTypeId) {
  450. obj['seatNum_' + item.seatTypeId].stockYes = item.stock - this.form.viewerList.length
  451. obj['seatNum_' + item.seatTypeId].isNoSelect = false
  452. }
  453. })
  454. this.configStockNumObj = obj
  455. this.seatSelectList = []
  456. let list = JSON.parse(JSON.stringify(this.setList))
  457. let list1 = []
  458. list.forEach((item, index) => {
  459. list1.push({
  460. ...item,
  461. isSame: item.seatTypeId != this.form.seatTypeId
  462. })
  463. })
  464. this.setList = list1;
  465. let list3 = []
  466. this.countBySeatTypList.forEach((item, index) => {
  467. list3.push(item.seatTypeId)
  468. })
  469. let list4 = []
  470. this.seatTypeList.forEach((item, index) => {
  471. if (list3.includes(item.id)) {
  472. list4.push({ ...item })
  473. }
  474. })
  475. this.$refs.seatBox.querySeatListFun(true, this.setList, this.seatSelectList, list4)
  476. },
  477. /**
  478. * 关闭弹框
  479. * @date 2023-11-22
  480. * @returns {any}
  481. */
  482. cancel() {
  483. this.open = false;
  484. },
  485. /** 导出按钮操作 */
  486. async handleExport() {
  487. //this.downloadGet('member/marketTeamApply/downTeamApplyTemplate', {}, `观影人员上传模板_${new Date().getTime()}.xlsx`)
  488. try {
  489. let res = await downloadModel()
  490. let fileName = `观影人员上传模板_${new Date().getTime()}.xlsx`
  491. let blob = new Blob([res])
  492. let href = window.URL.createObjectURL(blob)
  493. // 创建下载按钮a标签进行自动点击下载,下载完后移除按钮a标签
  494. let downloadDom = document.createElement('a')
  495. downloadDom.href = href
  496. downloadDom.download = fileName //--不是必须 若需要【前端重命名文件夹】的话这句代码就需要
  497. document.body.appendChild(downloadDom)
  498. downloadDom.click()
  499. document.body.removeChild(downloadDom)
  500. window.URL.revokeObjectURL(href)
  501. } catch (error) {
  502. }
  503. },
  504. /**
  505. * 上传文件之前之前
  506. * @date 2023-11-22
  507. * @param {any} file
  508. * @returns {any}
  509. */
  510. beforeAvatarUpload(file) {
  511. this.uploadExcelApi(file.raw);
  512. },
  513. // 上传
  514. uploadExcelApi(file) {
  515. try {
  516. let formData = new FormData();
  517. formData.append("file", file);
  518. this.uploadLoading = true;
  519. uploadExcel(formData).then(response => {
  520. this.$message.success("上传成功!");
  521. this.$set(this.form, 'viewerList', response.data)
  522. this.seatChangeEven(this.form.seatTypeId)
  523. });
  524. } catch (e) {
  525. } finally {
  526. this.uploadLoading = false;
  527. }
  528. },
  529. /** 修改订单按钮操作 */
  530. handleResetOpen() {
  531. if (this.form.viewerList.length == 0) {
  532. this.$message.error("请上传观影人员!");
  533. return
  534. }
  535. if (this.form.viewerList.length != this.seatSelectList.length) {
  536. this.$message.error("请选择座位!");
  537. return
  538. }
  539. /** 关闭订单 */
  540. this.$confirm("修改成功后,原订单将会被取消,确认要修改吗?", '提示', {
  541. confirmButtonText: '确定',
  542. cancelButtonText: '取消',
  543. type: 'warning'
  544. }).then(() => {
  545. this.submitForm()
  546. }).catch(() => { });
  547. },
  548. /**
  549. * 驳回提交
  550. * @date 2023-11-22
  551. * @returns {any}
  552. */
  553. submitForm() {
  554. this.$refs["form"].validate(async (valid) => {
  555. if (valid) {
  556. try {
  557. if (this.form.viewerList.length == 0) {
  558. this.$message.error("请上传观影人员!");
  559. return
  560. }
  561. if (this.form.viewerList.length != this.seatSelectList.length) {
  562. this.$message.error("请选择座位!");
  563. return
  564. }
  565. this.loading = true;
  566. let postForm = {
  567. "orderId": this.form.id,
  568. "goodsId": this.form.goodsId,
  569. "goodsName": this.form.goodsName,
  570. "seatTypeId": this.form.seatTypeId,
  571. "seatTypeName": this.form.seatTypeName,
  572. "performDate": this.form.performDate,
  573. "performTimeId": this.form.performTimeId,
  574. "viewerList": this.form.viewerList,
  575. "seatList": this.seatSelectList
  576. }
  577. const { code } = await teamOrderReSubmitApi({ ...postForm });
  578. if (code === 200) {
  579. this.loading = false;
  580. this.$message.success("操作成功!");
  581. this.$emit("getList");
  582. this.cancel();
  583. }
  584. } catch (error) {
  585. this.loading = false;
  586. } finally {
  587. }
  588. }
  589. });
  590. },
  591. },
  592. };
  593. </script>
  594. <style lang="scss" scoped>
  595. .dialog {
  596. width: 100%;
  597. height: 70vh;
  598. }
  599. .dialog {
  600. .upload-btn {
  601. width: 100px;
  602. height: 100px;
  603. background-color: #fbfdff;
  604. border: dashed 1px #c0ccda;
  605. border-radius: 5px;
  606. i {
  607. font-size: 30px;
  608. margin-top: 20px;
  609. }
  610. &-text {
  611. margin-top: -10px;
  612. }
  613. }
  614. .avatar {
  615. cursor: pointer;
  616. }
  617. .title-class {
  618. font-size: 16px;
  619. font-weight: bold;
  620. color: black;
  621. margin-bottom: 20px;
  622. margin-top: 20px;
  623. }
  624. .item-class {
  625. margin-bottom: 20px;
  626. }
  627. }
  628. .dialog-bbb {
  629. width: 100%;
  630. display: flex;
  631. --widdd: 700px;
  632. >div:first-child {
  633. width: var(--widdd);
  634. flex-shrink: 0;
  635. overflow-y: auto;
  636. padding: 0 0 10px 0;
  637. margin-right: 10px;
  638. }
  639. .dialog-bbb_2 {
  640. width: calc(100% - var(--widdd));
  641. height: 100%;
  642. }
  643. }
  644. </style>