oneJobQualityBomPL.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974
  1. <template>
  2. <view>
  3. <view class="title_box rx-bc">
  4. <view class="name">产品信息</view>
  5. </view>
  6. <view class="material" v-for="(it, idx) in list" :key="idx">
  7. <view class="content_table">
  8. <view class="item rx-sc">
  9. <view class="rx">
  10. <view class="lable lable190 rx-cc">
  11. <view class="round">{{ idx + 1 }}</view
  12. >物料编码
  13. </view>
  14. <view class="content rx-sc">
  15. <view>{{ it.code }}</view>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="item rx-sc">
  20. <view class="rx">
  21. <view class="lable lable150 rx-cc">名称</view>
  22. <view class="content rx-sc">
  23. <view>{{ it.name }}</view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="item rx-sc">
  28. <view class="rx">
  29. <view class="lable lable150 rx-cc">型号</view>
  30. <view class="content rx-sc">
  31. <view>{{ it.modelType }}</view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="item rx-sc">
  36. <view class="rx ww50">
  37. <view class="lable lable150 rx-cc">刻码</view>
  38. <view class="content content_num">
  39. <view v-if="isDetails">{{ it.extInfo.engrave }}</view>
  40. <input class="uni-input" v-else v-model="it.extInfo.engrave" />
  41. </view>
  42. </view>
  43. <view class="rx ww50">
  44. <view class="lable lable150 rx-cc">位置</view>
  45. <view class="content content_num">
  46. <view v-if="isDetails">{{ it.extInfo.position }}</view>
  47. <input class="uni-input" v-else v-model="it.extInfo.position" />
  48. </view>
  49. </view>
  50. </view>
  51. <view class="item rx-sc">
  52. <view class="rx ww50">
  53. <view class="lable lable150 rx-cc">设备</view>
  54. <view class="content">
  55. <view>{{ it.deviceName || it.extInfo.deviceName }}</view>
  56. </view>
  57. </view>
  58. <view class="rx ww50">
  59. <view class="lable lable150 rx-cc">炉次号</view>
  60. <view class="content">
  61. <view>{{ it.extInfo.heatNumber }}</view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="item rx-sc">
  66. <view class="rx ww50">
  67. <view class="lable lable150 rx-cc">投料数量</view>
  68. <view class="content content_num">
  69. <view style="color: #157a2c">{{ it.feedQuantity }}</view>
  70. </view>
  71. </view>
  72. <view class="rx ww50">
  73. <view class="lable lable150 rx-cc">投料类型</view>
  74. <view class="content rx-sc" style="color: #157a2c">
  75. <view>批量投料</view>
  76. </view>
  77. </view>
  78. </view>
  79. </view>
  80. <view class="content_table2">
  81. <view class="head row rx-sc">
  82. <view class="item ww25" style="font-size: 20rpx"> 合格品数量 </view>
  83. <view class="item ww25">报工总重量/{{ it.extInfo.weightUnit }} </view>
  84. <view class="item ww30 rx-bc">
  85. <text>处置</text>
  86. </view>
  87. <view class="item ww20"> 取样 </view>
  88. </view>
  89. <view class="table">
  90. <view
  91. class="tr row rx-sc"
  92. v-for="(yy, yyIdx) in it.extInfo.batchReportInfo"
  93. >
  94. <view class="item ww25 content_num">
  95. <view>{{ yy.allFeedQuantity }}</view>
  96. </view>
  97. <view class="item ww25 content_num">
  98. <view>{{ yy.allReportWeight }}</view>
  99. </view>
  100. <view class="item ww30" v-if="isDetails">
  101. {{ it.extInfo.taskName }}
  102. </view>
  103. <view class="item ww30" v-else>
  104. <zxz-uni-data-select
  105. :localdata="stepsList"
  106. v-model="yy.taskId"
  107. dataValue="taskId"
  108. format="{taskTypeName}"
  109. dataKey="taskId"
  110. filterable
  111. @change="(e) => (yy.taskName = e.taskTypeName)"
  112. :clear="false"
  113. disabled
  114. ></zxz-uni-data-select>
  115. </view>
  116. <view class="item ww20 content_num">
  117. <view v-if="isDetails">{{ yy.sample }}</view>
  118. <input
  119. @blur="blurNum($event, idx, yyIdx)"
  120. v-else
  121. class="uni-input"
  122. v-model="yy.sample"
  123. type="digit"
  124. />
  125. </view>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. <view class="button_box" v-if="!isDetails">
  131. <u-button
  132. size="small"
  133. class="u-reset-button"
  134. type="success"
  135. @click="handSample()"
  136. >取样</u-button
  137. >
  138. </view>
  139. <view class="title_box rx-bc">
  140. <view class="name">抽样列表</view>
  141. </view>
  142. <view
  143. class="material"
  144. v-for="(it, idx) in item.sampleQuality"
  145. :key="it.id + idx"
  146. >
  147. <view class="content_table">
  148. <view class="item rx-sc">
  149. <view class="rx">
  150. <view class="lable lable190 rx-cc">
  151. <view class="round">{{ idx + 1 }}</view
  152. >物料编码
  153. </view>
  154. <view class="content rx-bc">
  155. <view>{{ it.code }}</view>
  156. <view
  157. class="tag_box"
  158. v-if="it.extInfo.batchReportInfo.length == 0"
  159. >样品</view
  160. >
  161. </view>
  162. </view>
  163. </view>
  164. <view class="item rx-sc">
  165. <view class="rx">
  166. <view class="lable lable150 rx-cc">名称</view>
  167. <view class="content rx-sc">
  168. <view>{{ it.name }}</view>
  169. </view>
  170. </view>
  171. </view>
  172. <view class="item rx-sc">
  173. <view class="rx">
  174. <view class="lable lable150 rx-cc">型号</view>
  175. <view class="content rx-sc">
  176. <view>{{ it.modelType }}</view>
  177. </view>
  178. </view>
  179. </view>
  180. <view class="item rx-sc">
  181. <view class="rx ww50">
  182. <view class="lable lable150 rx-cc">刻码</view>
  183. <view class="content content_num">
  184. <view v-if="isDetails">{{ it.extInfo.engrave }}</view>
  185. <input class="uni-input" v-else v-model="it.extInfo.engrave" />
  186. </view>
  187. </view>
  188. <view class="rx ww50">
  189. <view class="lable lable150 rx-cc">位置</view>
  190. <view class="content content_num">
  191. <view v-if="isDetails">{{ it.extInfo.position }}</view>
  192. <input class="uni-input" v-else v-model="it.extInfo.position" />
  193. </view>
  194. </view>
  195. </view>
  196. <view class="item rx-sc">
  197. <view class="rx ww50">
  198. <view class="lable lable150 rx-cc">设备</view>
  199. <view class="content">
  200. <view>{{ it.deviceName || it.extInfo.deviceName }}</view>
  201. </view>
  202. </view>
  203. <view class="rx ww50">
  204. <view class="lable lable150 rx-cc">炉次号</view>
  205. <view class="content">
  206. <view>{{ it.extInfo.heatNumber }}</view>
  207. </view>
  208. </view>
  209. </view>
  210. <view class="item rx-sc" v-if="it.extInfo.batchReportInfo.length > 0">
  211. <view class="rx ww50">
  212. <view class="lable lable150 rx-cc">投料数量</view>
  213. <view class="content content_num">
  214. <view style="color: #157a2c">{{ it.feedQuantity }}</view>
  215. </view>
  216. </view>
  217. <view class="rx ww50">
  218. <view class="lable lable150 rx-cc">投料类型</view>
  219. <view class="content rx-sc" style="color: #157a2c">
  220. <view>批量投料</view>
  221. </view>
  222. </view>
  223. </view>
  224. <view class="item rx-sc" v-if="it.extInfo.batchReportInfo.length == 0">
  225. <view class="rx ww50">
  226. <view class="lable lable150 rx-cc">质检结果 </view>
  227. <view class="content content_num">
  228. <zxz-uni-data-select
  229. :localdata="isQualifiedList"
  230. v-model="it.extInfo.appearance"
  231. dataValue="code"
  232. format="{name}"
  233. dataKey="code"
  234. filterable
  235. :disabled="isDetails"
  236. @change="handLoad()"
  237. :clear="false"
  238. ></zxz-uni-data-select>
  239. </view>
  240. </view>
  241. <view
  242. class="rx ww50"
  243. v-if="it.extInfo.isQualified && it.extInfo.isQualified == 2"
  244. >
  245. <view class="lable lable150 rx-cc">类型</view>
  246. <view class="content content_num">
  247. <zxz-uni-data-select
  248. :localdata="notTypeList"
  249. v-model="it.extInfo.notType"
  250. dataValue="code"
  251. @change="handLoad()"
  252. format="{name}"
  253. dataKey="code"
  254. filterable
  255. :disabled="isDetails"
  256. :clear="false"
  257. ></zxz-uni-data-select>
  258. </view>
  259. </view>
  260. </view>
  261. <view
  262. class="item rx-sc"
  263. v-if="
  264. it.extInfo.batchReportInfo.length == 0 &&
  265. (it.extInfo.isQualified == 1 || it.extInfo.notType == 5)
  266. "
  267. >
  268. <view class="rx">
  269. <view class="lable lable150 rx-cc">处置</view>
  270. <view class="content content_num">
  271. <view v-if="isDetails">
  272. {{ it.extInfo.taskName }}
  273. </view>
  274. <zxz-uni-data-select
  275. v-else
  276. :localdata="stepsList"
  277. v-model="it.extInfo.taskId"
  278. dataValue="taskId"
  279. format="{taskTypeName}"
  280. dataKey="taskId"
  281. filterable
  282. @change="(e) => (it.extInfo.taskName = e.taskTypeName)"
  283. :clear="false"
  284. ></zxz-uni-data-select>
  285. </view>
  286. </view>
  287. </view>
  288. <view
  289. class="item rx-sc"
  290. v-if="
  291. it.extInfo.batchReportInfo.length == 0 &&
  292. it.extInfo.isQualified != 1 &&
  293. it.extInfo.notType != 5
  294. "
  295. >
  296. <view class="rx">
  297. <view class="lable lable150 rx-cc">原因</view>
  298. <view class="content content_num">
  299. <view v-if="isDetails">{{ it.extInfo.notReason }}</view>
  300. <input class="uni-input" v-else v-model="it.extInfo.notReason" />
  301. </view>
  302. </view>
  303. </view>
  304. </view>
  305. <view class="content_table2" v-if="it.extInfo.batchReportInfo.length > 0">
  306. <view class="head row rx-sc">
  307. <view class="item ww25" style="font-size: 20rpx"> 合格品数量 </view>
  308. <view class="item ww25">报工总重量/{{ it.extInfo.weightUnit }} </view>
  309. <view class="item ww30 rx-bc">
  310. <text>处置</text>
  311. </view>
  312. <view class="item ww20"> </view>
  313. </view>
  314. <view class="table">
  315. <view
  316. class="tr row rx-sc"
  317. v-for="(yy, yyIdx) in it.extInfo.batchReportInfo"
  318. >
  319. <view class="item ww25 content_num">
  320. <view>{{ yy.allFeedQuantity }}</view>
  321. </view>
  322. <view class="item ww25 content_num">
  323. <view v-if="isDetails">{{ yy.allReportWeight }}</view>
  324. <input
  325. class="uni-input"
  326. v-else
  327. v-model="yy.allReportWeight"
  328. type="digit"
  329. />
  330. </view>
  331. <view class="item ww30" v-if="isDetails">
  332. {{ it.extInfo.taskName }}
  333. </view>
  334. <view class="item ww30" v-else>
  335. <zxz-uni-data-select
  336. :localdata="stepsList"
  337. v-model="yy.taskId"
  338. dataValue="taskId"
  339. format="{taskTypeName}"
  340. dataKey="taskId"
  341. filterable
  342. @change="(e) => (yy.taskName = e.taskTypeName)"
  343. :clear="false"
  344. ></zxz-uni-data-select>
  345. </view>
  346. <view class="item ww20 content_num"> </view>
  347. </view>
  348. </view>
  349. </view>
  350. <view
  351. class="content_table2"
  352. v-if="
  353. it.extInfo.notBatchReportInfo &&
  354. it.extInfo.notBatchReportInfo.length > 0
  355. "
  356. >
  357. <view class="head row rx-sc">
  358. <view class="item ww15" style="font-size: 20rpx"> 不合格数 </view>
  359. <view class="item ww15" style="font-size: 20rpx"> 重量 </view>
  360. <view class="item ww35">类型</view>
  361. <view class="item ww35 rx-bc">
  362. <text>处置/原因</text>
  363. <image
  364. v-if="!isDetails"
  365. class="icon"
  366. @click="handAddListPL4(it, idx)"
  367. src="~@/static/pda/add.svg"
  368. style="width: 46rpx; height: 46rpx; margin-right: 12rpx"
  369. ></image>
  370. </view>
  371. </view>
  372. <view class="table">
  373. <view
  374. class="tr row rx-sc"
  375. v-for="(yy, yyIdx) in it.extInfo.notBatchReportInfo"
  376. :key="'not' + idx + yyIdx"
  377. >
  378. <view class="item ww15 content_num">
  379. <view v-if="isDetails">{{ yy.allFeedQuantity }}</view>
  380. <input
  381. class="uni-input"
  382. v-else
  383. v-model="yy.allFeedQuantity"
  384. @input="blurNum2($event, idx, yyIdx)"
  385. type="number"
  386. />
  387. </view>
  388. <view class="item ww15 content_num">
  389. <view v-if="isDetails">{{ yy.allReportWeight }}</view>
  390. <input
  391. class="uni-input"
  392. v-else
  393. v-model="yy.allReportWeight"
  394. type="number"
  395. />
  396. </view>
  397. <view class="item ww35 content_num">
  398. <zxz-uni-data-select
  399. :localdata="notTypeList"
  400. v-model="yy.notType"
  401. dataValue="code"
  402. format="{name}"
  403. dataKey="code"
  404. filterable
  405. :disabled="isDetails"
  406. @change="handLoad()"
  407. :clear="false"
  408. ></zxz-uni-data-select>
  409. </view>
  410. <view class="item ww35" v-if="isDetails">
  411. {{ yy.notType == 5 ? yy.taskName : yy.notReason }}
  412. </view>
  413. <!--
  414. <view class="item ww35 content_num" v-if="!isDetails && yy.notType != 5">
  415. <input class="uni-input" v-if="yy.notType != 5 " v-model="yy.notReason"></input>
  416. </view> -->
  417. <!--
  418. <view class="item ww10">
  419. <uni-icons v-if='!isDetails' custom-prefix="iconfont" type="icon-shanchu" size="16"
  420. @click="handDel4(idx, yyIdx)" color="#fa3534"></uni-icons>
  421. </view> -->
  422. </view>
  423. </view>
  424. </view>
  425. <view v-if="it.extInfo.batchReportInfo.length == 0">
  426. <view class="content_table2">
  427. <view class="head row rx-sc">
  428. <view class="item ww20"> 质检名称</view>
  429. <view class="item ww20"> 工艺参数</view>
  430. <view class="item ww30" style="font-size: 20rpx">质检结果参数</view>
  431. <view class="item ww30">质检结果</view>
  432. </view>
  433. <view class="table">
  434. <view
  435. class="tr row rx-sc"
  436. v-for="(quaItem, quaItemIdx) in it.extInfo.qualityParam"
  437. :key="quaItemIdx"
  438. >
  439. <view class="item ww20">
  440. <view>{{ quaItem.inspectionName }}</view>
  441. </view>
  442. <view class="item ww20">
  443. <view style="display: flex">
  444. <view
  445. v-if="quaItem.textType == 3"
  446. style="display: flex; align-items: center"
  447. >
  448. {{ quaItem.minValue }} {{ quaItem.unit }}
  449. &nbsp;&nbsp;-&nbsp;&nbsp;
  450. {{ quaItem.maxValue }} {{ quaItem.unit }}
  451. </view>
  452. <view v-else>
  453. {{ quaItem.defaultValue }} {{ quaItem.unit }}
  454. </view>
  455. </view>
  456. </view>
  457. <view class="item ww30 content_num">
  458. <view v-if="isDetails">{{ quaItem.qualityResultValue }}</view>
  459. <input
  460. v-else
  461. class="uni-input"
  462. v-model="quaItem.qualityResultValue"
  463. />
  464. </view>
  465. <view class="item ww30 content_num">
  466. <view v-if="isDetails">
  467. {{
  468. quaItem.qualityResult
  469. ? qualityList[quaItem.qualityResult - 1].name
  470. : ""
  471. }}
  472. </view>
  473. <zxz-uni-data-select
  474. v-else
  475. :localdata="qualityList"
  476. v-model="quaItem.qualityResult"
  477. dataValue="value"
  478. format="{name}"
  479. dataKey="value"
  480. filterable
  481. :clear="false"
  482. ></zxz-uni-data-select>
  483. </view>
  484. </view>
  485. </view>
  486. </view>
  487. </view>
  488. </view>
  489. </view>
  490. </template>
  491. <script>
  492. import { getTaskInstanceList } from "@/api/pda/workOrder.js";
  493. import { sample } from "@/api/pda/tangu.js";
  494. export default {
  495. props: {
  496. item: {
  497. type: Object,
  498. default: () => {},
  499. },
  500. list: {
  501. type: Array,
  502. default: () => [],
  503. },
  504. isDetails: {
  505. type: Boolean,
  506. default: false,
  507. },
  508. },
  509. watch: {},
  510. data() {
  511. return {
  512. taskTypeName: null,
  513. isFirstTask: null,
  514. stepsList: [],
  515. qualityList: [
  516. {
  517. name: "合格",
  518. value: 1,
  519. },
  520. {
  521. name: "不合格",
  522. value: 2,
  523. },
  524. {
  525. name: "让步接受",
  526. value: 3,
  527. },
  528. ],
  529. isQualifiedList: [
  530. {
  531. code: 1,
  532. name: "合格",
  533. },
  534. {
  535. code: 2,
  536. name: "不合格",
  537. },
  538. {
  539. code: 3,
  540. name: "让步接收",
  541. },
  542. ],
  543. notTypeList: [
  544. {
  545. code: "1",
  546. name: "返工",
  547. },
  548. {
  549. code: "2",
  550. name: "返修",
  551. },
  552. {
  553. code: "3",
  554. name: "报废",
  555. },
  556. {
  557. code: "4",
  558. name: "降级使用",
  559. },
  560. {
  561. code: "5",
  562. name: "让步接收",
  563. },
  564. ],
  565. };
  566. },
  567. created() {
  568. this.taskTypeName = this.item.currentTaskDiagram.taskTypeName;
  569. this.isFirstTask = this.item.currentTaskDiagram.isFirstTask;
  570. this.getSteps();
  571. },
  572. methods: {
  573. blurNum(event, idx, yyIdx) {
  574. let value = event.target.value;
  575. value = value.replace(/\./g, "");
  576. let allFeedQuantity =
  577. this.list[idx].extInfo.batchReportInfo[yyIdx].allFeedQuantity;
  578. if (value > allFeedQuantity) {
  579. this.$set(this.list[idx].extInfo.batchReportInfo[yyIdx], "sample", 1);
  580. }
  581. },
  582. getSteps() {
  583. getTaskInstanceList(this.item.workOrderId).then((res) => {
  584. this.stepsList = res;
  585. });
  586. },
  587. handSample() {
  588. console.log(this.list[0], "9999999999999999");
  589. let param = {
  590. taskId: this.item.currentTaskDiagram.taskId,
  591. workOrderId: this.list[0].workOrderId,
  592. dispose: this.list,
  593. };
  594. sample(param).then((res) => {
  595. this.item.sampleQuality = res || [];
  596. this.$forceUpdate();
  597. });
  598. },
  599. handLoad() {
  600. this.$forceUpdate();
  601. },
  602. },
  603. };
  604. </script>
  605. <style lang="scss" scoped>
  606. .title_box {
  607. margin-top: 20rpx;
  608. .name {
  609. font-size: 28rpx;
  610. font-style: normal;
  611. font-weight: 400;
  612. color: $theme-color;
  613. padding-left: 20rpx;
  614. position: relative;
  615. &:before {
  616. position: absolute;
  617. content: "";
  618. left: 0rpx;
  619. top: 0rpx;
  620. bottom: 0rpx;
  621. width: 4rpx;
  622. height: 28rpx;
  623. background: $theme-color;
  624. margin: auto;
  625. }
  626. }
  627. .btn_box {
  628. .btn {
  629. padding: 0 18rpx;
  630. height: 50rpx;
  631. line-height: 50rpx;
  632. background: $theme-color;
  633. font-size: 26rpx;
  634. font-style: normal;
  635. font-weight: 400;
  636. font-size: 24rpx;
  637. color: #fff;
  638. border-radius: 4rpx;
  639. margin-left: 24rpx;
  640. }
  641. }
  642. }
  643. .material {
  644. margin-top: 16rpx;
  645. .content_table {
  646. width: 100%;
  647. border: 2rpx solid $border-color;
  648. .item {
  649. display: flex;
  650. border-bottom: 2rpx solid $border-color;
  651. .lable {
  652. width: 132rpx;
  653. text-align: center;
  654. background-color: #f7f9fa;
  655. font-size: 26rpx;
  656. border-right: 2rpx solid $border-color;
  657. flex-shrink: 0;
  658. }
  659. .lable150 {
  660. width: 156rpx !important;
  661. font-size: 24rpx;
  662. }
  663. .lable190 {
  664. width: 190rpx !important;
  665. font-size: 24rpx;
  666. }
  667. .ww80 {
  668. width: 80rpx;
  669. }
  670. .content {
  671. width: 500rpx;
  672. min-height: 64rpx;
  673. font-size: 28rpx;
  674. line-height: 28rpx;
  675. font-style: normal;
  676. font-weight: 400;
  677. padding: 18rpx 8rpx;
  678. box-sizing: border-box;
  679. word-wrap: break-word;
  680. flex-grow: 1 !important;
  681. .unit {
  682. padding: 0 4rpx;
  683. font-size: 24rpx;
  684. color: #404446;
  685. }
  686. .penalize {
  687. width: 160rpx;
  688. line-height: 60rpx;
  689. background: $theme-color;
  690. font-size: 24rpx;
  691. text-align: center;
  692. color: #fff;
  693. }
  694. }
  695. .content_H {
  696. min-height: 92rpx;
  697. }
  698. .pd4 {
  699. padding: 4rpx 8rpx;
  700. }
  701. &:last-child {
  702. border-bottom: none;
  703. }
  704. }
  705. .ww55 {
  706. width: 55%;
  707. }
  708. .ww50 {
  709. width: 50%;
  710. }
  711. .ww45 {
  712. width: 45%;
  713. }
  714. }
  715. }
  716. .content_table2 {
  717. width: 100%;
  718. // margin-top: 16rpx;
  719. .row {
  720. width: 100%;
  721. .item {
  722. color: #404446;
  723. font-size: 28rpx;
  724. padding-left: 12rpx;
  725. word-break: break-all;
  726. }
  727. .color157 {
  728. color: $theme-color;
  729. }
  730. .ww30 {
  731. width: 30%;
  732. }
  733. .ww20 {
  734. width: 20%;
  735. }
  736. .ww15 {
  737. width: 15%;
  738. }
  739. .ww25 {
  740. width: 25%;
  741. }
  742. .ww35 {
  743. width: 35%;
  744. }
  745. .ww50 {
  746. width: 50%;
  747. }
  748. .ww10 {
  749. width: 10%;
  750. }
  751. .ww40 {
  752. width: 40%;
  753. }
  754. .ww45 {
  755. width: 45%;
  756. }
  757. }
  758. .head {
  759. height: 64rpx;
  760. background: #f7f9fa;
  761. border-top: 2rpx solid #e3e5e5;
  762. border-left: 2rpx solid #e3e5e5;
  763. .item {
  764. height: 64rpx;
  765. line-height: 64rpx;
  766. border-right: 2rpx solid #e3e5e5;
  767. box-sizing: border-box;
  768. font-size: 22rpx;
  769. }
  770. }
  771. .tr {
  772. border-top: 2rpx solid #e3e5e5;
  773. border-left: 2rpx solid #e3e5e5;
  774. .item {
  775. font-size: 24rpx;
  776. min-height: 74rpx;
  777. display: flex;
  778. align-items: center;
  779. border-right: 2rpx solid #e3e5e5;
  780. box-sizing: border-box;
  781. white-space: normal;
  782. word-break: break-all;
  783. }
  784. &:last-child {
  785. border-bottom: 2rpx solid #e3e5e5;
  786. }
  787. .numerate {
  788. font-size: 22rpx;
  789. color: $theme-color;
  790. }
  791. }
  792. }
  793. .content_num {
  794. display: flex;
  795. align-items: center;
  796. padding: 0 4rpx;
  797. /deep/ .uni-input-input {
  798. border: 2rpx solid #f0f8f2;
  799. background: #f0f8f2;
  800. color: $theme-color;
  801. }
  802. }
  803. .round {
  804. width: 32rpx;
  805. height: 32rpx;
  806. line-height: 32rpx;
  807. text-align: center;
  808. border-radius: 50%;
  809. background: $theme-color;
  810. font-size: 24rpx;
  811. font-style: normal;
  812. font-weight: 400;
  813. color: #fff;
  814. margin-right: 18rpx;
  815. }
  816. .popup_box {
  817. width: 94vw;
  818. padding: 16rpx 12rpx;
  819. box-sizing: border-box;
  820. }
  821. .operate_box {
  822. margin-top: 32rpx;
  823. padding: 10rpx 100rpx;
  824. /deep/ .u-button {
  825. width: 160rpx;
  826. }
  827. }
  828. .formula_box {
  829. font-size: 24rpx;
  830. font-style: normal;
  831. font-weight: 400;
  832. margin-top: 12rpx;
  833. }
  834. .reportWeight {
  835. font-size: 24rpx;
  836. font-style: normal;
  837. font-weight: 400;
  838. margin-top: 30rpx;
  839. text {
  840. color: $theme-color;
  841. }
  842. }
  843. .button_box {
  844. width: 300rpx;
  845. margin: auto;
  846. margin-top: 16rpx;
  847. }
  848. .tag_box {
  849. padding: 2rpx 10rpx;
  850. margin-right: 12rpx;
  851. background: #e6a23c;
  852. font-size: 22rpx;
  853. color: #fff;
  854. border-radius: 4rpx;
  855. }
  856. </style>