packingBom.vue 18 KB

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