semiProductJobBom.vue 20 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016
  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. this.stepsList = res
  317. })
  318. },
  319. getCompute() {
  320. getComputeParam(this.item.workOrderId, this.item.currentTaskDiagram.taskId).then(res => {
  321. this.paramList = []
  322. this.paramList = res && res.paramList || []
  323. this.paramObj = res || {}
  324. })
  325. },
  326. handAddParam() {
  327. // billet: null,
  328. // density: null,
  329. // result: null,
  330. // PIPDensity: null,
  331. // volume: null,
  332. // coefficient: null
  333. if (this.isFirstTask == 1) {
  334. this.paramList.push({
  335. taskId: null,
  336. taskName: null,
  337. })
  338. }
  339. },
  340. getDelete(idx) {
  341. this.paramList.splice(idx, 1)
  342. },
  343. changeInp(item, index) {
  344. if (Number(item.billet) && Number(item.density)) {
  345. this.paramList[index].CVIWeight = (Number(this.weight) / item.billet * item.density).toFixed(2)
  346. }
  347. },
  348. paramSave() {
  349. if (this.isFirstTask == 1 && this.paramList.length > 0) {
  350. let bol
  351. let _i
  352. bol = this.paramList.every((e, i) => {
  353. _i = i + 1
  354. return e.taskId && e.billet && e.density
  355. })
  356. if (!bol) {
  357. uni.showToast({
  358. title: `请完善第${_i}计算数据`,
  359. icon: 'none'
  360. })
  361. return false
  362. }
  363. if (this.paramList.length < 1) {
  364. uni.showToast({
  365. title: `请输入二个以上计算数据`,
  366. icon: 'none'
  367. })
  368. return false
  369. }
  370. }
  371. let param = {}
  372. if (!Object.prototype.hasOwnProperty.call(this.paramObj, 'id')) {
  373. param = {
  374. paramList: this.paramList,
  375. workOrderId: this.item.workOrderId,
  376. taskId: this.item.currentTaskDiagram.taskId
  377. }
  378. } else {
  379. this.paramObj.paramList = this.paramList
  380. param = this.paramObj
  381. }
  382. saveParam(param).then(res => {
  383. uni.showToast({
  384. icon: 'none',
  385. title: '操作成功'
  386. })
  387. this.getCompute()
  388. })
  389. },
  390. openNumerate(row, idx) {
  391. if (!row.extInfo.reportWeight) {
  392. uni.showToast({
  393. icon: 'none',
  394. title: '请先输入报工重量'
  395. })
  396. return false
  397. }
  398. this.weight = row.extInfo.weight
  399. this.reportWeight = row.extInfo.reportWeight
  400. this.resultIdx = idx
  401. this.show = true
  402. },
  403. cancel() {
  404. this.show = false
  405. this.reportWeight = 0
  406. this.weight = 0
  407. },
  408. taskChange(e) {
  409. console.log(e)
  410. },
  411. getDelete2(idx) {
  412. uni.showModal({
  413. title: '删除',
  414. content: '是否确实删除此物料!',
  415. confirmText: '确认', //这块是确定按钮的文字
  416. success: rr => {
  417. if (rr.confirm) {
  418. this.list.splice(idx, 1)
  419. }
  420. }
  421. })
  422. },
  423. save() {
  424. if (this.isFirstTask == 1) {
  425. this.resultObj = {}
  426. if (Number(this.reportWeight) < Number(this.paramList[0].CVIWeight)) {
  427. this.resultObj = this.paramList[0]
  428. this.setDataSave()
  429. return false
  430. }
  431. if (Number(this.reportWeight) >= this.paramList[this.paramList.length - 1].CVIWeight) {
  432. this.resultObj = this.paramList[this.paramList.length - 1]
  433. this.setDataSave()
  434. return false
  435. }
  436. for (let i = 1; i < this.paramList.length; i++) {
  437. console.log(i)
  438. console.log(11, Number(this.paramList[i - 1].CVIWeight), Number(this.reportWeight))
  439. if (Number(this.paramList[i - 1].CVIWeight) < Number(this.reportWeight) && Number(this
  440. .reportWeight) < Number(this.paramList[i].CVIWeight)) {
  441. this.resultObj = this.paramList[i]
  442. break;
  443. }
  444. }
  445. this.setDataSave()
  446. }
  447. },
  448. setDataSave() {
  449. this.$set(this.list[this.resultIdx].extInfo, 'taskId', this.resultObj.taskId)
  450. this.$set(this.list[this.resultIdx].extInfo, 'density', this.resultObj.density)
  451. this.$set(this.list[this.resultIdx].extInfo, 'billet', this.resultObj.billet)
  452. this.$set(this.list[this.resultIdx].extInfo, 'taskName', this.resultObj.taskName)
  453. this.cancel()
  454. },
  455. changeHeatNumber() {
  456. console.log(this.deviceList)
  457. this.deviceList.forEach(f => {
  458. this.list.forEach(o => {
  459. if (o.deviceId && f.instanceId == o.deviceId && this.deviceList.length > 1) {
  460. o.extInfo.heatNumber = f.extInfo.heatNumber
  461. this.$forceUpdate()
  462. } else if (this.deviceList.length == 1) {
  463. o.extInfo.heatNumber = this.deviceList[0].extInfo.heatNumber
  464. this.$forceUpdate()
  465. }
  466. })
  467. })
  468. },
  469. }
  470. }
  471. </script>
  472. <style lang="scss" scoped>
  473. .title_box {
  474. margin-top: 20rpx;
  475. .name {
  476. font-size: 28rpx;
  477. font-style: normal;
  478. font-weight: 400;
  479. color: $theme-color;
  480. padding-left: 20rpx;
  481. position: relative;
  482. &:before {
  483. position: absolute;
  484. content: '';
  485. left: 0rpx;
  486. top: 0rpx;
  487. bottom: 0rpx;
  488. width: 4rpx;
  489. height: 28rpx;
  490. background: $theme-color;
  491. margin: auto;
  492. }
  493. }
  494. .btn_box {
  495. .btn {
  496. padding: 0 18rpx;
  497. height: 50rpx;
  498. line-height: 50rpx;
  499. background: $theme-color;
  500. font-size: 26rpx;
  501. font-style: normal;
  502. font-weight: 400;
  503. font-size: 24rpx;
  504. color: #fff;
  505. border-radius: 4rpx;
  506. margin-left: 24rpx;
  507. }
  508. }
  509. }
  510. .material {
  511. margin-top: 16rpx;
  512. border: 1rpx solid transparent;
  513. .content_table {
  514. width: 100%;
  515. border: 2rpx solid $border-color;
  516. box-sizing: border-box;
  517. .item {
  518. display: flex;
  519. border-bottom: 2rpx solid $border-color;
  520. .lable {
  521. width: 132rpx;
  522. text-align: center;
  523. background-color: #F7F9FA;
  524. font-size: 26rpx;
  525. border-right: 2rpx solid $border-color;
  526. flex-shrink: 0;
  527. }
  528. .lable150 {
  529. width: 156rpx !important;
  530. font-size: 24rpx;
  531. }
  532. .lable190 {
  533. width: 200rpx !important;
  534. font-size: 24rpx;
  535. }
  536. .ww80 {
  537. width: 80rpx;
  538. }
  539. .content {
  540. width: 518rpx;
  541. min-height: 64rpx;
  542. font-size: 28rpx;
  543. line-height: 28rpx;
  544. font-style: normal;
  545. font-weight: 400;
  546. padding: 18rpx 8rpx;
  547. box-sizing: border-box;
  548. word-wrap: break-word;
  549. flex-grow: 1 !important;
  550. .unit {
  551. padding: 0 4rpx;
  552. font-size: 24rpx;
  553. color: #404446;
  554. }
  555. .penalize {
  556. width: 160rpx;
  557. line-height: 60rpx;
  558. background: $theme-color;
  559. font-size: 24rpx;
  560. text-align: center;
  561. color: #fff;
  562. }
  563. }
  564. .content_H {
  565. min-height: 92rpx;
  566. }
  567. .pd4 {
  568. padding: 4rpx 8rpx;
  569. }
  570. &:last-child {
  571. border-bottom: none;
  572. }
  573. }
  574. .ww55 {
  575. width: 55%;
  576. }
  577. .ww50 {
  578. width: 50%;
  579. }
  580. .ww45 {
  581. width: 45%;
  582. }
  583. .tag_box {
  584. padding: 2rpx 10rpx;
  585. margin-right: 12rpx;
  586. background: #E6A23C;
  587. font-size: 22rpx;
  588. color: #fff;
  589. border-radius: 4rpx;
  590. }
  591. }
  592. }
  593. .materialBor {
  594. border: 1rpx solid #157A2C
  595. }
  596. .content_table2 {
  597. width: 100%;
  598. .row {
  599. width: 100%;
  600. .item {
  601. color: #404446;
  602. font-size: 28rpx;
  603. padding-left: 12rpx;
  604. }
  605. .color157 {
  606. color: $theme-color;
  607. }
  608. .ww30 {
  609. width: 30%;
  610. }
  611. .ww20 {
  612. width: 20%;
  613. }
  614. .ww15 {
  615. width: 15%;
  616. }
  617. .ww25 {
  618. width: 25%;
  619. }
  620. .ww50 {
  621. width: 50%;
  622. }
  623. .ww10 {
  624. width: 10%;
  625. }
  626. }
  627. .head {
  628. height: 64rpx;
  629. background: #F7F9FA;
  630. // border-top: 2rpx solid #E3E5E5;
  631. border-left: 2rpx solid #E3E5E5;
  632. box-sizing: border-box;
  633. .item {
  634. height: 64rpx;
  635. line-height: 64rpx;
  636. border-right: 2rpx solid #E3E5E5;
  637. box-sizing: border-box;
  638. font-size: 22rpx;
  639. }
  640. }
  641. .tr {
  642. border-top: 2rpx solid #E3E5E5;
  643. border-left: 2rpx solid #E3E5E5;
  644. .item {
  645. font-size: 24rpx;
  646. min-height: 74rpx;
  647. display: flex;
  648. align-items: center;
  649. border-right: 2rpx solid #E3E5E5;
  650. box-sizing: border-box;
  651. white-space: normal;
  652. word-break: break-all;
  653. }
  654. &:last-child {
  655. border-bottom: 2rpx solid #E3E5E5;
  656. }
  657. .numerate {
  658. font-size: 22rpx;
  659. color: $theme-color;
  660. }
  661. }
  662. }
  663. .content_num {
  664. display: flex;
  665. align-items: center;
  666. padding: 0 4rpx;
  667. /deep/ .uni-input-input {
  668. border: 2rpx solid #F0F8F2;
  669. background: #F0F8F2;
  670. color: $theme-color;
  671. }
  672. }
  673. .round {
  674. width: 32rpx;
  675. height: 32rpx;
  676. line-height: 30rpx;
  677. text-align: center;
  678. border-radius: 50%;
  679. background: $theme-color;
  680. font-size: 24rpx;
  681. font-style: normal;
  682. font-weight: 400;
  683. color: #fff;
  684. margin-right: 10rpx;
  685. }
  686. .popup_box {
  687. width: 94vw;
  688. padding: 16rpx 12rpx;
  689. box-sizing: border-box;
  690. }
  691. .operate_box {
  692. margin-top: 32rpx;
  693. padding: 10rpx 100rpx;
  694. /deep/ .u-button {
  695. width: 160rpx;
  696. }
  697. }
  698. .formula_box {
  699. font-size: 24rpx;
  700. font-style: normal;
  701. font-weight: 400;
  702. margin-top: 12rpx;
  703. }
  704. .reportWeight {
  705. font-size: 24rpx;
  706. font-style: normal;
  707. font-weight: 400;
  708. margin-top: 30rpx;
  709. text {
  710. color: $theme-color;
  711. }
  712. }
  713. </style>