semiProductJobBom.vue 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021
  1. <template>
  2. <view>
  3. <view class="title_box rx-bc">
  4. <view class="name"> 报工信息: ({{list.length || 0}})个</view>
  5. </view>
  6. <view :class="['material', it.extInfo.reportWeight && it.extInfo.reportWeight && 'materialBor']"
  7. v-for="(it, idx) in list" :key="idx">
  8. <view class="content_table">
  9. <view class="item rx-sc">
  10. <view class="rx">
  11. <view class="lable lable190 rx-cc " @click="getDelete2(idx)">
  12. <view class="round">{{idx + 1}}</view>
  13. <uni-icons custom-prefix="iconfont" type="icon-shanchu" size="16"
  14. color="#fa3534"></uni-icons>
  15. 物料编码
  16. </view>
  17. <view class="content rx-bc">
  18. <view>{{it.code}} </view>
  19. <view class="tag_box"
  20. v-if="Object.prototype.hasOwnProperty.call(it, 'extInfo') && Object.prototype.hasOwnProperty.call(it.extInfo, 'productionTimes') && Object.prototype.hasOwnProperty.call(it.extInfo.productionTimes,item.currentTaskDiagram.taskId) ">
  21. {{ it.extInfo.productionTimes[item.currentTaskDiagram.taskId]}}
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="item rx-sc">
  27. <view class="rx">
  28. <view class="lable lable150 rx-cc ">名称</view>
  29. <view class="content rx-bc">
  30. <view>{{it.name}} <text v-if="[2, 23,9,28].includes(Number(it.rootCategoryLevelId))">
  31. ({{it.rootCategoryLevelId == 2 ? '在制品' : it.rootCategoryLevelId == 23 ? '半成品' : it.rootCategoryLevelId == 9 ? '产品' : it.rootCategoryLevelId == 28 ? '废品' : '' }})
  32. </text> </view>
  33. <view class="rx-ec">
  34. <view class="tag_box " v-if="it.isCache" style="margin-right: -36rpx; margin-right: 4rpx;">缓</view>
  35. <view class="tag_box " v-if="Object.prototype.hasOwnProperty.call(it.extInfo, 'isOutsource') && it.extInfo.isOutsource == 1" style="margin-right: -36rpx;">委外</view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="item rx-sc">
  41. <view class="rx">
  42. <view class="lable lable150 rx-cc ">型号</view>
  43. <view class="content rx-sc">
  44. <view>{{it.modelType}}</view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="item rx-sc">
  49. <view class="rx ww50 ">
  50. <view class="lable lable150 rx-cc ">物料代号</view>
  51. <view class="content content_num">
  52. <view v-if='isDetails'>{{it.extInfo.materielCode }}</view>
  53. <input class="uni-input" v-else v-model="it.extInfo.materielCode"></input>
  54. </view>
  55. </view>
  56. <view class="rx ww50">
  57. <view class="lable lable150 rx-cc ">客户代号</view>
  58. <view class="content content_num">
  59. <view v-if='isDetails'>{{it.extInfo.clientCode }}</view>
  60. <input class="uni-input" v-else v-model="it.extInfo.clientCode"></input>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="item rx-sc">
  65. <view class="rx ww50 ">
  66. <view class="lable lable150 rx-cc ">刻码</view>
  67. <view class="content content_num ">
  68. <view v-if='isDetails'>{{it.extInfo.engrave }}</view>
  69. <input class="uni-input" v-else v-model="it.extInfo.engrave"></input>
  70. </view>
  71. </view>
  72. <view class="rx ww50">
  73. <view class="lable lable150 rx-cc ">位置</view>
  74. <view class="content content_num">
  75. <view v-if='isDetails'>{{it.extInfo.position }}</view>
  76. <input class="uni-input" v-else v-model="it.extInfo.position"></input>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="item rx-sc">
  81. <view class="rx ww50">
  82. <view class="lable lable150 rx-cc ">设备</view>
  83. <view class="content ">
  84. <view>{{ it.deviceName || it.extInfo.deviceName }}</view>
  85. </view>
  86. </view>
  87. <view class="rx ww50">
  88. <view class="lable lable150 rx-cc ">炉次号</view>
  89. <view class="content content_num ">
  90. <view v-if='isDetails'>{{it.extInfo.heatNumber }}</view>
  91. <input class="uni-input" v-else v-model="it.extInfo.heatNumber"></input>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="item rx-sc">
  96. <view class="rx ww50">
  97. <view class="lable lable150 rx-cc ">是否合格</view>
  98. <view class="content content_num">
  99. <zxz-uni-data-select :localdata="isQualifiedList" v-model="it.extInfo.isQualified"
  100. dataValue='code' format='{name}' dataKey="code" filterable :disabled="isDetails"
  101. :clear='false'></zxz-uni-data-select>
  102. </view>
  103. </view>
  104. <!-- <view class="rx ww50" v-if="it.extInfo.isQualified && it.extInfo.isQualified == 2">
  105. <view class="lable lable150 rx-cc ">类型</view>
  106. <view class="content content_num">
  107. <zxz-uni-data-select :localdata="notTypeList" v-model="it.extInfo.notType" dataValue='code'
  108. format='{name}' dataKey="code" filterable :disabled="isDetails"
  109. :clear='false'></zxz-uni-data-select>
  110. </view>
  111. </view> -->
  112. </view>
  113. <!-- <view class="item rx-sc" v-if="it.extInfo.isQualified != 1 && it.extInfo.notType != 5 ">
  114. <view class="rx ">
  115. <view class="lable lable150 rx-cc ">原因</view>
  116. <view class="content content_num">
  117. <view v-if='isDetails'>{{it.extInfo.notReason }}</view>
  118. <input class="uni-input" v-else v-model="it.extInfo.notReason"></input>
  119. </view>
  120. </view>
  121. </view> -->
  122. </view>
  123. <view class="content_table2" v-if="![1,2,3,4].includes(Number(it.extInfo.notType))">
  124. <view class="head row rx-sc">
  125. <view class="item ww25" style="font-size: 20rpx;">{{it.extInfo.newWeight ? '上道工序重量' : '物料重量' }}
  126. {{it.extInfo.weightUnit}}
  127. </view>
  128. <view class="item ww25">报工重量{{it.extInfo.weightUnit}}</view>
  129. <view class="item ww25" v-if="isFirstTask == 1">质检结果
  130. </view>
  131. <view class="item ww25" :class="[ isFirstTask == 1 ? 'ww25' : 'ww50' ]">处置
  132. </view>
  133. </view>
  134. <view class="table">
  135. <view class="tr row rx-sc">
  136. <view class="item ww25"
  137. v-if="Object.prototype.hasOwnProperty.call(it.extInfo, 'newWeight') && it.extInfo.newWeight">
  138. {{ it.extInfo.newWeight }}
  139. </view>
  140. <view class="item ww25 content_num"
  141. v-if="!Object.prototype.hasOwnProperty.call(it.extInfo, 'newWeight') || it.extInfo.newWeight == null || it.extInfo.newWeight == 0 ">
  142. <input class="uni-input " v-model="it.extInfo.weight" type='digit'></input>
  143. </view>
  144. <view class="item ww25 content_num">
  145. <view v-if='isDetails'>{{it.extInfo.reportWeight }}</view>
  146. <input class="uni-input" v-else v-model="it.extInfo.reportWeight" type='digit'></input>
  147. </view>
  148. <view class="item ww25" @click="openNumerate(it, idx)" v-if="isFirstTask == 1">
  149. <view class="numerate">点击计算</view>
  150. </view>
  151. <view class="item" v-if='isDetails' :class="[ isFirstTask == 1 ? 'ww25' : 'ww50' ]">
  152. {{it.extInfo.taskName}}
  153. </view>
  154. <view class="item " v-else :class="[ isFirstTask == 1 ? 'ww25' : 'ww50' ]">
  155. <zxz-uni-data-select :localdata="stepsList" v-model="it.extInfo.taskId" dataValue='taskId'
  156. format='{taskTypeName}' dataKey="taskId" filterable
  157. @change=" e => it.extInfo.taskName = e.taskTypeName"
  158. :clear='false'></zxz-uni-data-select>
  159. </view>
  160. </view>
  161. </view>
  162. </view>
  163. </view>
  164. <u-popup :show="show" mode='center' v-if='show' :closeOnClickOverlay='false'>
  165. <view class="popup_box">
  166. <view class="title_box rx-bc">
  167. <view class="name">工序计算列表</view>
  168. <view class="btn_box rx-ec">
  169. <view class="btn" @click="handAddParam">新增</view>
  170. </view>
  171. </view>
  172. <view class="content_table2">
  173. <view class="head row rx-sc">
  174. <view class="item ww30">工序名称</view>
  175. <view class="item ww20">坯体密度</view>
  176. <view class="item ww20">密度系数</view>
  177. <view class="item ww20">重量</view>
  178. <view class="item ww10">操作</view>
  179. </view>
  180. <view class="table">
  181. <view class="tr row rx-sc" v-for="(it, idx) in paramList" :key='idx'>
  182. <view class="item rx-bc ww30">
  183. <zxz-uni-data-select :localdata="stepsList" v-model="it.taskId" dataValue='taskId'
  184. format='{taskTypeName}' dataKey="taskId" filterable
  185. @change=" e => it.taskName = e.taskTypeName" :clear='false'></zxz-uni-data-select>
  186. </view>
  187. <view class="item ww20 content_num">
  188. <input class="uni-input" v-model="it.billet" type="digit"
  189. @input="changeInp(it, idx)"></input>
  190. </view>
  191. <view class="item ww20 content_num">
  192. <input class="uni-input" v-model="it.density" type="digit"
  193. @input="changeInp(it, idx)"></input>
  194. </view>
  195. <view class="item ww20" v-if=" (idx == 0 || idx != paramList.length - 1)">
  196. < {{it.CVIWeight}} </view>
  197. <view class="item ww20" v-if=" paramList.length > 1 && idx == paramList.length - 1">
  198. ≥ {{it.CVIWeight }}
  199. </view>
  200. <view class="item ww10 rx-cc" @click="getDelete(idx)">
  201. <uni-icons custom-prefix="iconfont" type="icon-shanchu" size="20"
  202. color="#fa3534"></uni-icons>
  203. </view>
  204. </view>
  205. </view>
  206. <view class="formula_box">计算公式: 物料重量/坯体密度*密度系数 </view>
  207. <view class="rx-cc">
  208. <u-button size="small" class="u-reset-button" style="width: 300rpx;margin: 20rpx;"
  209. type="success" @click="paramSave">工序列表保存</u-button>
  210. </view>
  211. <view class="reportWeight rx-sc">
  212. 物料重量: {{weight}} ;
  213. 报工重量: {{reportWeight}}
  214. </view>
  215. </view>
  216. <view class="operate_box rx-sc">
  217. <u-button size="small" class="u-reset-button" @click="cancel">取消</u-button>
  218. <u-button size="small" class="u-reset-button" type="success" @click="save">确定</u-button>
  219. </view>
  220. </view>
  221. </u-popup>
  222. </view>
  223. </template>
  224. <script>
  225. import {
  226. getTaskInstanceList
  227. } from '@/api/pda/workOrder.js'
  228. import {
  229. saveParam,
  230. getComputeParam
  231. } from '@/api/pda/tangu.js'
  232. export default {
  233. props: {
  234. item: {
  235. type: Object,
  236. default: () => {}
  237. },
  238. list: {
  239. type: Array,
  240. default: () => []
  241. },
  242. isDetails: {
  243. type: Boolean,
  244. default: false
  245. },
  246. equipmentList: {
  247. type: Array,
  248. default: () => []
  249. },
  250. },
  251. watch: {
  252. equipmentList: {
  253. immediate: true,
  254. deep: true,
  255. handler(newVal) {
  256. this.deviceList = newVal
  257. this.changeHeatNumber()
  258. }
  259. },
  260. },
  261. data() {
  262. return {
  263. taskTypeName: null,
  264. isFirstTask: null,
  265. stepsList: [],
  266. show: false,
  267. rowIt: [],
  268. paramList: [],
  269. paramObj: {},
  270. weight: 0,
  271. reportWeight: 0,
  272. resultObj: {},
  273. resultIdx: 0,
  274. deviceList: [],
  275. isQualifiedList: [{
  276. code: '1',
  277. name: '合格'
  278. },
  279. {
  280. code: '2',
  281. name: '不合格'
  282. }
  283. ],
  284. notTypeList: [{
  285. code: "1",
  286. name: '返工'
  287. },
  288. {
  289. code: "2",
  290. name: '返修'
  291. },
  292. {
  293. code: "3",
  294. name: '报废'
  295. },
  296. {
  297. code: '4',
  298. name: '降级使用'
  299. },
  300. {
  301. code: "5",
  302. name: '让步接收'
  303. }
  304. ]
  305. }
  306. },
  307. created() {
  308. this.taskTypeName = this.item.currentTaskDiagram.taskTypeName
  309. this.isFirstTask = this.item.currentTaskDiagram.isFirstTask
  310. this.getSteps()
  311. this.getCompute()
  312. },
  313. methods: {
  314. getSteps() {
  315. getTaskInstanceList(this.item.workOrderId).then(res => {
  316. res.pop();
  317. this.stepsList = res
  318. })
  319. },
  320. getCompute() {
  321. getComputeParam(this.item.workOrderId, this.item.currentTaskDiagram.taskId).then(res => {
  322. this.paramList = []
  323. this.paramList = res && res.paramList || []
  324. this.paramObj = res || {}
  325. })
  326. },
  327. handAddParam() {
  328. // billet: null,
  329. // density: null,
  330. // result: null,
  331. // PIPDensity: null,
  332. // volume: null,
  333. // coefficient: null
  334. if (this.isFirstTask == 1) {
  335. this.paramList.push({
  336. taskId: null,
  337. taskName: null,
  338. })
  339. }
  340. },
  341. getDelete(idx) {
  342. this.paramList.splice(idx, 1)
  343. },
  344. changeInp(item, index) {
  345. if (Number(item.billet) && Number(item.density)) {
  346. this.paramList[index].CVIWeight = (Number(this.weight) / item.billet * item.density).toFixed(2)
  347. }
  348. },
  349. paramSave() {
  350. if (this.isFirstTask == 1 && this.paramList.length > 0) {
  351. let bol
  352. let _i
  353. bol = this.paramList.every((e, i) => {
  354. _i = i + 1
  355. return e.taskId && e.billet && e.density
  356. })
  357. if (!bol) {
  358. uni.showToast({
  359. title: `请完善第${_i}计算数据`,
  360. icon: 'none'
  361. })
  362. return false
  363. }
  364. if (this.paramList.length < 1) {
  365. uni.showToast({
  366. title: `请输入二个以上计算数据`,
  367. icon: 'none'
  368. })
  369. return false
  370. }
  371. }
  372. let param = {}
  373. if (!Object.prototype.hasOwnProperty.call(this.paramObj, 'id')) {
  374. param = {
  375. paramList: this.paramList,
  376. workOrderId: this.item.workOrderId,
  377. taskId: this.item.currentTaskDiagram.taskId
  378. }
  379. } else {
  380. this.paramObj.paramList = this.paramList
  381. param = this.paramObj
  382. }
  383. saveParam(param).then(res => {
  384. uni.showToast({
  385. icon: 'none',
  386. title: '操作成功'
  387. })
  388. this.getCompute()
  389. })
  390. },
  391. openNumerate(row, idx) {
  392. if (!row.extInfo.reportWeight) {
  393. uni.showToast({
  394. icon: 'none',
  395. title: '请先输入报工重量'
  396. })
  397. return false
  398. }
  399. this.weight = row.extInfo.weight
  400. this.reportWeight = row.extInfo.reportWeight
  401. this.resultIdx = idx
  402. this.show = true
  403. },
  404. cancel() {
  405. this.show = false
  406. this.reportWeight = 0
  407. this.weight = 0
  408. },
  409. taskChange(e) {
  410. console.log(e)
  411. },
  412. getDelete2(idx) {
  413. uni.showModal({
  414. title: '删除',
  415. content: '是否确实删除此物料!',
  416. confirmText: '确认', //这块是确定按钮的文字
  417. success: rr => {
  418. if (rr.confirm) {
  419. this.list.splice(idx, 1)
  420. }
  421. }
  422. })
  423. },
  424. save() {
  425. if (this.isFirstTask == 1) {
  426. this.resultObj = {}
  427. if (Number(this.reportWeight) < Number(this.paramList[0].CVIWeight)) {
  428. this.resultObj = this.paramList[0]
  429. this.setDataSave()
  430. return false
  431. }
  432. if (Number(this.reportWeight) >= this.paramList[this.paramList.length - 1].CVIWeight) {
  433. this.resultObj = this.paramList[this.paramList.length - 1]
  434. this.setDataSave()
  435. return false
  436. }
  437. for (let i = 1; i < this.paramList.length; i++) {
  438. console.log(i)
  439. console.log(11, Number(this.paramList[i - 1].CVIWeight), Number(this.reportWeight))
  440. if (Number(this.paramList[i - 1].CVIWeight) < Number(this.reportWeight) && Number(this
  441. .reportWeight) < Number(this.paramList[i].CVIWeight)) {
  442. this.resultObj = this.paramList[i]
  443. break;
  444. }
  445. }
  446. this.setDataSave()
  447. }
  448. },
  449. setDataSave() {
  450. this.$set(this.list[this.resultIdx].extInfo, 'taskId', this.resultObj.taskId)
  451. this.$set(this.list[this.resultIdx].extInfo, 'density', this.resultObj.density)
  452. this.$set(this.list[this.resultIdx].extInfo, 'billet', this.resultObj.billet)
  453. this.$set(this.list[this.resultIdx].extInfo, 'taskName', this.resultObj.taskName)
  454. this.cancel()
  455. },
  456. changeHeatNumber() {
  457. console.log(this.deviceList)
  458. this.deviceList.forEach(f => {
  459. this.list.forEach(o => {
  460. if (o.deviceId && f.instanceId == o.deviceId && this.deviceList.length > 1) {
  461. o.extInfo.heatNumber = f.extInfo.heatNumber
  462. this.$forceUpdate()
  463. } else if (this.deviceList.length == 1) {
  464. o.extInfo.heatNumber = this.deviceList[0].extInfo.heatNumber
  465. this.$forceUpdate()
  466. }
  467. })
  468. })
  469. },
  470. }
  471. }
  472. </script>
  473. <style lang="scss" scoped>
  474. .title_box {
  475. margin-top: 20rpx;
  476. .name {
  477. font-size: 28rpx;
  478. font-style: normal;
  479. font-weight: 400;
  480. color: $theme-color;
  481. padding-left: 20rpx;
  482. position: relative;
  483. &:before {
  484. position: absolute;
  485. content: '';
  486. left: 0rpx;
  487. top: 0rpx;
  488. bottom: 0rpx;
  489. width: 4rpx;
  490. height: 28rpx;
  491. background: $theme-color;
  492. margin: auto;
  493. }
  494. }
  495. .btn_box {
  496. .btn {
  497. padding: 0 18rpx;
  498. height: 50rpx;
  499. line-height: 50rpx;
  500. background: $theme-color;
  501. font-size: 26rpx;
  502. font-style: normal;
  503. font-weight: 400;
  504. font-size: 24rpx;
  505. color: #fff;
  506. border-radius: 4rpx;
  507. margin-left: 24rpx;
  508. }
  509. }
  510. }
  511. .material {
  512. margin-top: 16rpx;
  513. border: 1rpx solid transparent;
  514. .content_table {
  515. width: 100%;
  516. border: 2rpx solid $border-color;
  517. box-sizing: border-box;
  518. .item {
  519. display: flex;
  520. border-bottom: 2rpx solid $border-color;
  521. .lable {
  522. width: 132rpx;
  523. text-align: center;
  524. background-color: #F7F9FA;
  525. font-size: 26rpx;
  526. border-right: 2rpx solid $border-color;
  527. flex-shrink: 0;
  528. }
  529. .lable150 {
  530. width: 156rpx !important;
  531. font-size: 24rpx;
  532. }
  533. .lable190 {
  534. width: 200rpx !important;
  535. font-size: 24rpx;
  536. }
  537. .ww80 {
  538. width: 80rpx;
  539. }
  540. .content {
  541. width: 518rpx;
  542. min-height: 64rpx;
  543. font-size: 28rpx;
  544. line-height: 28rpx;
  545. font-style: normal;
  546. font-weight: 400;
  547. padding: 18rpx 8rpx;
  548. box-sizing: border-box;
  549. word-wrap: break-word;
  550. flex-grow: 1 !important;
  551. .unit {
  552. padding: 0 4rpx;
  553. font-size: 24rpx;
  554. color: #404446;
  555. }
  556. .penalize {
  557. width: 160rpx;
  558. line-height: 60rpx;
  559. background: $theme-color;
  560. font-size: 24rpx;
  561. text-align: center;
  562. color: #fff;
  563. }
  564. }
  565. .content_H {
  566. min-height: 92rpx;
  567. }
  568. .pd4 {
  569. padding: 4rpx 8rpx;
  570. }
  571. &:last-child {
  572. border-bottom: none;
  573. }
  574. }
  575. .ww55 {
  576. width: 55%;
  577. }
  578. .ww50 {
  579. width: 50%;
  580. }
  581. .ww45 {
  582. width: 45%;
  583. }
  584. .tag_box {
  585. padding: 2rpx 10rpx;
  586. margin-right: 12rpx;
  587. background: #E6A23C;
  588. font-size: 22rpx;
  589. color: #fff;
  590. border-radius: 4rpx;
  591. }
  592. }
  593. }
  594. .materialBor {
  595. border: 1rpx solid #157A2C
  596. }
  597. .content_table2 {
  598. width: 100%;
  599. .row {
  600. width: 100%;
  601. .item {
  602. color: #404446;
  603. font-size: 28rpx;
  604. padding-left: 12rpx;
  605. }
  606. .color157 {
  607. color: $theme-color;
  608. }
  609. .ww30 {
  610. width: 30%;
  611. }
  612. .ww20 {
  613. width: 20%;
  614. }
  615. .ww15 {
  616. width: 15%;
  617. }
  618. .ww25 {
  619. width: 25%;
  620. }
  621. .ww50 {
  622. width: 50%;
  623. }
  624. .ww10 {
  625. width: 10%;
  626. }
  627. }
  628. .head {
  629. height: 64rpx;
  630. background: #F7F9FA;
  631. // border-top: 2rpx solid #E3E5E5;
  632. border-left: 2rpx solid #E3E5E5;
  633. box-sizing: border-box;
  634. .item {
  635. height: 64rpx;
  636. line-height: 64rpx;
  637. border-right: 2rpx solid #E3E5E5;
  638. box-sizing: border-box;
  639. font-size: 22rpx;
  640. }
  641. }
  642. .tr {
  643. border-top: 2rpx solid #E3E5E5;
  644. border-left: 2rpx solid #E3E5E5;
  645. .item {
  646. font-size: 24rpx;
  647. min-height: 74rpx;
  648. display: flex;
  649. align-items: center;
  650. border-right: 2rpx solid #E3E5E5;
  651. box-sizing: border-box;
  652. white-space: normal;
  653. word-break: break-all;
  654. }
  655. &:last-child {
  656. border-bottom: 2rpx solid #E3E5E5;
  657. }
  658. .numerate {
  659. font-size: 22rpx;
  660. color: $theme-color;
  661. }
  662. }
  663. }
  664. .content_num {
  665. display: flex;
  666. align-items: center;
  667. padding: 0 4rpx;
  668. /deep/ .uni-input-input {
  669. border: 2rpx solid #F0F8F2;
  670. background: #F0F8F2;
  671. color: $theme-color;
  672. }
  673. }
  674. .round {
  675. width: 32rpx;
  676. height: 32rpx;
  677. line-height: 30rpx;
  678. text-align: center;
  679. border-radius: 50%;
  680. background: $theme-color;
  681. font-size: 24rpx;
  682. font-style: normal;
  683. font-weight: 400;
  684. color: #fff;
  685. margin-right: 10rpx;
  686. }
  687. .popup_box {
  688. width: 94vw;
  689. padding: 16rpx 12rpx;
  690. box-sizing: border-box;
  691. }
  692. .operate_box {
  693. margin-top: 32rpx;
  694. padding: 10rpx 100rpx;
  695. /deep/ .u-button {
  696. width: 160rpx;
  697. }
  698. }
  699. .formula_box {
  700. font-size: 24rpx;
  701. font-style: normal;
  702. font-weight: 400;
  703. margin-top: 12rpx;
  704. }
  705. .reportWeight {
  706. font-size: 24rpx;
  707. font-style: normal;
  708. font-weight: 400;
  709. margin-top: 30rpx;
  710. text {
  711. color: $theme-color;
  712. }
  713. }
  714. </style>