packingBom.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974
  1. <template>
  2. <view>
  3. <view class="col userInp " style="display: flex; align-items: center;">
  4. <text class="label lable150 rx-cc">规格选择:</text>
  5. <!-- multiple -->
  6. <zxz-uni-data-select :localdata="localdataList" v-model="Usertype"
  7. @change="changeUserType"></zxz-uni-data-select>
  8. </view>
  9. <view v-for="(item, i) in DispositionList" :key="i">
  10. <view class="title_box rx-bc">
  11. <!-- 最小包装单元 -->
  12. <view class="name">{{ item.titel }}</view>
  13. <!-- <view class="btn_box rx-bc" @click="handCancelPacking">
  14. 重置打包
  15. </view> -->
  16. </view>
  17. <view class="material ">
  18. <view class="content_table">
  19. <view class="item">
  20. <view class="lable rx-cc">包装总数 </view>
  21. <view class="content content_num">
  22. <input class="uni-input" v-model="item.formedNumLast" type="number" :disabled="i != 0"
  23. @input="changeinput"></input>
  24. <view class="unit">{{ item.packageUnit }}</view>
  25. </view>
  26. </view>
  27. <view class="item rx-sc">
  28. <view class="rx ww55 ">
  29. <view class="lable lable150 rx-cc ">{{ item.titel }}单元</view>
  30. <view class="content content_num">
  31. <input class="uni-input" v-model="item.packageCell" disabled></input>
  32. <view style="max-width: 100rpx; font-size: 24rpx;">{{ item.packageUnit }}</view>
  33. </view>
  34. </view>
  35. <view class="rx ww45">
  36. <view class="rx-cc ww80">
  37. /<view style="max-width: 100rpx; font-size: 24rpx;">{{ item.conversionUnit }}</view>
  38. </view>
  39. <view class="content rx-sc">
  40. <!-- <zxz-uni-data-select :localdata="unitList" v-model="unit" dataValue='Key'
  41. format='{Value}' dataKey="Key" filterable :clear='false'></zxz-uni-data-select> -->
  42. <!-- <view class="penalize" @click="handleSplit">确认</view> -->
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="content_table2" v-if='item.splitList.length'>
  48. <view class="head row rx-sc">
  49. <view class="item ww10">序号</view>
  50. <view class="item ww30">数量</view>
  51. <view class="item ww20">计量数</view>
  52. <view class="item ww40">条码</view>
  53. <!-- <view class="item ww10 jsColor" @click="calculation()" v-if="clientEnvironmentId != 3">计算</view>
  54. <view class="item ww10" v-if="clientEnvironmentId == 3"></view> -->
  55. </view>
  56. <view class="table">
  57. <u-list @scrolltolower="scrolltolower" class="z_list" style="height: 100% !important;">
  58. <view class="tr row rx-sc" v-for="(it, idx) in item.splitList" :key='idx'>
  59. <view class="item ww10 rx-cc ">{{ it.computeSize }}</view>
  60. <view class="item ww30 content_num rx-sc">
  61. <input class="uni-input" v-model="it.quantity" type="digit"></input>
  62. <view style="width: 260rpx; font-size: 22rpx;"> {{ it.unit }}/{{
  63. it.packageUnit }}
  64. </view>
  65. </view>
  66. <view class="item ww20 rx-cc ">{{ it.totalQuantity }}</view>
  67. <view class="item ww40">
  68. {{ it.code }}
  69. </view>
  70. </view>
  71. </u-list>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <SearchPopup mode="center" v-if='show'>
  77. <template v-slot:list>
  78. <view class="search_list">
  79. <u-form labelPosition="left" :model="formData" labelWidth="180" labelAlign="left" class="baseForm">
  80. <u-form-item label="外包装数:" class="required-form" borderBottom prop="assetType">
  81. <input class="uni-input" v-model="formData.wPackNum" style="width: 280rpx;"
  82. placeholder="外包装数"></input> / {{ splitList[0].unit }}
  83. </u-form-item>
  84. </u-form>
  85. </view>
  86. </template>
  87. <template v-slot:operate>
  88. <view class="operate_box rx-bc">
  89. <u-button size="small" class="u-reset-button" @click="calculationClose()">
  90. 取消
  91. </u-button>
  92. <u-button type="success" size="small" class="u-reset-button" @click="calculationReset()">
  93. 重置
  94. </u-button>
  95. <u-button type="success" size="small" class="u-reset-button" @click="calculationSave()">
  96. 确定
  97. </u-button>
  98. </view>
  99. </template>
  100. </SearchPopup>
  101. </view>
  102. </template>
  103. <script>
  104. import {
  105. getByCode
  106. } from '@/api/pda/common.js'
  107. import {
  108. cancelPacking,
  109. packingReport,
  110. getPackingReport,
  111. packingReportRepeat,
  112. packageDisposition,
  113. getPackingReportRepeat
  114. } from '@/api/pda/workOrder.js'
  115. import SearchPopup from '../../components/searchPopup.vue'
  116. export default {
  117. components: {
  118. SearchPopup
  119. },
  120. props: {
  121. categoryId: {
  122. type: String,
  123. default: ''
  124. },
  125. objData: {
  126. type: Object,
  127. default: () => { }
  128. },
  129. taskId: {
  130. type: String,
  131. default: ''
  132. },
  133. workOrderId: {
  134. type: String,
  135. default: ''
  136. }
  137. },
  138. data() {
  139. return {
  140. formedNumLast: 0,
  141. quantity: '',
  142. unit: '',
  143. Usertype: "",// 规格
  144. unitList: [],
  145. resObj: {},
  146. splitList: [],
  147. localdataList: [],
  148. newDispositionList: [],
  149. withinQuantity: '',//内包装数量
  150. withinUnit: '',//内包装单位
  151. outsideQuantity: '',//外包装数量
  152. outsideUnit: '',//外包装单位
  153. timeout: null,
  154. packUnit: null,
  155. temporaryNum: 0,
  156. temporaryCount: 0,
  157. temporaryList: [],
  158. packTwoList: [],
  159. DispositionList: [],
  160. selectList: [],
  161. text : '',
  162. value : '',
  163. minimumPackage: [],// 最小包装
  164. withinPackage: [],// 内包装
  165. minimumUnit:'',
  166. outsidePackage: [], //外包装
  167. newCategoryId: '',
  168. show: false,
  169. formData: {
  170. wPackNum: null,
  171. },
  172. clientEnvironmentId: uni.getStorageSync("userInfo") && uni.getStorageSync("userInfo").clientEnvironmentId,
  173. }
  174. },
  175. watch: {
  176. categoryId: {
  177. handler(newVal) {
  178. this.newCategoryId = newVal;
  179. },
  180. deep: true,
  181. immediate: true
  182. },
  183. objData: {
  184. handler(newVal) {
  185. if (newVal.product && newVal.product.length) {
  186. this.formedNumLast =newVal.formedNumLast||newVal.product[0].feedQuantity;
  187. }else{
  188. this.formedNumLast = 0;
  189. }
  190. this.packageDispositionFn();
  191. //
  192. },
  193. deep: true,
  194. immediate: true
  195. }
  196. },
  197. created() {
  198. // this.formedNumLast = this.objData.product[0].feedQuantity;
  199. console.log(this.objData,'我是阿打啥啊电话');
  200. this.byCode();
  201. // this.getPackingDetails()
  202. // this.getPackingDetailsTwo()
  203. },
  204. methods: {
  205. // 输入数量变化
  206. changeinput(e) {
  207. clearTimeout(this.timeout)
  208. // 设置新的定时器
  209. this.timeout = setTimeout(() => {
  210. this.formedNumLast = e.detail.value;
  211. this.initFn(this.selectList);
  212. }, 500) // 500毫秒后触发
  213. },
  214. changeUserType(e) {
  215. console.log(e);
  216. this.text = e.text;
  217. this.value = e.value;
  218. this.selectList = e.arr;
  219. this.initFn(e.arr);
  220. },
  221. groupBy(arr, key) {
  222. return arr.reduce((acc, obj) => {
  223. const groupKey = obj[key];
  224. if (!acc[groupKey]) {
  225. acc[groupKey] = [];
  226. }
  227. console.log();
  228. acc[groupKey].push(obj);
  229. return acc;
  230. }, {});
  231. },
  232. async packageDispositionFn() {
  233. console.log(this.newCategoryId,'555555555555');
  234. let that = this;
  235. const res = await packageDisposition(this.newCategoryId);
  236. if (res.length) {
  237. res.shift();
  238. let data = JSON.parse(JSON.stringify(res));
  239. let list = this.groupBy(data, 'code');
  240. this.localdataList = [];
  241. Object.entries(list).forEach(([key, value]) => {
  242. let obj = {
  243. text: value[0].name,
  244. arr: value,
  245. value: key
  246. }
  247. this.localdataList.push(obj);
  248. });
  249. this.Usertype = this.localdataList[0].value;
  250. this.text = this.localdataList[0].text;
  251. this.value =this.localdataList[0].value;
  252. res.map(v => {
  253. v.splitList = [];
  254. })
  255. this.newDispositionList = res;
  256. this.selectList = res;
  257. this.initFn(this.localdataList[0].arr);
  258. // this.listFn(this.localdataList[0].arr);
  259. }
  260. },
  261. initFn(v) {
  262. if (v.length) {
  263. this.withinQuantity = v[1].packageCell;//内包装数量
  264. this.withinUnit = v[1].conversionUnit;//内包装单位
  265. this.outsideQuantity = v[2].packageCell;//外包装数量
  266. this.outsideUnit = v[2].conversionUnit;//外包装单位
  267. this.minimumUnit = v[0].conversionUnit;
  268. };
  269. console.log('几次',v);
  270. this.handleSplit(v[0]);
  271. },
  272. async listFn(res) {
  273. let { minimumPackage, withinQuantity, outsidePackage, outsideQuantity, withinPackage } = res;
  274. let textList = ['最小包装', '内包装', '外包装'];
  275. let arr = [{ list: minimumPackage }, { list: withinPackage, num: withinQuantity }, { list: outsidePackage, num: outsideQuantity }];
  276. this.minimumPackage= minimumPackage;// 最小包装
  277. this.withinPackage= withinPackage;// 内包装
  278. this.outsidePackage= outsidePackage; //外包装
  279. this.newDispositionList.map((v, i) => {
  280. v.splitList = arr[i].list;
  281. v.titel = textList[i];
  282. if (i == 0) {
  283. v.formedNumLast = this.formedNumLast;
  284. } else {
  285. v.formedNumLast = arr[i].num;
  286. }
  287. })
  288. this.$nextTick(() => {
  289. console.log(this.DispositionList, '我是啥来着');
  290. this.$set(this, 'DispositionList', this.newDispositionList);
  291. })
  292. },
  293. sunNum(v, i) {
  294. let _this = this;
  295. this.$nextTick(() => {
  296. switch (i) {
  297. case 0:
  298. console.log(_this.formedNumLast);
  299. return _this.formedNumLast;
  300. case 1:
  301. return v.splitList.length || 0
  302. case 2:
  303. return v.splitList.length || 0
  304. }
  305. })
  306. },
  307. byCode() {
  308. getByCode('packing_unit').then(res => {
  309. this.unitList = []
  310. res.forEach((obj, index) => {
  311. for (let key in obj) {
  312. if (obj.hasOwnProperty(key)) { // 确保key是对象自身的属性
  313. this.unitList.push({
  314. Key: `${key}`,
  315. Value: ` ${obj[key]}`
  316. })
  317. }
  318. }
  319. });
  320. })
  321. },
  322. getPackingDetails() {
  323. let param = {
  324. workOrderId: this.workOrderId,
  325. taskId: this.taskId,
  326. tier: 1
  327. }
  328. getPackingReport(param).then(res => {
  329. this.splitList = res.detailList
  330. this.formedNumLast = res.totalQuantity
  331. this.quantity = res.quantity
  332. this.unit = res.unit
  333. })
  334. },
  335. handCancelPacking() {
  336. uni.showModal({
  337. title: `是否清空包装?`,
  338. content: "",
  339. confirmText: "确认",
  340. success: () => {
  341. let param = {
  342. workOrderId: this.workOrderId,
  343. taskId: this.taskId,
  344. }
  345. cancelPacking(param).then(res => {
  346. this.getPackingDetails()
  347. this.getPackingDetailsTwo()
  348. })
  349. },
  350. })
  351. },
  352. // 第一次调用
  353. handleSplit(v) {
  354. if (this.splitList.length) {
  355. uni.showToast({
  356. title: '产品已分包',
  357. icon: 'none'
  358. })
  359. return false
  360. }
  361. // if (!this.formedNumLast) {
  362. // uni.showToast({
  363. // title: '包装总数数量不能为空',
  364. // icon: 'none'
  365. // })
  366. // return false
  367. // }
  368. if (!v.packageCell) {
  369. uni.showToast({
  370. title: '内包装单元数量不能为空',
  371. icon: 'none'
  372. })
  373. return false
  374. }
  375. if (!v.packageUnit) {
  376. uni.showToast({
  377. title: '请选择包装单位',
  378. icon: 'none'
  379. })
  380. return false
  381. }
  382. let param = {
  383. workOrderId: this.workOrderId,//工单id
  384. taskId: this.taskId,
  385. tier: 1,
  386. totalQuantity: this.formedNumLast,//总数量
  387. quantity: v.packageCell,//数量
  388. unit: v.packageUnit,//单位
  389. minimumUnit:this.minimumUnit,//最小包装单位
  390. withinQuantity: this.withinQuantity,//内包装数量
  391. withinUnit: this.withinUnit,//内包装单位
  392. outsideQuantity: this.outsideQuantity,//外包装数量
  393. outsideUnit: this.outsideUnit,//外包装单位
  394. packageUnit: v.conversionUnit,
  395. }
  396. packingReport(param).then(res => {
  397. this.listFn(res);
  398. })
  399. },
  400. handleCheck(idx, it) {
  401. if (it.quantity <= 0) {
  402. uni.showToast({
  403. icon: 'none',
  404. title: '数量为空不能勾选'
  405. })
  406. return false
  407. }
  408. this.$set(this.splitList[idx], 'check', it.check ? 0 : 1)
  409. this.temporaryList = []
  410. this.temporaryList = this.splitList.filter(e => {
  411. return e.check == 1
  412. })
  413. this.temporaryNum = 0
  414. this.temporaryCount = 0
  415. if (this.temporaryList.length > 0) {
  416. this.temporaryList.forEach(e => {
  417. this.temporaryNum = this.temporaryNum + 1
  418. this.temporaryCount = this.temporaryCount + Number(e.quantity)
  419. })
  420. }
  421. },
  422. handclose(it) {
  423. this.splitList.forEach(f => {
  424. if (f.computeSize == it.computeSize) {
  425. f.check = 0
  426. }
  427. })
  428. this.temporaryList = []
  429. this.temporaryList = this.splitList.filter(e => {
  430. return e.check == 1
  431. })
  432. },
  433. getPackingDetailsTwo(v) {
  434. console.log(v);
  435. let param = {
  436. totalQuantity: v.formedNumLast,
  437. quantity: v.packageCell,
  438. unit: v.conversionUnit,
  439. workOrderId: this.workOrderId,
  440. taskId: this.taskId,
  441. tier: 2,
  442. }
  443. getPackingReportRepeat(param).then(res => {
  444. resolve(res.detailList)
  445. })
  446. },
  447. handlePack(v, s) {
  448. let _arr = []
  449. _arr = s.map(m => {
  450. return {
  451. ...m,
  452. isChecked: 1
  453. }
  454. })
  455. console.log(_arr, '123');
  456. let param = {
  457. detailList: _arr,
  458. quantity: v.temporaryCount,
  459. totalQuantity: v.formedNumLast,
  460. unit: v.packageUnit,
  461. taskId: this.taskId,
  462. workOrderId: this.workOrderId,
  463. tier: 2
  464. }
  465. return new Promise((resolve, reject) => {
  466. packingReportRepeat(param).then(res => {
  467. console.log(res);
  468. // this.temporaryList = []
  469. this.getPackingDetails()
  470. // this.getPackingDetailsTwo()
  471. })
  472. })
  473. },
  474. scrolltolower() {
  475. },
  476. getData() {
  477. let _packingReportMarginList = []
  478. _packingReportMarginList = this.splitList.filter(e => {
  479. return !e.parentId
  480. })
  481. console.log(this.DispositionList);
  482. let packInfo = {
  483. // this.DispositionList[0]
  484. specText : this.text,
  485. specValue : this.value,
  486. minimumPackage: this.minimumPackage,// 最小包装
  487. minimumPackageCell: this.DispositionList[0].packageCell,// 最小包装
  488. minimumPackageUnit: this.DispositionList[0].packageUnit,// 最小包装单位
  489. minimumConversionUnit: this.DispositionList[0].conversionUnit,// 最小包装单位
  490. minimumFormedNumLast : this.DispositionList[0].formedNumLast,// 总包装数量
  491. withinPackage: this.withinPackage,// 内包装
  492. withinPackageCell: this.DispositionList[1].packageCell,// 最小包装名称
  493. withinPackageUnit: this.DispositionList[1].packageUnit,// 最小包装单位
  494. withinConversionUnit: this.DispositionList[1].conversionUnit,// 最小包装单位
  495. withinFormedNumLast : this.DispositionList[1].formedNumLast,// 总包装数量
  496. // packingReportList: this.packTwoList,
  497. // packingReportMarginList: _packingReportMarginList,
  498. outsidePackage: this.outsidePackage, //外包装
  499. outsidePackageCell: this.DispositionList[2].packageCell,// 最小包装名称
  500. outsidePackageUnit: this.DispositionList[2].packageUnit,// 最小包装单位
  501. outsideConversionUnit: this.DispositionList[2].conversionUnit,// 最小包装单位
  502. outsideFormedNumLast : this.DispositionList[2].formedNumLast,// 总包装数量
  503. }
  504. return packInfo
  505. },
  506. calculation() {
  507. this.show = true
  508. },
  509. calculationSave() {
  510. let count = this.splitList.filter(item => item.isChecked != 1).length;
  511. if (this.formData.wPackNum <= count && count != 0) {
  512. for (let i = 0; i < this.formData.wPackNum; i++) {
  513. this.splitList[i].check = 1
  514. }
  515. this.handleCheck(0, 0)
  516. this.calculationClose()
  517. } else {
  518. if (count != 0) {
  519. for (let i = 0; i < count; i++) {
  520. this.splitList[i].check = 1
  521. }
  522. this.handleCheck(0, 0)
  523. this.calculationClose()
  524. }
  525. uni.showToast({
  526. icon: 'none',
  527. title: '外包装数超出内包装条数'
  528. })
  529. }
  530. },
  531. calculationClose() {
  532. this.show = false
  533. },
  534. calculationReset() {
  535. this.formData.wPackNum = null
  536. this.splitList.forEach(f => {
  537. f.check = null
  538. })
  539. this.temporaryList = []
  540. this.show = false
  541. }
  542. },
  543. }
  544. </script>
  545. <style lang="scss" scoped>
  546. .title_box {
  547. margin-top: 20rpx;
  548. .ww20 {
  549. width: 20%;
  550. }
  551. .name {
  552. font-size: 28rpx;
  553. font-style: normal;
  554. font-weight: 400;
  555. color: $theme-color;
  556. padding-left: 20rpx;
  557. position: relative;
  558. &:before {
  559. position: absolute;
  560. content: '';
  561. left: 0rpx;
  562. top: 0rpx;
  563. bottom: 0rpx;
  564. width: 4rpx;
  565. height: 28rpx;
  566. background: $theme-color;
  567. margin: auto;
  568. }
  569. }
  570. .btn_box {
  571. color: $theme-color;
  572. }
  573. }
  574. .material {
  575. margin-top: 10rpx;
  576. .content_table {
  577. width: 100%;
  578. border: 2rpx solid $border-color;
  579. .item {
  580. display: flex;
  581. border-bottom: 2rpx solid $border-color;
  582. .lable {
  583. width: 132rpx;
  584. text-align: center;
  585. background-color: #F7F9FA;
  586. font-size: 26rpx;
  587. border-right: 2rpx solid $border-color;
  588. flex-shrink: 0;
  589. }
  590. .lable220 {
  591. width: 220rpx !important;
  592. font-size: 24rpx;
  593. }
  594. .lable150 {
  595. width: 156rpx !important;
  596. font-size: 24rpx;
  597. }
  598. .ww80 {
  599. width: 80rpx;
  600. }
  601. .content {
  602. width: 518rpx;
  603. min-height: 64rpx;
  604. font-size: 28rpx;
  605. line-height: 28rpx;
  606. font-style: normal;
  607. font-weight: 400;
  608. // padding: 18rpx 8rpx;
  609. box-sizing: border-box;
  610. word-wrap: break-word;
  611. flex-grow: 1 !important;
  612. .unit {
  613. padding: 0 4rpx;
  614. font-size: 24rpx;
  615. color: #404446;
  616. }
  617. }
  618. &:last-child {
  619. border-bottom: none;
  620. }
  621. }
  622. .ww55 {
  623. width: 55%;
  624. }
  625. .ww45 {
  626. width: 45%;
  627. }
  628. }
  629. }
  630. .content_table2 {
  631. width: 100%;
  632. margin-top: 16rpx;
  633. .row {
  634. width: 100%;
  635. .item {
  636. color: #404446;
  637. font-size: 28rpx;
  638. padding-left: 12rpx;
  639. }
  640. .color157 {
  641. color: $theme-color;
  642. }
  643. .ww30 {
  644. width: 30%;
  645. }
  646. .ww50 {
  647. width: 50%;
  648. }
  649. .ww90 {
  650. width: 90%;
  651. }
  652. .ww15 {
  653. width: 15%;
  654. }
  655. .ww10 {
  656. width: 10%;
  657. }
  658. .ww30 {
  659. width: 30%;
  660. }
  661. .ww20 {
  662. width: 20%;
  663. }
  664. .ww40 {
  665. width: 40%;
  666. }
  667. .jsColor {
  668. color: $theme-color;
  669. font-size: 20rpx;
  670. }
  671. }
  672. .head {
  673. height: 64rpx;
  674. background: #F7F9FA;
  675. border-top: 2rpx solid #E3E5E5;
  676. border-left: 2rpx solid #E3E5E5;
  677. .item {
  678. height: 64rpx;
  679. line-height: 64rpx;
  680. border-right: 2rpx solid #E3E5E5;
  681. box-sizing: border-box;
  682. }
  683. }
  684. .tr {
  685. border-top: 2rpx solid #E3E5E5;
  686. border-left: 2rpx solid #E3E5E5;
  687. .item {
  688. font-size: 24rpx;
  689. min-height: 64rpx;
  690. display: flex;
  691. align-items: center;
  692. border-right: 2rpx solid #E3E5E5;
  693. box-sizing: border-box;
  694. white-space: normal;
  695. word-break: break-all;
  696. }
  697. &:last-child {
  698. border-bottom: 2rpx solid #E3E5E5;
  699. }
  700. }
  701. }
  702. .label {
  703. display: flex;
  704. height: 70rpx;
  705. width: 86px !important;
  706. font-size: 13px;
  707. align-items: center;
  708. justify-content: center;
  709. background-color: #F7F9FA;
  710. }
  711. .content_num {
  712. display: flex;
  713. align-items: center;
  714. padding: 0 4rpx;
  715. /deep/ .uni-input-input {
  716. border: 2rpx solid #F0F8F2;
  717. background: #F0F8F2;
  718. color: $theme-color;
  719. }
  720. }
  721. .penalize {
  722. width: 86rpx;
  723. line-height: 60rpx;
  724. background: $theme-color;
  725. font-size: 24rpx;
  726. text-align: center;
  727. color: #fff;
  728. }
  729. .check {
  730. width: 30rpx;
  731. height: 30rpx;
  732. }
  733. .z_list {
  734. max-height: 500rpx;
  735. }
  736. .search_list {
  737. min-height: 100rpx;
  738. width: 80vw;
  739. /deep/ .baseForm {
  740. padding: 0 20rpx;
  741. }
  742. }
  743. .operate_box {
  744. padding: 10rpx 32rpx;
  745. /deep/ .u-button {
  746. width: 30%;
  747. }
  748. }
  749. </style>