semiProductJobBom.vue 20 KB

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