packingBom.vue 18 KB

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