outsourceList.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932
  1. <template>
  2. <view>
  3. <!-- 委外下一步 -->
  4. <u-popup :show="show" :mode="mode" :closeOnClickOverlay="false">
  5. <view class="card_box">
  6. <view class="item_box rx-bc">
  7. <view class="item_one rx-sc">
  8. <view class="lable">委外名称:</view>
  9. <view style="color: #157a2c">{{ outObj.name }}</view>
  10. </view>
  11. </view>
  12. <view class="item_box rx-bc">
  13. <view class="item_one perce50 rx-sc">
  14. <view class="lable">委外类型:</view>
  15. <view style="color: #157a2c">{{
  16. outObj.type == 4 ? "带料委外" : "无料委外"
  17. }}</view>
  18. </view>
  19. <view class="item_one perce50 rx-sc">
  20. <view class="lable">直接入库:</view>
  21. <view style="color: #157a2c">{{
  22. outObj.isInWarehouse == 1 ? "是" : "否"
  23. }}</view>
  24. </view>
  25. </view>
  26. </view>
  27. <u-tabs
  28. :list="tabList"
  29. @click="handTab"
  30. lineWidth="30"
  31. lineColor="#157A2C"
  32. :activeStyle="{
  33. color: '#157A2C',
  34. }"
  35. :inactiveStyle="{
  36. color: '#303133',
  37. }"
  38. itemStyle="padding-left: 15px; padding-right: 15px; height: 34px;"
  39. >
  40. </u-tabs>
  41. <view class="box_list">
  42. <u-list @scrolltolower="scrolltolower" class="z_list">
  43. <view v-if="actTab == '物品清单'">
  44. <view class="title_box rx-bc" v-if="clientEnvironmentId == '3'">
  45. <view></view>
  46. <view class="right_box rx-ec">
  47. <u-button
  48. type="success"
  49. size="small"
  50. class="u-reset-button"
  51. @click="addPicking(2, 'goods')"
  52. text="添加"
  53. ></u-button>
  54. </view>
  55. </view>
  56. <view
  57. class="rx-bc"
  58. v-if="outObj.isStraight != 1 && clientEnvironmentId != 2"
  59. >
  60. <view style="margin-left: 24rpx">
  61. <checkbox
  62. v-if="!seletedAll"
  63. color="#fff"
  64. :checked="seletedAll"
  65. @tap="_seletedAll"
  66. >全选
  67. </checkbox>
  68. <checkbox
  69. class="select-all"
  70. color="#fff"
  71. v-else
  72. :checked="seletedAll"
  73. @tap="_seletedAll"
  74. >
  75. 取消全选
  76. </checkbox>
  77. </view>
  78. <view
  79. >勾选:<text style="color: #157a2c"
  80. >{{ checkListLen || 0 }}个</text
  81. >
  82. </view>
  83. </view>
  84. <u-form
  85. labelPosition="left"
  86. :model="outObj"
  87. labelWidth="180"
  88. labelAlign="left"
  89. class=""
  90. v-if="checkListLen > 0 && clientEnvironmentId != 2"
  91. >
  92. <u-form-item label="收货仓库:" borderBottom prop="warehouseId">
  93. <zxz-uni-data-select
  94. :localdata="warehouseList"
  95. v-model="outObj.warehouseId"
  96. dataValue="id"
  97. dataKey="name"
  98. filterable
  99. format="{name}"
  100. ></zxz-uni-data-select>
  101. </u-form-item>
  102. </u-form>
  103. <checkbox-group
  104. v-for="(item, index) in pickOutInList"
  105. :key="index"
  106. @change="(e) => selectVal(e, item, index)"
  107. >
  108. <label class="listBox rx-bs">
  109. <view class="listBox-sel">
  110. <checkbox
  111. v-if="
  112. (item.rootCategoryLevelId != 11 ||
  113. (item.rootCategoryLevelId == 11 && item.status != 1)) &&
  114. clientEnvironmentId != 2
  115. "
  116. :value="item.code"
  117. color="#fff"
  118. :disabled="outObj.isStraight == 1"
  119. :checked="item.checked"
  120. />
  121. </view>
  122. <view class="listBox-con">
  123. <view class="listBox-top rx-bc">
  124. <view> {{ item.name }}</view>
  125. <view class="code">
  126. {{
  127. item.rootCategoryLevelId == 4
  128. ? item.codeNumber
  129. : item.code
  130. }}
  131. </view>
  132. </view>
  133. <view class="listBox-bottom rx">
  134. <view
  135. v-for="(itm, index) in tableH(item.rootCategoryLevelId)"
  136. :key="index"
  137. class="items"
  138. v-if="!itm.formatter"
  139. >
  140. <text>{{ itm.label }}</text
  141. >{{ item[itm.prop] }}
  142. </view>
  143. <view
  144. class="items"
  145. v-if="
  146. item.rootCategoryLevelId == 1 &&
  147. item.isConsumable == 1 &&
  148. item.rootCategoryLevelId != 11 &&
  149. item.rootCategoryLevelId != 4
  150. "
  151. >
  152. <text>可用库存</text>{{ item.availableCountBase }}
  153. {{ item.unit }}
  154. </view>
  155. <!-- <view
  156. class="items"
  157. v-if="
  158. [1, 2, 9, 23].includes(
  159. Number(item.rootCategoryLevelId)
  160. ) && item.isConsumable == 1
  161. "
  162. >
  163. <text>规格</text> {{ item.specification }}
  164. </view> -->
  165. <!-- <view class="items">
  166. <text>规格</text> {{ item.specification }}
  167. </view> -->
  168. <!-- <view
  169. class="items"
  170. v-if="
  171. [1, 2, 9, 23].includes(
  172. Number(item.rootCategoryLevelId)
  173. ) && item.isConsumable == 1
  174. "
  175. >
  176. <text>型号</text> {{ item.modelType }}
  177. </view> -->
  178. <view class="items">
  179. <text>型号</text> {{ item.modelType }}
  180. </view>
  181. <!-- <view
  182. class="items"
  183. v-if="
  184. [1, 2, 9, 23].includes(
  185. Number(item.rootCategoryLevelId)
  186. ) && item.isConsumable == 0
  187. "
  188. >
  189. <text>刻码</text>{{ item.extInfo.engrave }}
  190. </view> -->
  191. <view class="items">
  192. <text>刻码</text>{{ item.extInfo.engrave }}
  193. </view>
  194. <!-- <view
  195. class="items"
  196. v-if="
  197. [1, 2, 9, 23].includes(
  198. Number(item.rootCategoryLevelId)
  199. ) && item.isConsumable == 0
  200. "
  201. >
  202. <text>物料代号</text>{{ item.extInfo.materielCode }}
  203. </view> -->
  204. <view class="items">
  205. <text>物料代号</text>{{ item.extInfo.materielCode }}
  206. </view>
  207. <!-- <view
  208. class="items"
  209. v-if="
  210. [1, 2, 9, 23].includes(
  211. Number(item.rootCategoryLevelId)
  212. ) && item.isConsumable == 0
  213. "
  214. >
  215. <text>客户代号</text>{{ item.extInfo.clientCode }}
  216. </view> -->
  217. <!-- <view class="items">
  218. <text>客户代号</text>{{ item.extInfo.clientCode }}
  219. </view> -->
  220. <!-- <view
  221. class="items"
  222. v-if="
  223. [1, 2, 9, 23].includes(
  224. Number(item.rootCategoryLevelId)
  225. ) && item.isConsumable == 0
  226. "
  227. >
  228. <text>重量</text>{{ item.extInfo.newWeight }}
  229. {{ item.extInfo.weightUnit }}
  230. </view> -->
  231. <view class="items">
  232. <text>重量</text>{{ item.extInfo.newWeight }}
  233. {{ item.extInfo.weightUnit }}
  234. </view>
  235. <!-- <view
  236. class="items"
  237. v-if="
  238. [1, 2, 9, 23].includes(
  239. Number(item.rootCategoryLevelId)
  240. ) && item.isConsumable == 1
  241. "
  242. >
  243. <text>数量</text>{{ item.feedQuantity }}
  244. </view> -->
  245. <view class="items content_num">
  246. <text>数量</text>
  247. <input
  248. v-if="item.isSelection == '1'"
  249. v-model="item.feedQuantity"
  250. style="width: 80px"
  251. />
  252. <span v-else>{{ item.feedQuantity }}</span>
  253. </view>
  254. <view class="items">
  255. <text>操作</text>
  256. <span
  257. style="margin-left: 5px; color: red"
  258. @click="deletePick(index)"
  259. >删除</span
  260. >
  261. </view>
  262. <!-- <view
  263. class="items"
  264. v-if="
  265. [1, 2, 9, 23].includes(
  266. Number(item.rootCategoryLevelId)
  267. ) && item.isConsumable == 1
  268. "
  269. >
  270. <text>重量</text>{{ item.weight || 0 }}
  271. {{ item.weightUnit }}
  272. </view> -->
  273. </view>
  274. </view>
  275. </label>
  276. </checkbox-group>
  277. </view>
  278. <view v-if="actTab == '带料清单'">
  279. <view class="title_box rx-bc">
  280. <view></view>
  281. <view class="right_box rx-ec">
  282. <u-button
  283. type="success"
  284. size="small"
  285. class="u-reset-button"
  286. @click="addPicking(2, 'belting')"
  287. text="添加"
  288. ></u-button>
  289. </view>
  290. </view>
  291. <view v-for="(item, index) in bomMaterialList" :key="index">
  292. <label class="listBox rx-bs">
  293. <view class="listBox-sel">
  294. <view class="round">{{ index + 1 }}</view>
  295. </view>
  296. <view class="listBox-con">
  297. <view class="listBox-bottom rx">
  298. <view class="items">
  299. <text>名称</text>{{ item.name }}
  300. </view>
  301. <view class="items">
  302. <text>编码</text>{{ item.code }}
  303. </view>
  304. <view
  305. v-for="(itm, index) in tableH(item.rootCategoryLevelId)"
  306. :key="index"
  307. class="items"
  308. v-if="!itm.formatter"
  309. >
  310. <text>{{ itm.label }}</text
  311. >{{ item[itm.prop] }}
  312. </view>
  313. <view
  314. class="items"
  315. v-if="item.isDemandQuantity && clientEnvironmentId != 2"
  316. >
  317. <text>数量</text
  318. >{{
  319. checkListLen == 0
  320. ? item.demandQuantity
  321. : item.count * (checkListLen || 1)
  322. }}
  323. </view>
  324. <view
  325. class="items content_num"
  326. v-if="!item.isDemandQuantity && clientEnvironmentId != 2"
  327. >
  328. <text>数量</text>
  329. <input
  330. style="width: 80px"
  331. v-model="item.demandQuantity"
  332. />
  333. </view>
  334. <view
  335. class="items"
  336. v-if="item.isDemandQuantity && clientEnvironmentId == 2"
  337. >
  338. <text>数量</text
  339. >{{ item.count * (outObj.formedNumLast || 1) }}
  340. </view>
  341. <view
  342. class="items content_num"
  343. v-if="!item.isDemandQuantity && clientEnvironmentId == 2"
  344. >
  345. <text>数量</text>
  346. <input
  347. style="width: 80px"
  348. v-model="item.demandQuantity"
  349. />
  350. </view>
  351. <view class="items">
  352. <text>操作</text>
  353. <span
  354. style="margin-left: 5px; color: blue"
  355. @click="convertList(item, index)"
  356. v-if="clientEnvironmentId == 3"
  357. >转物品清单</span
  358. >
  359. <span
  360. style="margin-left: 5px; color: red"
  361. @click="deleteMaterial(index)"
  362. >删除</span
  363. >
  364. </view>
  365. </view>
  366. </view>
  367. </label>
  368. </view>
  369. </view>
  370. <view v-if="actTab == '产出清单'">
  371. <view class="title_box rx-bc">
  372. <view></view>
  373. <view class="right_box rx-ec">
  374. <!-- <u-button
  375. type="success"
  376. size="small"
  377. class="u-reset-button"
  378. @click="addPicking(3)"
  379. text="添加"
  380. ></u-button> -->
  381. </view>
  382. </view>
  383. <view v-for="(item, index) in standardOutputList" :key="index">
  384. <label class="listBox rx-bs">
  385. <view class="listBox-sel">
  386. <view class="round">{{ index + 1 }}</view>
  387. </view>
  388. <view class="listBox-con">
  389. <view class="listBox-bottom rx">
  390. <view class="items">
  391. <text>名称</text>{{ item.name }}
  392. </view>
  393. <view class="items">
  394. <text>编码</text>{{ item.code }}
  395. </view>
  396. <view
  397. v-for="(itm, index) in tableH(item.rootCategoryLevelId)"
  398. :key="index"
  399. class="items"
  400. v-if="!itm.formatter"
  401. >
  402. <text>{{ itm.label }}</text
  403. >{{ item[itm.prop] }}
  404. </view>
  405. <view class="items content_num">
  406. <text>数量</text>
  407. <input
  408. v-model="item.demandQuantity"
  409. style="width: 80px"
  410. />
  411. </view>
  412. <view class="items">
  413. <text>操作</text>
  414. <span
  415. style="margin-left: 5px; color: red"
  416. @click="deleteOutput(index)"
  417. >删除</span
  418. >
  419. </view>
  420. </view>
  421. </view>
  422. </label>
  423. </view>
  424. </view>
  425. </u-list>
  426. <view class="operate_box rx-bc">
  427. <u-button size="small" class="u-reset-button" @click="close">
  428. 取消
  429. </u-button>
  430. <u-button
  431. type="success"
  432. size="small"
  433. class="u-reset-button"
  434. @click="handOK(0)"
  435. >
  436. 提交
  437. </u-button>
  438. <u-button
  439. type="success"
  440. size="small"
  441. class="u-reset-button"
  442. @click="handOK(1)"
  443. >
  444. 提交并发布
  445. </u-button>
  446. </view>
  447. </view>
  448. </u-popup>
  449. </view>
  450. </template>
  451. <script>
  452. import {
  453. checkOutsourceMaterial,
  454. applyoutsourceSave,
  455. getWarehouseList,
  456. } from "@/api/pda/workOrder.js";
  457. import { tableHeader } from "../common.js";
  458. import { EventBus } from "@/utils/eventBus.js";
  459. export default {
  460. data() {
  461. return {
  462. mode: "center",
  463. show: false,
  464. topHight: 20 || 20,
  465. outObj: {},
  466. tabList: [
  467. {
  468. name: "物品清单",
  469. },
  470. {
  471. name: "带料清单",
  472. },
  473. {
  474. name: "产出清单",
  475. },
  476. ],
  477. actTab: "物品清单",
  478. bomMaterialList: [],
  479. pickOutInList: [],
  480. materialList: [],
  481. standardOutputList: [],
  482. isFirstTask: null,
  483. clientEnvironmentId:
  484. uni.getStorageSync("userInfo") &&
  485. uni.getStorageSync("userInfo").clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
  486. seletedAll: false, //全选状态
  487. checkListLen: 0,
  488. warehouseList: [],
  489. addPickType: "",
  490. };
  491. },
  492. created() {
  493. // EventBus.$on("outEvent", this.handleEvent);
  494. },
  495. mounted() {
  496. console.log("1234");
  497. EventBus.$on("outEvent", this.handleEvent);
  498. },
  499. computed: {},
  500. methods: {
  501. open(obj) {
  502. this.outObj = obj;
  503. (this.actTab = "物品清单"), this.outsourceMaterialFn();
  504. this.getWarehouseFn();
  505. this.show = true;
  506. },
  507. outsourceMaterialFn() {
  508. let param = {
  509. taskId: this.outObj.taskId,
  510. taskIds: this.outObj.taskIds,
  511. workOrderId: this.outObj.workOrderId,
  512. quantity: this.outObj.formedNumLast,
  513. };
  514. checkOutsourceMaterial(param).then((res) => {
  515. let _arr = [];
  516. _arr = [...res.pickOutInList, ...res.materialList];
  517. this.pickOutInList = _arr.reduce((acc, item) => {
  518. const existingItem = acc.find((existing) => existing.id === item.id);
  519. if (!existingItem) {
  520. acc.push(item);
  521. }
  522. return acc;
  523. }, []);
  524. this.bomMaterialList = res.bomMaterialList.map((m) => {
  525. return {
  526. ...m,
  527. isDemandQuantity: true,
  528. };
  529. });
  530. this.standardOutputList = res.standardOutputList;
  531. this.$forceUpdate();
  532. });
  533. },
  534. // 仓库
  535. getWarehouseFn() {
  536. getWarehouseList().then((res) => {
  537. this.warehouseList = res;
  538. });
  539. },
  540. handTab(item) {
  541. this.actTab = item.name;
  542. },
  543. close() {
  544. this.show = false;
  545. },
  546. handleEvent({ message }) {
  547. console.log(message, "message999999999999");
  548. if (message.pid == 3) {
  549. this.standardOutputList = [
  550. ...this.standardOutputList,
  551. ...message.memoList,
  552. ];
  553. } else {
  554. if (message.pid == 2) {
  555. if (this.addPickType == "goods") {
  556. if (message.memoList.length != 0) {
  557. message.memoList.map((it) => {
  558. it.isSelection = "1";
  559. it.categoryCode = it.code;
  560. it.feedQuantity = 1;
  561. it.categoryId = it.id;
  562. it.newWeight = it.weight;
  563. this.pickOutInList.push(this.deepCopy(it));
  564. });
  565. this._seletedAll();
  566. this.$forceUpdate();
  567. }
  568. } else if (this.addPickType == "belting") {
  569. if (message.memoList.length != 0) {
  570. message.memoList.map((v) => {
  571. this.bomMaterialList.push(v);
  572. });
  573. this.$forceUpdate();
  574. }
  575. // this.bomMaterialList = message.memoList;
  576. }
  577. // console.log(this.bomMaterialList,'1111111111');
  578. // return
  579. }
  580. }
  581. },
  582. tableH(type) {
  583. return tableHeader(type);
  584. },
  585. //勾选
  586. selectVal(e, val, index) {
  587. this.pickOutInList[index].checked = !this.pickOutInList[index].checked;
  588. this.checkListLen = this.pickOutInList.filter(
  589. (f) => f.checked == true
  590. ).length;
  591. },
  592. _seletedAll() {
  593. if (!this.seletedAll) {
  594. this.seletedAll = true;
  595. this.pickOutInList.map((item) => {
  596. this.$set(item, "checked", true);
  597. });
  598. } else {
  599. this.seletedAll = false;
  600. this.pickOutInList.map((item) => {
  601. this.$set(item, "checked", false);
  602. });
  603. }
  604. this.checkListLen = this.pickOutInList.filter(
  605. (f) => f.checked == true
  606. ).length;
  607. },
  608. scrolltolower() {},
  609. deleteOutput(index) {
  610. this.standardOutputList.splice(index, 1);
  611. this.$forceUpdate();
  612. },
  613. deleteMaterial(index) {
  614. this.bomMaterialList.splice(index, 1);
  615. this.$forceUpdate();
  616. },
  617. deletePick(index) {
  618. this.pickOutInList.splice(index, 1);
  619. this._seletedAll();
  620. this.$forceUpdate();
  621. },
  622. convertList(item, index) {
  623. // console.log(item, index);
  624. item.categoryCode = item.code;
  625. item.feedQuantity = item.demandQuantity;
  626. item.isSelection = "1";
  627. item.categoryId = item.id;
  628. item.newWeight = item.weight;
  629. this.pickOutInList.push(this.deepCopy(item));
  630. this.bomMaterialList.splice(index, 1);
  631. this._seletedAll();
  632. this.$forceUpdate();
  633. },
  634. deepCopy(obj, hash = new WeakMap()) {
  635. if (obj === null) return null;
  636. if (obj instanceof Date) return new Date(obj);
  637. if (obj instanceof RegExp) return new RegExp(obj);
  638. if (typeof obj !== "object" && typeof obj !== "function") return obj;
  639. if (hash.has(obj)) return hash.get(obj);
  640. const result = Array.isArray(obj) ? [] : {};
  641. hash.set(obj, result);
  642. return Object.keys(obj).reduce((acc, key) => {
  643. acc[key] = this.deepCopy(obj[key], hash);
  644. return acc;
  645. }, result);
  646. },
  647. addPicking(id, type) {
  648. this.addPickType = type;
  649. const storageKey = Date.now() + "";
  650. let arr = null;
  651. if (id == 3) {
  652. arr = [
  653. {
  654. standardOutputList: this.standardOutputList,
  655. },
  656. ];
  657. } else {
  658. arr = [
  659. {
  660. bomMaterialList: this.bomMaterialList,
  661. },
  662. ];
  663. }
  664. uni.setStorageSync(storageKey, arr);
  665. uni.navigateTo({
  666. url: `/pages/pda/workOrder/search/index?id=${id}&storageKey=${storageKey}&isType=weiwai&taskId=${this.outObj.taskId}&classIds=[1,23,9]`,
  667. });
  668. },
  669. handOK(isRelease) {
  670. if (this.checkListLen > 0 && !this.outObj.warehouseId) {
  671. uni.showToast({
  672. title: "请选择仓库",
  673. icon: "none",
  674. });
  675. return;
  676. }
  677. let _pickOutInList = [];
  678. if (this.clientEnvironmentId == 2) {
  679. _pickOutInList = this.pickOutInList;
  680. } else {
  681. _pickOutInList = this.pickOutInList.filter((f) => f.checked == true);
  682. }
  683. let param = {
  684. ...this.outObj,
  685. isRelease: isRelease,
  686. bomMaterialList: this.bomMaterialList,
  687. pickOutInList: _pickOutInList,
  688. materialList: this.materialList,
  689. standardOutputList: this.standardOutputList,
  690. };
  691. applyoutsourceSave(param).then((res) => {
  692. uni.showToast({
  693. title: "提交成功",
  694. icon: "none",
  695. });
  696. this.$emit("close", true);
  697. this.checkListLen = 0;
  698. this.close();
  699. });
  700. },
  701. },
  702. };
  703. </script>
  704. <style lang="scss" scoped>
  705. .z_list {
  706. max-height: 860rpx;
  707. padding: 10rpx;
  708. box-sizing: border-box;
  709. }
  710. .box_list {
  711. min-height: 100rpx;
  712. width: 96vw;
  713. /deep/ .baseForm {
  714. padding: 0 20rpx;
  715. }
  716. }
  717. .operate_box {
  718. padding: 10rpx 32rpx;
  719. /deep/ .u-button {
  720. width: 28%;
  721. }
  722. }
  723. /deep/ .u-tabs__wrapper__nav {
  724. background: #f5f5f5 !important;
  725. }
  726. .listBox {
  727. margin-top: 8rpx;
  728. padding: 8rpx 24rpx;
  729. background: #fff;
  730. /deep/ .uni-checkbox-input-checked {
  731. background-color: $theme-color !important;
  732. border-color: $theme-color !important;
  733. }
  734. .listBox-sel {
  735. margin-top: 10rpx;
  736. margin-right: 8rpx;
  737. .round {
  738. width: 32rpx;
  739. height: 32rpx;
  740. line-height: 32rpx;
  741. text-align: center;
  742. border-radius: 50%;
  743. background: $theme-color;
  744. font-size: 24rpx;
  745. font-style: normal;
  746. font-weight: 400;
  747. color: #fff;
  748. }
  749. }
  750. .round {
  751. width: 32rpx;
  752. height: 32rpx;
  753. line-height: 32rpx;
  754. text-align: center;
  755. border-radius: 50%;
  756. background: $theme-color;
  757. font-size: 24rpx;
  758. font-style: normal;
  759. font-weight: 400;
  760. color: #fff;
  761. }
  762. .listBox-con {
  763. width: 650rpx;
  764. font-weight: 400;
  765. }
  766. .listBox-top {
  767. margin-top: 6rpx;
  768. color: #090a0a;
  769. font-size: 28rpx;
  770. font-style: normal;
  771. font-weight: 800;
  772. }
  773. .listBox-bottom {
  774. color: #090a0a;
  775. font-size: 24rpx;
  776. font-style: normal;
  777. flex-wrap: wrap;
  778. .items {
  779. width: calc(50% - 1px);
  780. border-left: 1rpx solid #e3e5e5;
  781. border-right: 1rpx solid #e3e5e5;
  782. border-bottom: 1rpx solid #e3e5e5;
  783. box-sizing: border-box;
  784. word-break: break-all;
  785. text {
  786. display: inline-block;
  787. background: #f7f9fa;
  788. padding: 8rpx 10rpx;
  789. color: #157a2c;
  790. }
  791. &:nth-child(1),
  792. &:nth-child(2) {
  793. border-top: 1rpx solid #e3e5e5;
  794. margin-top: 8rpx;
  795. }
  796. }
  797. }
  798. }
  799. .card_box {
  800. width: 92vw;
  801. padding: 16rpx 32rpx;
  802. box-sizing: border-box;
  803. border-bottom: 2rpx solid #e1e1e1;
  804. .item_box {
  805. margin-top: 10rpx;
  806. .item_one {
  807. width: 100%;
  808. font-size: 26rpx;
  809. font-style: normal;
  810. font-weight: 400;
  811. line-height: 38rpx;
  812. word-wrap: break-word;
  813. }
  814. .gylx {
  815. color: $theme-color;
  816. }
  817. .perce50 {
  818. width: 50%;
  819. }
  820. }
  821. }
  822. .content_num {
  823. display: flex;
  824. align-items: center;
  825. padding: 0 4rpx;
  826. /deep/ .uni-input-input {
  827. border: 2rpx solid #f0f8f2;
  828. background: #f0f8f2;
  829. color: $theme-color;
  830. }
  831. }
  832. </style>