singleJobBom.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <template>
  2. <view>
  3. <!-- 单个报工 -->
  4. <view class="title_box rx-bc">
  5. <view class="name">报工信息</view>
  6. </view>
  7. <view class="material">
  8. <view class="content_table">
  9. <view class="item rx-sc">
  10. <view class="rx">
  11. <view class="lable lable150 rx-cc">报工数量</view>
  12. <view class="content">
  13. {{ tableData.length || 0 }}
  14. </view>
  15. </view>
  16. </view>
  17. <view class="item rx-sc">
  18. <view class="rx ww55">
  19. <view class="lable lable150 rx-cc">要求生产数量</view>
  20. <view class="content rx-sc">
  21. <view>{{ item.formingNum }}</view>
  22. <view class="unit">{{ item.unit }}</view>
  23. </view>
  24. </view>
  25. <view class="rx ww45">
  26. <view class="lable rx-cc ww80">重量</view>
  27. <view class="content content_num">
  28. <view>{{ item.formingWeight }}</view>
  29. <view class="unit">{{ item.weightUnit }}</view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="item rx-sc">
  34. <view class="rx ww55">
  35. <view class="lable lable150 rx-cc">合格品数量</view>
  36. <view class="content content_num">
  37. <input
  38. class="uni-input"
  39. v-model="item.workReportInfo.formedNum"
  40. :disabled="isDetails"
  41. @input="blurNum(item.workReportInfo)"
  42. type="digit"
  43. />
  44. <view class="unit">{{ item.unit }}</view>
  45. </view>
  46. </view>
  47. <view class="rx ww45">
  48. <view class="lable rx-cc ww80">重量</view>
  49. <view class="content content_num">
  50. <input
  51. class="uni-input"
  52. v-model="item.workReportInfo.formedWeight"
  53. type="digit"
  54. :disabled="isDetails"
  55. />
  56. <view class="unit">{{ item.weightUnit }}</view>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="item rx-sc">
  61. <view class="rx ww55">
  62. <view class="lable lable150 rx-cc">不合格数量</view>
  63. <view class="content content_num">
  64. <!-- //详情 -->
  65. <input
  66. class="uni-input"
  67. v-model="item.workReportInfo.notFormedNum"
  68. type="digit"
  69. :disabled="isDetails"
  70. @input="changeNum"
  71. />
  72. <view class="unit">{{ item.unit }}</view>
  73. </view>
  74. </view>
  75. <view class="rx ww45">
  76. <view class="lable rx-cc ww80">重量</view>
  77. <view class="content content_num">
  78. <input
  79. class="uni-input"
  80. v-model="item.workReportInfo.notFormedWeight"
  81. type="digit"
  82. :disabled="isDetails"
  83. />
  84. <view class="unit">{{ item.weightUnit }}</view>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="item rx-sc">
  89. <view class="rx ww55">
  90. <view class="lable lable150 rx-cc">报工备注</view>
  91. <view class="content content_num" style="width: 100%">
  92. <input
  93. class="uni-input"
  94. v-model="item.workReportInfo.remark"
  95. :disabled="isDetails"
  96. type="text"
  97. />
  98. </view>
  99. </view>
  100. <!-- v-if="clientEnvironmentId==2" -->
  101. <view class="rx ww45" v-if="clientEnvironmentId == 2">
  102. <view class="lable ww80 rx-cc">批次号</view>
  103. <view class="content content_num" style="width: 100%">
  104. {{ item.batchNo }}
  105. <input
  106. class="uni-input"
  107. v-model="batchNo"
  108. @input="batchNoNew"
  109. :disabled="isDetails"
  110. type="text"
  111. />
  112. </view>
  113. </view>
  114. <!-- 不是首工序展示这个按钮 -->
  115. <view
  116. class="unit-btn"
  117. @click="singleQuery"
  118. v-if="
  119. item.currentTaskDiagram.isFirstTask && clientEnvironmentId != 3
  120. "
  121. >确认</view
  122. >
  123. <!-- <view
  124. class="unit-btn"
  125. @click="singleQueryTg"
  126. v-if="
  127. item.currentTaskDiagram.isFirstTask && clientEnvironmentId == 3
  128. "
  129. >确认</view
  130. > -->
  131. </view>
  132. </view>
  133. <view class="content_table">
  134. <!-- <view class="item rx-sc">
  135. <view class="rx ww55 ">
  136. <view class="lable lable150 rx-cc ">名称</view>
  137. <view class="content content_num ">
  138. <view>{{ forValue.name }}</view>
  139. </view>
  140. </view>
  141. <view class="rx ww45">
  142. <view class="lable rx-cc ww80">编码</view>
  143. <view class="content content_num">
  144. <view>{{ forValue.code }}</view>
  145. </view>
  146. </view>
  147. </view>
  148. <view class="item rx-sc">
  149. <view class="rx ww55">
  150. <view class="lable lable150 rx-cc ww80">单位</view>
  151. <view class="content content_num">
  152. <view>{{ forValue.unit }}</view>
  153. </view>
  154. </view>
  155. <view class="rx ww45 ">
  156. <view class="lable rx-cc ww80">规格</view>
  157. <view class="content content_num rx-sc">
  158. <view>{{ forValue.specification }}</view>
  159. </view>
  160. </view>
  161. </view>
  162. <view class="item rx-sc">
  163. <view class="rx ww55">
  164. <view class="lable lable150 rx-cc ww80">牌号</view>
  165. <view class="content content_num">
  166. <view>{{ forValue.brandNum }}</view>
  167. </view>
  168. </view>
  169. <view class="rx ww45">
  170. <view class="lable rx-cc ww80">型号</view>
  171. <view class="content content_num">
  172. <view>{{ forValue.modelType }}</view>
  173. </view>
  174. </view>
  175. </view> -->
  176. <!-- <checkboxTable :tableData="tableData" :itemData="item" @tableDataFn="tableDataFn"></checkboxTable> -->
  177. <singleProductJobBom
  178. :item="item"
  179. :list="item.semiProductList"
  180. :equipmentList="item.equipmentList"
  181. ></singleProductJobBom>
  182. </view>
  183. </view>
  184. </view>
  185. </template>
  186. <script>
  187. import { createInProduct } from "@/api/pda/jobBooking.js";
  188. import checkboxTable from "../componentsTable/checkbox/checkbox.vue";
  189. import singleProductJobBom from "./singleProductJobBom.vue";
  190. import { parameterGetByCode } from "@/api/mainData/index.js";
  191. import { createInProductBatchTG } from "@/api/pda/jobBooking.js";
  192. export default {
  193. props: {
  194. item: {
  195. type: Object,
  196. default: () => {},
  197. },
  198. notFormed: {
  199. type: Array,
  200. default: () => [],
  201. },
  202. isDetails: {
  203. type: Boolean,
  204. default: false,
  205. },
  206. },
  207. watch: {
  208. notFormed: {
  209. immediate: true,
  210. deep: true,
  211. handler(newVal) {
  212. this.notFormedList = newVal;
  213. },
  214. },
  215. item: {
  216. immediate: true,
  217. deep: true,
  218. handler(newVal) {
  219. console.log(newVal, "newVal--------------");
  220. if (newVal.semiProductList && newVal.semiProductList.length != 0) {
  221. let formedNum = 0;
  222. let notFormedNum = 0;
  223. newVal.semiProductList.forEach((item) => {
  224. if (!item.extInfo.isQualified || item.extInfo.isQualified == 1) {
  225. formedNum = formedNum + Number(item.feedQuantity);
  226. } else {
  227. notFormedNum = notFormedNum + Number(item.feedQuantity);
  228. }
  229. });
  230. this.$set(this.item.workReportInfo, "formedNum", formedNum);
  231. this.$set(this.item.workReportInfo, "notFormedNum", notFormedNum);
  232. }
  233. this.$forceUpdate();
  234. if (!newVal.currentTaskDiagram.isFirstTask) {
  235. this.getSemiProductList(newVal);
  236. }
  237. },
  238. },
  239. },
  240. components: { checkboxTable, singleProductJobBom },
  241. data() {
  242. return {
  243. forValue: {},
  244. tableData: [],
  245. batchNo: "",
  246. notFormedList: [],
  247. clientEnvironmentId:
  248. uni.getStorageSync("userInfo") &&
  249. uni.getStorageSync("userInfo").clientEnvironmentId, // *1 主环境-601环境 2 soll-索尔环境 3 tg-碳谷环境
  250. };
  251. },
  252. created() {
  253. if (this.isDetails) {
  254. this.notFormedList = this.notFormedList.map((m) => {
  255. return {
  256. notFormedNum: Number(m.quantity),
  257. notFormedWeight: m.weight,
  258. ...m,
  259. };
  260. });
  261. }
  262. this.getByCode();
  263. console.log(this.item, "items");
  264. },
  265. methods: {
  266. tableDataFn(tableData) {
  267. console.log(tableData);
  268. let adultCount = 0;
  269. let noAdultCount = 0;
  270. this.arrDataStatistics(tableData);
  271. tableData.forEach((v) => {
  272. if (v.selected) {
  273. console.log(11111);
  274. if (v.extInfo.isQualified == 1) {
  275. adultCount += 1;
  276. } else {
  277. noAdultCount += 1;
  278. }
  279. }
  280. });
  281. this.$set(this.item.workReportInfo, "formedNum", adultCount);
  282. this.$set(this.notFormedList[0], "notFormedNum", noAdultCount);
  283. // this.tableData = this.notFormedList;
  284. if (!(this.clientEnvironmentId == 3 || this.item.singleReport !== 1)) {
  285. this.item.semiProductList = tableData;
  286. }
  287. },
  288. arrDataStatistics(arr) {
  289. console.log(arr);
  290. const adultCount = arr.filter(
  291. (user) => user.extInfo.isQualified == 1
  292. ).length;
  293. const noAdultCount = arr.filter(
  294. (user) => user.extInfo.isQualified !== 1
  295. ).length;
  296. console.log(adultCount, noAdultCount);
  297. this.$set(this.item.workReportInfo, "formedNum", adultCount);
  298. this.$set(this.notFormedList[0], "notFormedNum", noAdultCount);
  299. },
  300. getByCode() {
  301. parameterGetByCode({ code: "enable_quality_plus" }).then((res) => {
  302. if (
  303. res.value == "1" &&
  304. (this.item.currentTaskDiagram.type == 6 ||
  305. this.item.currentTaskDiagram.type == 2 ||
  306. this.item.currentTaskDiagram.type == 2)
  307. ) {
  308. uni.showModal({
  309. title: "提示",
  310. content: "质检需要去PC端进行",
  311. success: function (res) {
  312. if (res.confirm) {
  313. console.log("用户点击确定");
  314. } else if (res.cancel) {
  315. console.log("用户点击取消");
  316. }
  317. },
  318. });
  319. }
  320. });
  321. },
  322. getSemiProductList(newVal) {
  323. console.log(newVal);
  324. if (newVal.semiProductList.length) {
  325. newVal.semiProductList.map((v) => {
  326. v.selected = true;
  327. });
  328. this.arrDataStatistics(newVal.semiProductList);
  329. this.tableData = newVal.semiProductList;
  330. }
  331. if (newVal.pickOutInList.length) {
  332. newVal.pickOutInList.map((v) => {
  333. v.selected = true;
  334. });
  335. this.arrDataStatistics(newVal.pickOutInList);
  336. this.tableData = newVal.pickOutInList;
  337. }
  338. },
  339. singleQuery() {
  340. console.log(this.item.workReportInfo);
  341. if (!this.item.workReportInfo.formedNum)
  342. return uni.showToast({
  343. icon: "none",
  344. title: "请输入合格品数",
  345. });
  346. if (
  347. this.notFormedList[0].notFormedNum == "" ||
  348. this.notFormedList[0].notFormedNum == null
  349. )
  350. return uni.showToast({
  351. icon: "none",
  352. title: "请输入不合格品数",
  353. });
  354. const req = {
  355. formedNum: this.item.workReportInfo.formedNum,
  356. notFormedNum: this.notFormedList[0].notFormedNum,
  357. taskId: this.item.workReportInfo.taskId,
  358. workOrderId: this.item.workReportInfo.workOrderId,
  359. };
  360. createInProduct(req).then((res) => {
  361. if (res && res.length) {
  362. this.forValue = res[0];
  363. res.map((v) => {
  364. v.selected = true;
  365. });
  366. this.tableData = res;
  367. this.item.semiProductList = res;
  368. }
  369. });
  370. },
  371. singleQueryTg() {
  372. console.log(this.item.workReportInfo);
  373. if (!this.item.workReportInfo.formedNum)
  374. return uni.showToast({
  375. icon: "none",
  376. title: "请输入合格品数",
  377. });
  378. if (
  379. this.notFormedList[0].notFormedNum == "" ||
  380. this.notFormedList[0].notFormedNum == null
  381. )
  382. return uni.showToast({
  383. icon: "none",
  384. title: "请输入不合格品数",
  385. });
  386. const req = {
  387. formedNum: this.item.workReportInfo.formedNum,
  388. notFormedNum: this.notFormedList[0].notFormedNum,
  389. taskId: this.item.workReportInfo.taskId,
  390. workOrderId: this.item.workReportInfo.workOrderId,
  391. };
  392. createInProductBatchTG(req).then((res) => {
  393. if (res && res.length) {
  394. this.forValue = res[0];
  395. res.map((v) => {
  396. v.selected = true;
  397. });
  398. this.tableData = res;
  399. this.item.semiProductList = res;
  400. }
  401. });
  402. },
  403. /**
  404. * 更新批次号
  405. *
  406. * @param e 事件对象
  407. */
  408. batchNoNew(e) {
  409. this.item.workReportInfo.batchNo = this.item.batchNo + e.target.value;
  410. },
  411. setFormedNum(num) {
  412. this.item.workReportInfo.formedNum = num;
  413. let weight =
  414. Number(this.item.workReportInfo.formedNum) *
  415. Number(this.item.singleWeight) *
  416. Number(this.item.weightMultiple);
  417. if (["G", "g", "克"].includes(this.item.singleWeightUnit)) {
  418. weight = parseFloat((weight / 1000).toFixed(2));
  419. } else {
  420. weight = parseFloat(weight.toFixed(2));
  421. }
  422. this.$set(this.item.workReportInfo, "formedWeight", weight);
  423. this.$forceUpdate();
  424. },
  425. penalize() {
  426. this.$emit("penalize", null);
  427. },
  428. handleView(name) {
  429. uni.showToast({
  430. icon: "none",
  431. title: name || "未设置",
  432. });
  433. },
  434. blurNum(value) {
  435. let total = 0;
  436. //匹配非数字
  437. let val = value.formedNum;
  438. let reg = new RegExp("([^0-9]*)", "g");
  439. let ma = val.match(reg);
  440. //如果有非数字,替换成""
  441. if (ma.length > 0) {
  442. for (let k in ma) {
  443. if (ma[k] != "") {
  444. val = val.replace(ma[k], 0);
  445. }
  446. }
  447. }
  448. //可以为0,但不能以0开头
  449. if (val.startsWith("0") && val.length > 1) {
  450. val = val.substring(1, val.length);
  451. }
  452. value.formedNum = val;
  453. if (this.item.currentTaskDiagram.isFirstTask) {
  454. // formingNum 生产数量 feedQuantity this.item.product[0] //投料数量
  455. if (value.formedNum > this.item.formingNum) {
  456. this.$set(
  457. this.item.workReportInfo,
  458. "workReportInfo",
  459. this.item.formingNum
  460. );
  461. this.$set(this.notFormedList[0], "notFormedNum", 0);
  462. this.notForme();
  463. return uni.showToast({
  464. icon: "none",
  465. title: "合格品数量不能大于要求生产数量",
  466. });
  467. }
  468. } else {
  469. if (this.item.product.length) {
  470. if (value.formedNum > this.item.product[0].feedQuantity) {
  471. console.log(this.item.product[0].feedQuantity);
  472. this.$set(
  473. this.item.workReportInfo,
  474. "workReportInfo",
  475. this.item.product[0].feedQuantity
  476. );
  477. this.$set(this.notFormedList[0], "notFormedNum", 0);
  478. this.notForme();
  479. return uni.showToast({
  480. icon: "none",
  481. title: "合格品数量不能大于投料数量",
  482. });
  483. }
  484. }
  485. }
  486. if (
  487. this.item.product[0] &&
  488. this.item.product[0].feedQuantity > 0 &&
  489. Number(this.item.workReportInfo.formedNum)
  490. ) {
  491. this.$set(
  492. this.notFormedList[0],
  493. "notFormedNum",
  494. this.item.product[0].feedQuantity -
  495. Number(this.item.workReportInfo.formedNum)
  496. );
  497. this.notForme();
  498. }
  499. let weight =
  500. Number(this.item.workReportInfo.formedNum) *
  501. Number(this.item.singleWeight) *
  502. Number(this.item.weightMultiple);
  503. if (["G", "g", "克"].includes(this.item.singleWeightUnit)) {
  504. weight = parseFloat((weight / 1000).toFixed(2));
  505. } else {
  506. weight = parseFloat(weight.toFixed(2));
  507. }
  508. this.$set(this.item.workReportInfo, "formedWeight", weight);
  509. total =
  510. Number(this.item.workReportInfo.formedNum) +
  511. Number(this.notFormedList[0].notFormedNum);
  512. console.log(total);
  513. this.$emit("modeNum", total);
  514. this.$forceUpdate();
  515. },
  516. notForme() {
  517. let weight =
  518. Number(this.notFormedList[0].notFormedNum) *
  519. Number(this.item.singleWeight) *
  520. Number(this.item.weightMultiple);
  521. if (
  522. this.item.singleWeightUnit == "G" ||
  523. this.item.singleWeightUnit == "g" ||
  524. this.item.singleWeightUnit == "克"
  525. ) {
  526. weight = parseFloat((weight / 1000).toFixed(2));
  527. } else {
  528. weight = parseFloat(weight.toFixed(2));
  529. }
  530. this.$set(this.notFormedList[0], "notFormedWeight", weight);
  531. if (
  532. this.item.product[0] &&
  533. this.item.product[0].feedQuantity > 0 &&
  534. Number(this.notFormedList[0].notFormedNum)
  535. ) {
  536. this.$set(
  537. this.item.workReportInfo,
  538. "formedNum",
  539. this.item.product[0].feedQuantity -
  540. Number(this.notFormedList[0].notFormedNum)
  541. );
  542. let weight =
  543. Number(this.item.workReportInfo.formedNum) *
  544. Number(this.item.singleWeight) *
  545. Number(this.item.weightMultiple);
  546. if (
  547. this.item.singleWeightUnit == "G" ||
  548. this.item.singleWeightUnit == "g" ||
  549. this.item.singleWeightUnit == "克"
  550. ) {
  551. weight = parseFloat((weight / 1000).toFixed(2));
  552. } else {
  553. weight = parseFloat(weight.toFixed(2));
  554. }
  555. this.$set(this.item.workReportInfo, "formedWeight", weight);
  556. }
  557. this.$forceUpdate();
  558. },
  559. changeNum(value) {
  560. // 不合格数量
  561. let val = value.notFormedNum;
  562. //匹配非数字
  563. let reg = new RegExp("([^0-9]*)", "g");
  564. let ma = val.match(reg);
  565. //如果有非数字,替换成""
  566. if (ma.length > 0) {
  567. for (let k in ma) {
  568. if (ma[k] != "") {
  569. val = val.replace(ma[k], "0");
  570. }
  571. }
  572. }
  573. //可以为0,但不能以0开头
  574. if (val.startsWith("0") && val.length > 1) {
  575. val = val.substring(1, val.length);
  576. }
  577. // this.$set(this.item.workReportInfo, 'formedNum', val)
  578. value.notFormedNum = val;
  579. console.log(Number(this.item.workReportInfo.formedNum), 1);
  580. console.log(Number(this.notFormedList[0].notFormedNum), 2);
  581. let total =
  582. Number(this.item.workReportInfo.formedNum) +
  583. Number(this.notFormedList[0].notFormedNum);
  584. console.log(total);
  585. this.$emit("modeNum", total);
  586. this.notForme();
  587. // this.blurNum()
  588. },
  589. },
  590. };
  591. </script>
  592. <style lang="scss" scoped>
  593. .unit-btn {
  594. background-color: #157a2c;
  595. height: 48rpx;
  596. padding: 0 20rpx;
  597. line-height: 48rpx;
  598. color: #fff;
  599. }
  600. .content_num {
  601. display: flex;
  602. align-items: center;
  603. padding: 0 4rpx;
  604. font-size: 26rpx !important;
  605. /deep/ .uni-input-input {
  606. border: 2rpx solid #f0f8f2;
  607. background: #f0f8f2;
  608. color: $theme-color;
  609. }
  610. }
  611. .item {
  612. display: flex;
  613. justify-content: space-between;
  614. }
  615. .title_box {
  616. margin-top: 20rpx;
  617. .name {
  618. font-size: 28rpx;
  619. font-style: normal;
  620. font-weight: 400;
  621. color: $theme-color;
  622. padding-left: 20rpx;
  623. position: relative;
  624. &:before {
  625. position: absolute;
  626. content: "";
  627. left: 0rpx;
  628. top: 0rpx;
  629. bottom: 0rpx;
  630. width: 4rpx;
  631. height: 28rpx;
  632. background: $theme-color;
  633. margin: auto;
  634. }
  635. }
  636. }
  637. .material {
  638. margin-top: 10rpx;
  639. .content_table {
  640. width: 100%;
  641. border: 2rpx solid $border-color;
  642. .item {
  643. display: flex;
  644. border-bottom: 2rpx solid $border-color;
  645. .lable {
  646. width: 132rpx;
  647. text-align: center;
  648. background-color: #f7f9fa;
  649. font-size: 26rpx;
  650. border-right: 2rpx solid $border-color;
  651. flex-shrink: 0;
  652. }
  653. .lable220 {
  654. width: 220rpx !important;
  655. font-size: 24rpx;
  656. }
  657. .lable150 {
  658. width: 156rpx !important;
  659. font-size: 24rpx;
  660. }
  661. .ww80 {
  662. width: 80rpx;
  663. }
  664. .content {
  665. width: 518rpx;
  666. min-height: 64rpx;
  667. font-size: 28rpx;
  668. line-height: 28rpx;
  669. font-style: normal;
  670. font-weight: 400;
  671. padding: 18rpx 8rpx;
  672. box-sizing: border-box;
  673. word-wrap: break-word;
  674. flex-grow: 1 !important;
  675. .unit {
  676. padding: 0 4rpx;
  677. font-size: 24rpx;
  678. color: #404446;
  679. }
  680. .penalize {
  681. width: 160rpx;
  682. line-height: 60rpx;
  683. background: $theme-color;
  684. font-size: 24rpx;
  685. text-align: center;
  686. color: #fff;
  687. }
  688. }
  689. .pd4 {
  690. padding: 4rpx 8rpx;
  691. }
  692. &:last-child {
  693. border-bottom: none;
  694. }
  695. }
  696. .ww55 {
  697. width: 55%;
  698. }
  699. .ww45 {
  700. width: 45%;
  701. }
  702. }
  703. }
  704. </style>