index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873
  1. <template>
  2. <view class="content-box">
  3. <uni-nav-bar
  4. fixed="true"
  5. statusBar="true"
  6. left-icon="back"
  7. title="搜索"
  8. @clickLeft="back"
  9. >
  10. <!--右菜单-->
  11. <template slot="right">
  12. <u-button
  13. type="success"
  14. size="small"
  15. class="u-reset-button"
  16. @click="openTreePicker"
  17. text="选择分类"
  18. ></u-button>
  19. </template>
  20. </uni-nav-bar>
  21. <view class="top-wrapper">
  22. <view class="searchBox rx-bc">
  23. <input
  24. v-model="keyWord"
  25. placeholder="请输入关键字搜索"
  26. class="searchInput"
  27. />
  28. <view class="rx-sc">
  29. <image
  30. class="menu_icon"
  31. src="~@/static/pda/menu.svg"
  32. @click="handleSearch"
  33. ></image>
  34. <u-button
  35. @click="doSearch"
  36. type="success"
  37. size="small"
  38. class="u-reset-button"
  39. text="搜索"
  40. >
  41. </u-button>
  42. </view>
  43. </view>
  44. </view>
  45. <view class="list_box">
  46. <u-list @scrolltolower="scrolltolower">
  47. <checkbox-group
  48. v-for="(item, index) in list"
  49. :key="index"
  50. @change="(e) => selectVal(e, item, index)"
  51. >
  52. <label class="listBox rx-bs">
  53. <view class="listBox-sel">
  54. <checkbox
  55. v-if="
  56. item.rootCategoryLevelId != 11 ||
  57. (item.rootCategoryLevelId == 11 && item.status != 1)
  58. "
  59. :value="item.code"
  60. color="#fff"
  61. :disabled="item.disabled"
  62. :checked="item.checked"
  63. />
  64. </view>
  65. <view class="listBox-con">
  66. <view class="listBox-top rx-bc">
  67. <view> {{ item.name }}</view>
  68. <view class="code"
  69. >{{
  70. item.rootCategoryLevelId == 4 ? item.codeNumber : item.code
  71. }}
  72. </view>
  73. </view>
  74. <view class="listBox-bottom rx">
  75. <view
  76. v-for="(itm, index) in tableH(item.rootCategoryLevelId)"
  77. :key="index"
  78. class="items"
  79. v-if="!itm.formatter"
  80. >
  81. <text>{{ itm.label }}</text
  82. >{{ item[itm.prop] }}
  83. </view>
  84. <view
  85. class="items"
  86. v-if="
  87. item.rootCategoryLevelId == 1 &&
  88. item.isConsumable == 1 &&
  89. item.rootCategoryLevelId != 11 &&
  90. item.rootCategoryLevelId != 4
  91. "
  92. >
  93. <text>可用库存</text>{{ item.availableCountBase }}
  94. {{ item.unit }}
  95. </view>
  96. <view
  97. class="items"
  98. v-if="
  99. [1, 9, 23].includes(Number(item.rootCategoryLevelId)) &&
  100. item.isConsumable == 0
  101. "
  102. >
  103. <text>刻码</text>{{ item.extInfo.engrave }}
  104. </view>
  105. <view
  106. class="items"
  107. v-if="
  108. [1, 9, 23].includes(Number(item.rootCategoryLevelId)) &&
  109. item.isConsumable == 0
  110. "
  111. >
  112. <text>物料代号</text>{{ item.extInfo.materielCode }}
  113. </view>
  114. <view
  115. class="items"
  116. v-if="
  117. [1, 23].includes(Number(item.rootCategoryLevelId)) &&
  118. item.isConsumable == 0
  119. "
  120. >
  121. <text>客户代号</text>{{ item.extInfo.clientCode }}
  122. </view>
  123. <view class="items" v-if="item.rootCategoryLevelId == 4">
  124. <text>状态</text>{{ stateList[Number(item.runStatus)] }}
  125. </view>
  126. <view
  127. class="items"
  128. v-if="[1, 23, 8].includes(Number(item.rootCategoryLevelId))"
  129. >
  130. <text>包装库存</text>{{ item.packingCountBase }}
  131. {{ item.minUnit }}
  132. </view>
  133. <view
  134. class="items"
  135. v-if="
  136. item.rootCategoryLevelId == 1 ||
  137. item.rootCategoryLevelId == 9 ||
  138. item.rootCategoryLevelId == 23
  139. "
  140. >
  141. <text>计量库存数量</text>{{ item.availableCountBase }}
  142. {{ item.measuringUnit }}
  143. </view>
  144. <view class="items" v-if="item.rootCategoryLevelId == 11">
  145. <text
  146. :style="{ color: item.status == 0 ? '#157A2C' : '#FFA929' }"
  147. >状态{{
  148. item.status == 0 ? "空闲" : item.status == 1 ? "占用" : ""
  149. }}</text
  150. >
  151. </view>
  152. <view class="items" v-if="item.rootCategoryLevelId == 11">
  153. <text>位置</text>{{ item.region }}
  154. </view>
  155. </view>
  156. </view>
  157. </label>
  158. </checkbox-group>
  159. <view v-if="list.length == 0" style="margin-top: 20vh">
  160. <u-empty iconSize="150" textSize="32" text="暂无数据"> </u-empty>
  161. </view>
  162. </u-list>
  163. </view>
  164. <view class="bottom-wrapper rx-bc">
  165. <view>
  166. <checkbox
  167. v-if="!seletedAll"
  168. color="#fff"
  169. :checked="seletedAll"
  170. @tap="_seletedAll"
  171. >全选</checkbox
  172. >
  173. <checkbox
  174. class="select-all"
  175. color="#fff"
  176. v-else
  177. :checked="seletedAll"
  178. @tap="_seletedAll"
  179. >取消全选
  180. </checkbox>
  181. </view>
  182. <view>
  183. <u-button
  184. type="success"
  185. size="small"
  186. class="u-reset-button"
  187. :disabled="!checkListLen"
  188. @click="jumpAdd(1)"
  189. >
  190. <view> 选择( {{ checkListLen }} ) </view>
  191. </u-button>
  192. <!-- <u-button v-if='rootCategoryLevelId == 23' type="success" size="small" class="u-reset-button"
  193. @click="jumpAdd(2)">
  194. <view> 确认 </view>
  195. </u-button> -->
  196. </view>
  197. </view>
  198. <ba-tree-picker
  199. ref="treePicker"
  200. key="verify"
  201. :multiple="false"
  202. @select-change="confirm"
  203. title="选择分类"
  204. :localdata="classificationList"
  205. valueKey="id"
  206. textKey="name"
  207. childrenKey="children"
  208. />
  209. <SearchPopup mode="top" v-if="searchShow">
  210. <template v-slot:list>
  211. <view class="search_list">
  212. <u-form
  213. labelPosition="left"
  214. :model="formData"
  215. labelWidth="180"
  216. labelAlign="left"
  217. class="baseForm"
  218. >
  219. <u-form-item
  220. label="仓库:"
  221. class="required-form"
  222. borderBottom
  223. prop="warehouseId"
  224. >
  225. <zxz-uni-data-select
  226. :localdata="warehouseList"
  227. v-model="formData.warehouseId"
  228. dataValue="id"
  229. format="{name}"
  230. dataKey="name"
  231. filterable
  232. ></zxz-uni-data-select>
  233. </u-form-item>
  234. <u-form-item
  235. label="维度:"
  236. v-if="isType == 'feed'"
  237. class="required-form"
  238. borderBottom
  239. prop="warehouseId"
  240. >
  241. <zxz-uni-data-select
  242. :localdata="dimensionList"
  243. v-model="formData.dimension"
  244. dataValue="id"
  245. format="{name}"
  246. dataKey="name"
  247. filterable
  248. ></zxz-uni-data-select>
  249. </u-form-item>
  250. </u-form>
  251. </view>
  252. </template>
  253. <template v-slot:operate>
  254. <view class="operate_box rx-bc">
  255. <u-button size="small" class="u-reset-button" @click="searchCancel">
  256. 重置
  257. </u-button>
  258. <u-button
  259. type="success"
  260. size="small"
  261. class="u-reset-button"
  262. @click="doSearch"
  263. >
  264. 确定
  265. </u-button>
  266. </view>
  267. </template>
  268. </SearchPopup>
  269. </view>
  270. </template>
  271. <script>
  272. import baTreePicker from "@/components/ba-tree-picker/ba-tree-picker.vue";
  273. import { tableHeader } from "../../common.js";
  274. import {
  275. treeByPid,
  276. pageeLedgerMain,
  277. assetPage,
  278. getWarehouseList,
  279. getInventoryDetails,
  280. getMaterielDetails,
  281. listInProduct,
  282. listOutsourceInWarehouse,
  283. outsourceEndPick,
  284. categoryGetList,
  285. assetPdaPage,
  286. } from "@/api/pda/workOrder.js";
  287. import SearchPopup from "../../components/searchPopup.vue";
  288. import { EventBus } from "@/utils/eventBus.js";
  289. let [isEnd] = [false];
  290. export default {
  291. components: {
  292. baTreePicker,
  293. SearchPopup,
  294. },
  295. data() {
  296. return {
  297. keyWord: null,
  298. rootCategoryLevelId: null,
  299. categoryLevelId: null,
  300. classificationList: [],
  301. treePickerShow: false,
  302. list: [],
  303. page: 1,
  304. seletedAll: false, //全选状态
  305. memoList: [],
  306. isType: null,
  307. taskId: null,
  308. pid: null, // 上个页面id
  309. storageKey: null,
  310. formData: {
  311. produceRoutingId: "",
  312. dimension:
  313. uni.getStorageSync("userInfo") &&
  314. uni.getStorageSync("userInfo").clientEnvironmentId == 3
  315. ? 4
  316. : 3,
  317. },
  318. warehouseList: [],
  319. searchShow: false,
  320. stateList: [
  321. "启动",
  322. "空闲",
  323. "运行",
  324. "故障",
  325. "检修",
  326. "停机",
  327. "待料",
  328. "占用",
  329. ],
  330. classIds: [],
  331. dimensionList: [
  332. {
  333. id: 1,
  334. name: "物品维度",
  335. },
  336. {
  337. id: 2,
  338. name: "批次维度",
  339. },
  340. ],
  341. clientEnvironmentId:
  342. uni.getStorageSync("userInfo") &&
  343. uni.getStorageSync("userInfo").clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
  344. };
  345. },
  346. //选择的列表长度
  347. computed: {
  348. checkListLen() {
  349. return this.memoList.length;
  350. },
  351. },
  352. onLoad(option) {
  353. this.pid = option.id;
  354. this.classIds = option.classIds || [];
  355. this.isType = option.isType;
  356. if (option.taskId == "undefined") {
  357. this.taskId = null;
  358. } else {
  359. this.taskId = option.taskId || null;
  360. }
  361. if (Object.prototype.hasOwnProperty.call(option, "classIds")) {
  362. this.classIds = option.classIds;
  363. }
  364. if (option.storageKey) {
  365. this.storageKey = option.storageKey;
  366. this.memoList = [];
  367. if (this.isType == "feed") {
  368. let _arr =
  369. (this.storageKey && uni.getStorageSync(this.storageKey)) || [];
  370. this.memoList = [
  371. ..._arr[0].modelList,
  372. ..._arr[0].equipmentList,
  373. ..._arr[0].instanceList,
  374. ..._arr[0].aridRegionList,
  375. ..._arr[0].turnover,
  376. ..._arr[0].palletList,
  377. ..._arr[0].revolvingDiskList,
  378. ..._arr[0].semiProductList,
  379. ];
  380. } else if (this.isType == "pick") {
  381. this.memoList =
  382. (this.storageKey && uni.getStorageSync(this.storageKey)) || [];
  383. } else if (this.isType == "job") {
  384. let _obj =
  385. (this.storageKey && uni.getStorageSync(this.storageKey)) || {};
  386. if (Object.prototype.hasOwnProperty.call(_obj, "turnover")) {
  387. this.memoList = this.memoList.concat(_obj.turnover);
  388. } else if (
  389. Object.prototype.hasOwnProperty.call(_obj, "equipmentList")
  390. ) {
  391. this.memoList = this.memoList.concat(_obj.equipmentList);
  392. }
  393. } else if (this.isType == "zdy") {
  394. let _arr =
  395. (this.storageKey && uni.getStorageSync(this.storageKey)) || [];
  396. if (
  397. _arr.length != 0 &&
  398. Object.prototype.hasOwnProperty.call(_arr[0], "turnover")
  399. ) {
  400. this.memoList = this.memoList.concat(_arr[0].turnover);
  401. } else if (
  402. _arr.length != 0 &&
  403. Object.prototype.hasOwnProperty.call(_arr[0], "equipmentList")
  404. ) {
  405. this.memoList = this.memoList.concat(_arr[0].equipmentList);
  406. } else if (
  407. _arr.length != 0 &&
  408. Object.prototype.hasOwnProperty.call(_arr[0], "standardOutputList")
  409. ) {
  410. this.memoList = this.memoList.concat(_arr[0].standardOutputList);
  411. } else if (
  412. _arr.length != 0 &&
  413. Object.prototype.hasOwnProperty.call(_arr[0], "bomMaterialList")
  414. ) {
  415. this.memoList = this.memoList.concat(_arr[0].bomMaterialList);
  416. }
  417. }
  418. }
  419. this.getTreeList();
  420. this.getWarehouseFn();
  421. },
  422. onUnload() {
  423. if (this.storageKey) {
  424. uni.removeStorage(this.storageKey);
  425. }
  426. },
  427. methods: {
  428. _seletedAll() {
  429. if (!this.seletedAll) {
  430. this.seletedAll = true;
  431. this.list.map((item) => {
  432. this.$set(item, "checked", true);
  433. const idx = this.memoList.findIndex((itm) => itm.id === item.id);
  434. if (idx === -1) {
  435. this.memoList.push(item);
  436. }
  437. });
  438. } else {
  439. this.seletedAll = false;
  440. this.list.map((item) => {
  441. this.$set(item, "checked", false);
  442. const idx = this.memoList.findIndex((itm) => itm.id === item.id);
  443. if (idx > -1) {
  444. this.memoList.splice(idx, 1);
  445. }
  446. });
  447. }
  448. },
  449. openTreePicker() {
  450. this.$refs.treePicker._show();
  451. },
  452. tableH(type) {
  453. return tableHeader(type);
  454. },
  455. getTreeList() {
  456. let params = {};
  457. console.log(this.classIds, "option", this.isType);
  458. if (this.isType == "feed") {
  459. // params.ids = [1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 26, 9, 28];
  460. params.ids = ["4, 5, 7, 8, 11, 14, 26"];
  461. } else if (this.isType == "pick") {
  462. // params.ids = [1, 5, 7, 8, 10, 13, 14, 23, 26, 9, 28]
  463. params.ids = [9, 23, 2, 1, 4, 14, 5, 8, 16, 13, 15, 6, 10, 22];
  464. } else if (this.isType == "job") {
  465. // params["ids"] = [4, 7];
  466. if (this.clientEnvironmentId == 2) {
  467. params["ids"] = [7];
  468. } else {
  469. params["ids"] = [4, 5, 7, 8, 11, 14, 26];
  470. }
  471. } else if (this.isType == "zdy") {
  472. params["ids"] = JSON.parse(this.classIds);
  473. } else if (this.isType == "weiwai") {
  474. // params['ids'] = JSON.parse(this.classIds)
  475. params["ids"] = [9, 23, 2, 1, 4, 14, 5, 8, 16, 13, 15, 6, 10, 22];
  476. }
  477. treeByPid(params).then((res) => {
  478. this.classificationList = res;
  479. this.confirm([res[0].id], res[0].name, res[0].rootCategoryLevelId);
  480. });
  481. },
  482. confirm(id, name, rootCategoryLevelId) {
  483. this.rootCategoryLevelId = rootCategoryLevelId;
  484. this.categoryLevelId = id;
  485. this.list = [];
  486. console.log("是这里嘛");
  487. this.getList();
  488. },
  489. doSearch() {
  490. this.list = [];
  491. this.getList();
  492. this.searchShow = false;
  493. },
  494. scrolltolower() {
  495. if (isEnd) return;
  496. this.page++;
  497. this.getList();
  498. },
  499. getList() {
  500. let param = {
  501. categoryLevelId: this.categoryLevelId,
  502. keyWord: this.keyWord,
  503. pageNum: this.page,
  504. size: 100,
  505. taskId: this.taskId,
  506. };
  507. if (this.rootCategoryLevelId == "11") {
  508. // 干燥区特殊处理
  509. param.size = 5;
  510. }
  511. isEnd = false;
  512. let URL = null;
  513. if (this.isType == "pick") {
  514. // 领料
  515. // if (this.rootCategoryLevelId == 23) {
  516. // this.list = []
  517. // param = {}
  518. // param.workOrderId = this.pid
  519. // URL = listOutsourceInWarehouse
  520. // } else {
  521. // param.dimension = 1
  522. // URL = pageeLedgerMain
  523. // }
  524. param.dimension = 1;
  525. URL = pageeLedgerMain;
  526. } else if (this.isType == "feed") {
  527. // 投料
  528. if ([4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
  529. URL = assetPage;
  530. } else if (this.rootCategoryLevelId == 2) {
  531. param.workOrderId = this.pid;
  532. delete param.taskId;
  533. delete param.categoryLevelId;
  534. URL = listInProduct;
  535. } else if (![2, 4, 7, 14].includes(Number(this.rootCategoryLevelId))) {
  536. URL = assetPage;
  537. // if (this.formData.dimension == 3) { // 包装维度
  538. // URL = getInventoryDetails
  539. // param.dimension = 3
  540. // param.rootCategoryLevelId = this.rootCategoryLevelId
  541. // } else if (this.formData.dimension == 4) { // 物料维度
  542. // param.dimension = 4
  543. // param.rootCategoryLevelId = this.rootCategoryLevelId
  544. // URL = getMaterielDetails
  545. // }
  546. }
  547. } else if (this.isType == "job" || this.isType == "zdy") {
  548. // 报工
  549. URL = assetPage;
  550. } else if (this.isType == "weiwai") {
  551. // 出库
  552. if (this.pid == 3) {
  553. URL = categoryGetList;
  554. } else {
  555. // URL = assetPdaPage
  556. URL = pageeLedgerMain;
  557. }
  558. }
  559. URL(param).then((res) => {
  560. if (this.rootCategoryLevelId == "11") {
  561. res.list.forEach((e) => {
  562. if (e.aridRegionList && e.aridRegionList.length != 0) {
  563. e.aridRegionList.map((i) => {
  564. const checked =
  565. this.memoList.findIndex((itm) => itm.id === i.id) > -1;
  566. let obj = {
  567. checked,
  568. name: e.name,
  569. region: e.extInfo.region,
  570. rootCategoryLevelId: e.rootCategoryLevelId,
  571. ...i,
  572. instanceId: i.id,
  573. };
  574. this.list.push(obj);
  575. });
  576. }
  577. });
  578. } else {
  579. this.list.push(
  580. ...res.list.map((i) => {
  581. const checked =
  582. this.memoList.findIndex((itm) => itm.id === i.id) > -1;
  583. const warehouseId = i.pathIds && i.pathIds.split(",")[0];
  584. return {
  585. checked,
  586. warehouseId,
  587. ...i,
  588. instanceId: i.id,
  589. };
  590. })
  591. );
  592. }
  593. isEnd = this.list.length >= res.count;
  594. });
  595. },
  596. //勾选
  597. selectVal(e, val, index) {
  598. if (val.rootCategoryLevelId == 11 && val.status == 1) {
  599. return false;
  600. }
  601. this.list[index].checked = !this.list[index].checked;
  602. this.seletedAll = !this.list.some((item) => !item.checked);
  603. const idx = this.memoList.findIndex(
  604. (item) => item.id === this.list[index].id
  605. );
  606. if (this.list[index].checked) {
  607. if (idx === -1) {
  608. this.memoList.push(this.list[index]);
  609. }
  610. } else {
  611. if (idx > -1) {
  612. this.memoList.splice(idx, 1);
  613. }
  614. }
  615. },
  616. handleSearch() {
  617. this.searchShow = true;
  618. },
  619. searchCancel() {
  620. this.list = [];
  621. this.page = 1;
  622. this.getList();
  623. this.searchShow = false;
  624. },
  625. //跳转回添加页面
  626. jumpAdd(type) {
  627. if (type == 1) {
  628. if (
  629. this.isType == "pick" ||
  630. this.isType == "feed" ||
  631. this.isType == "job" ||
  632. this.isType == "zdy" ||
  633. this.isType == "weiwai"
  634. ) {
  635. this.memoList.map((item) => {
  636. item.extInfo.heatNumber = "";
  637. });
  638. if (
  639. (this.isType == "zdy" || this.isType == "weiwai") &&
  640. (this.pid == 2 || this.pid == 3)
  641. ) {
  642. let param = {
  643. memoList: this.memoList,
  644. pid: this.pid,
  645. };
  646. console.log(param, "paramparamparam");
  647. EventBus.$emit("outEvent", { message: param });
  648. } else {
  649. uni.$emit("setSelectList", this.memoList, this.pid);
  650. }
  651. uni.navigateBack();
  652. }
  653. } else if (type == 2) {
  654. uni.showModal({
  655. title: "提示",
  656. content: "是否领取该工单半成品到此工序!",
  657. confirmText: "确认", //这块是确定按钮的文字
  658. success: (rr) => {
  659. if (rr.confirm) {
  660. let param = {
  661. taskId: this.taskId,
  662. workOrderId: this.pid,
  663. pickOutInList: this.list,
  664. };
  665. outsourceEndPick(param).then((res) => {
  666. // uni.$emit('setSelectList', this.list, this.pid)
  667. uni.showToast({
  668. title: "半成品领料成功,请先去审核",
  669. icon: "none",
  670. });
  671. uni.navigateBack();
  672. });
  673. }
  674. },
  675. });
  676. }
  677. },
  678. getWarehouseFn() {
  679. getWarehouseList().then((res) => {
  680. this.warehouseList = res;
  681. });
  682. },
  683. },
  684. };
  685. </script>
  686. <style lang="scss" scoped>
  687. .content-box {
  688. height: 100vh;
  689. overflow: hidden;
  690. display: flex;
  691. flex-direction: column;
  692. background-color: $page-bg;
  693. }
  694. .searchBox {
  695. background-color: #dedede;
  696. height: 90rpx;
  697. padding: 0 20rpx;
  698. .menu_icon {
  699. width: 60rpx;
  700. height: 60rpx;
  701. margin-right: 20rpx;
  702. }
  703. input {
  704. height: 70rpx;
  705. width: 480rpx;
  706. background: #f9f9f9 !important;
  707. padding-left: 10rpx;
  708. border-radius: 5rpx;
  709. }
  710. }
  711. .list_box {
  712. flex: 1;
  713. overflow: hidden;
  714. padding: 6rpx 0;
  715. .u-list {
  716. height: 100% !important;
  717. }
  718. }
  719. .bottom-wrapper {
  720. height: 80rpx;
  721. background: #fff;
  722. padding: 0 32rpx;
  723. /deep/ .uni-checkbox-input-checked {
  724. background-color: $theme-color !important;
  725. border-color: $theme-color !important;
  726. }
  727. }
  728. .listBox {
  729. margin-top: 8rpx;
  730. padding: 8rpx 24rpx;
  731. background: #fff;
  732. /deep/ .uni-checkbox-input-checked {
  733. background-color: $theme-color !important;
  734. border-color: $theme-color !important;
  735. }
  736. .listBox-con {
  737. width: 650rpx;
  738. font-weight: 400;
  739. }
  740. .listBox-top {
  741. margin-top: 6rpx;
  742. color: #090a0a;
  743. font-size: 28rpx;
  744. font-style: normal;
  745. font-weight: 800;
  746. }
  747. .listBox-bottom {
  748. color: #090a0a;
  749. font-size: 24rpx;
  750. font-style: normal;
  751. flex-wrap: wrap;
  752. .items {
  753. width: calc(50% - 1px);
  754. border-left: 1rpx solid #e3e5e5;
  755. border-right: 1rpx solid #e3e5e5;
  756. border-bottom: 1rpx solid #e3e5e5;
  757. box-sizing: border-box;
  758. word-break: break-all;
  759. text {
  760. display: inline-block;
  761. background: #f7f9fa;
  762. padding: 8rpx 10rpx;
  763. color: #157a2c;
  764. }
  765. &:nth-child(1),
  766. &:nth-child(2) {
  767. border-top: 1rpx solid #e3e5e5;
  768. margin-top: 8rpx;
  769. }
  770. }
  771. }
  772. }
  773. .search_list {
  774. min-height: 100rpx;
  775. /deep/ .baseForm {
  776. padding: 0 20rpx;
  777. }
  778. }
  779. </style>