newQualityInspectionManagement.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  1. <!--质检信息-->
  2. <template>
  3. <div class="center">
  4. <div class="substance">
  5. <div class="substance-left">
  6. <div class="titleTop">
  7. <div class="title"></div>
  8. <div class="textword">基本信息</div>
  9. </div>
  10. <ws-form>
  11. <ws-info-table>
  12. <ws-form-item label="任务编号" span="1" prop="contractNo">
  13. <ws-input v-model="inspect.contractNo" placeholder="自动获取,不可编辑" disabled size="small" />
  14. </ws-form-item>
  15. <ws-form-item label="仓位号" span="1" prop="binNumber">
  16. <ws-input v-model="inspect.binNumber" placeholder="自动获取,不可编辑" disabled size="small" />
  17. </ws-form-item>
  18. <ws-form-item label="业务编号" span="1" prop="number">
  19. <ws-input v-model="inspect.weighingManagement.number" placeholder="自动获取,不可编辑" disabled size="small" />
  20. </ws-form-item>
  21. <ws-form-item label="囤位号" span="1" prop="storageTagNo">
  22. <ws-input v-model="inspect.storageTagNo" placeholder="暂无" disabled size="small" />
  23. </ws-form-item>
  24. <ws-form-item label="合同/移库编号" span="1" prop="contractNo"><!--moveTaskNo-->
  25. <ws-input v-model="inspect.contractNo" placeholder="自动获取,不可编辑" disabled size="small" v-if="inspect.contractNo" />
  26. <ws-input v-model="inspect.moveTaskNo" placeholder="自动获取,不可编辑" disabled size="small" v-else/>
  27. </ws-form-item>
  28. <ws-form-item label="提示" span="1" prop="tips">
  29. <ws-input v-model="inspect.weighingManagement.tips" placeholder="暂无" disabled size="small" />
  30. </ws-form-item>
  31. <ws-form-item label="货名" span="1" prop="goodsName">
  32. <ws-input v-model="inspect.goodsName" placeholder="自动获取,不可编辑" disabled size="small" />
  33. </ws-form-item>
  34. <ws-form-item label="经办人" span="1" prop="secretaryWeigher">
  35. <ws-input v-model="inspect.weighingManagement.secretaryWeigher" placeholder="自动获取,不可编辑" disabled size="small" />
  36. </ws-form-item>
  37. <ws-form-item label="出库类型" span="1" prop="inOutType">
  38. <ws-input v-model="inspect.weighingManagement.inOutType" placeholder="自动获取,不可编辑" disabled size="small" />
  39. </ws-form-item>
  40. <ws-form-item label="出库日期" span="1" prop="updateDate">
  41. <ws-input v-model="inspect.updateDate" placeholder="自动获取,不可编辑" disabled size="small" />
  42. </ws-form-item>
  43. <ws-form-item label="运输方式" span="1" prop="outType">
  44. <ws-input v-model="inspect.weighingManagement.outType" placeholder="自动获取,不可编辑" disabled size="small" />
  45. </ws-form-item>
  46. <ws-form-item label="车队" span="1" prop="fleet">
  47. <ws-input v-model="inspect.fleet" placeholder="非车队车辆" disabled size="small" />
  48. </ws-form-item>
  49. <ws-form-item label="车牌号" span="1" prop="carNumber">
  50. <ws-input v-model="inspect.carNumber" placeholder="自动获取,不可编辑" disabled size="small" />
  51. </ws-form-item>
  52. <ws-form-item label="箱号-1" span="1" prop="boxNo">
  53. <ws-input v-model="inspect.boxNo" placeholder="暂无" disabled size="small" />
  54. </ws-form-item>
  55. <ws-form-item label="箱号-2" span="1" prop="boxNoOther">
  56. <ws-input v-model="inspect.boxNoOther" placeholder="暂无" disabled size="small" />
  57. </ws-form-item>
  58. <ws-form-item label="封号-1" span="1" prop="titleNo">
  59. <ws-input v-model="inspect.titleNo" placeholder="暂无" disabled size="small" />
  60. </ws-form-item>
  61. <ws-form-item label="封号-2" span="1" prop="titleNoOther">
  62. <ws-input v-model="inspect.titleNoOther" placeholder="暂无" disabled size="small" />
  63. </ws-form-item>
  64. </ws-info-table>
  65. </ws-form>
  66. </div>
  67. <div class="substance-right">
  68. <el-select v-model="warehouseName" placeholder="请选择仓库名" @change="warehouseNameChange">
  69. <el-option v-for="item in warehouseList" :key="item.id" :label="item.warehouseName"
  70. :value="item.warehouseName">
  71. </el-option>
  72. </el-select>
  73. <div class="screen">
  74. <div class="screen_left">
  75. <el-badge :value="noinspectList.length" class="badge_item">
  76. <div :class="inspectbtn == 1 ? 'inspect_css':'noinspect_css'" @click="inspectChange(1)">未质检</div>
  77. </el-badge>
  78. <el-badge :value="inspectList.length" class="badge_item">
  79. <div :class="inspectbtn == 2 ? 'inspect_css':'noinspect_css'" @click="inspectChange(2)">已质检</div>
  80. </el-badge>
  81. </div>
  82. <div class="screen_right">
  83. <div class="record" @click="record">记录</div>
  84. </div>
  85. </div>
  86. <!-- <el-table @cell-click='listclick' :data="inspectList" style="width: 100%; margin-top: 20px" ref="inspect" border>
  87. <el-table-column prop="qualityNo" label="业务编号"></el-table-column>
  88. <el-table-column prop="carNumber" label="车牌号"></el-table-column>
  89. <el-table-column prop="status" label="状态">
  90. <template slot-scope="scope">
  91. <span v-if='scope.row.confirm=="1"'>
  92. 已确认
  93. </span>
  94. <span v-else>
  95. {{scope.row.status}}
  96. </span>
  97. </template>
  98. </el-table-column>
  99. </el-table> -->
  100. <el-table ref="singleTable" :data="switchList" highlight-current-row @current-change="rowChange"
  101. style="width: 100%; overflow-y: scroll !important; height: calc(100vh - 54vh);margin-top:14px">
  102. <el-table-column property="number" label="业务编号">
  103. <span slot-scope="scope">{{scope.row.weighingManagement?scope.row.weighingManagement.number:""}}</span>
  104. </el-table-column>
  105. <el-table-column property="carNumber" label="车牌号">
  106. </el-table-column>
  107. <el-table-column property="status" label="状态">
  108. </el-table-column>
  109. </el-table>
  110. <div style="text-align: center">
  111. <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
  112. :current-page="currentPage" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper"
  113. :total="deptBudgetTotal">
  114. </el-pagination>
  115. </div>
  116. </div>
  117. </div>
  118. <div class="footer">
  119. <div class="titleTop">
  120. <div class="title"></div>
  121. <div class="textword">质检数据</div>
  122. </div>
  123. <div class="formList">
  124. <ws-form>
  125. <ws-info-table>
  126. <ws-form-item label="等级" prop="grade">
  127. <ws-select v-model="inspect.grade" placeholder="请输入等级" class="typeselect" :disabled="disabled">
  128. <ws-option v-for="item in gradeList" :key="item.constKey" :label="item.constValue"
  129. :value="item.constValue" />
  130. </ws-select>
  131. </ws-form-item>
  132. <ws-form-item label="杂质(%)" prop="impurity">
  133. <el-input v-model="inspect.impurity" placeholder="请输入杂质占比" maxlength="10" size="small" type="number" :disabled="disabled" />
  134. </ws-form-item>
  135. <ws-form-item label="水分(%)" prop="waterContent">
  136. <el-input v-model="inspect.waterContent" placeholder="请输入水分占比" maxlength="10" size="small" type="number" :disabled="disabled" />
  137. </ws-form-item>
  138. <ws-form-item label="霉变粒(%)" prop="mildewGrain">
  139. <el-input v-model="inspect.mildewGrain" placeholder="请输入霉变粒占比" maxlength="10" size="small" type="number" :disabled="disabled" />
  140. </ws-form-item>
  141. <ws-form-item label="容重(克/升)" prop="bulkDensity">
  142. <el-input v-model="inspect.bulkDensity" placeholder="请输入容重" maxlength="10" size="small" type="number" :disabled="disabled" />
  143. </ws-form-item>
  144. <ws-form-item label="热损伤(%)" prop="jiaorenli">
  145. <el-input v-model="inspect.jiaorenli" placeholder="请输入热损伤占比" maxlength="10" size="small" type="number" :disabled="disabled" />
  146. </ws-form-item>
  147. <ws-form-item label="不完善粒(%)" prop="imperfectGrain">
  148. <el-input v-model="inspect.imperfectGrain" placeholder="请输入不完善粒占比" maxlength="10" size="small" type="number" :disabled="disabled" />
  149. </ws-form-item>
  150. </ws-info-table>
  151. </ws-form>
  152. <div class="but">
  153. <!-- <el-button @click="print" type="primary">提交</el-button> -->
  154. <el-button @click="print" type="primary">提交并打印</el-button>
  155. </div>
  156. </div>
  157. </div>
  158.  <el-dialog width="70%" class="table-content" center :visible.sync="isShowPrint" title="粮食质检单" @close="closeDialog">
  159. <!-- <inspectInfoPrint :printData="printData"></inspectInfoPrint> -->
  160. <outInspectPrint :printData="printData" ref="saveImg"></outInspectPrint>
  161. <div style="text-align:center">
  162. <el-button type="primary" @click="isShowPrint = false">关闭</el-button>
  163. <el-button type="primary" @click="printSmall">打印小票</el-button>
  164. <el-button type="primary" @click="printBig">打印单据</el-button>
  165. </div>
  166. </el-dialog>
  167. </div>
  168. </template>
  169. <script>
  170. import {
  171. addOut,
  172. selectWarehouseSelf,
  173. getinspectList
  174. } from '@/model/outboundManagement/index'
  175. import {
  176. packList
  177. } from '@/model/contarct/index'
  178. import html2canvas from 'html2canvas'
  179. import axios from 'axios'
  180. import outInspectPrint from './component/outInspectPrint.vue'
  181. export default {
  182. components: {
  183. outInspectPrint,
  184. },
  185. watch: {},
  186. data() {
  187. return {
  188. inspect: {
  189. weighingManagement:{}
  190. },
  191. disabled: false,
  192. gradeList: [],
  193. cangid: '', //仓库id
  194. warehouseName: '',
  195. warehouseList: [],
  196. inspectbtn: 1,
  197. inspectList: [],
  198. noinspectList:[],
  199. switchList:[],
  200. //分页
  201. currentPage: 1,
  202. pageSize: 10,
  203. deptCircularPage: {},
  204. deptBudgetTotal: 0,
  205. managementType: 3,
  206. isShowPrint:false,
  207. printData:{}
  208. }
  209. },
  210. activated() {
  211. // this.cangid = this.$route.query.cangid
  212. // this.warehouseName = this.$route.query.warehouseName
  213. // this.inspect.contractNo = this.$route.query.contractNo
  214. // this.inspect.binNumber = this.$route.query.binNumber
  215. // this.inspect.carNumber = this.$route.query.carNumber
  216. // this.inspect.goodsName = this.$route.query.goodsName
  217. // this.inspect.storageTagNo = this.$route.query.storageTagNo
  218. // let id = this.$route.query.id
  219. // this.cangNo = this.$route.query.warehouseNo
  220. // this.count = Number(this.$route.query.count) + 1
  221. // 品级
  222. packList({
  223. constId: 'CON3'
  224. })
  225. .toPromise()
  226. .then((response) => {
  227. this.gradeList = response
  228. })
  229. //仓库
  230. selectWarehouseSelf({
  231. compId: localStorage.getItem('ws-pf_compId'),
  232. })
  233. .toPromise()
  234. .then((response) => {
  235. this.warehouseList = response
  236. if (localStorage.getItem('ck')) {
  237. this.warehouseName = localStorage.getItem('ck')
  238. for (var i = 0; i < response.length; i++) {
  239. if (this.warehouseName == this.warehouseList[i].warehouseName) {
  240. this.cangid = this.warehouseList[i].id
  241. break
  242. }
  243. }
  244. } else {
  245. this.warehouseName = this.warehouseList[0].warehouseName
  246. localStorage.setItem('ck', this.warehouseName)
  247. this.cangid = this.warehouseList[0].id
  248. }
  249. this.getList()
  250. })
  251. },
  252. methods: {
  253. printSmall(){
  254. this.inspect.type = 1
  255. localStorage.setItem('out-Warehouse_print',JSON.stringify( this.inspect))
  256. window.open('../../../static/outInspectionPrint.html')
  257. },
  258. printBig(){
  259. this.inspect.type = 2
  260. localStorage.setItem('out-Warehouse_print',JSON.stringify(this.inspect))
  261. window.open('../../../static/outInspectionPrint.html')
  262. },
  263. warehouseNameChange() {
  264. this.getList()
  265. },
  266. record(){
  267. this.$router.push({
  268. path:'outInspectRecord',
  269. query:{warehouseName: this.warehouseName}
  270. })
  271. },
  272. inspectChange(num) {
  273. this.inspectbtn = num
  274. if(num == 1){
  275. this.switchList = this.noinspectList
  276. }else if(num == 2){
  277. this.switchList = this.inspectList
  278. }
  279. if(this.switchList.length > 0){
  280. this.inspect = this.switchList[0]
  281. if(!this.inspect.weighingManagement){
  282. this.inspect.weighingManagement = {}
  283. }
  284. }else{
  285. this.inspect = {}
  286. }
  287. this.deptBudgetTotal = this.switchList.length
  288. },
  289. handleSizeChange(val) {
  290. console.log(`每页 ${val} 条`)
  291. this.pageSize = val
  292. this.getList()
  293. },
  294. handleCurrentChange(val) {
  295. this.currentPage = val
  296. console.log(`当前页: ${val}`)
  297. this.getList()
  298. },
  299. rowChange(val) {
  300. // if(this.tpyeNo == 2 && this.status == 1 && val.qualityInspectionManagement.confirm == 0){
  301. // this.$message({
  302. // message: '该条质检信息未确认',
  303. // type: 'warning'
  304. // });
  305. // }
  306. if(val){
  307. this.inspect = val
  308. }
  309. },
  310. getdate() {
  311. var date = new Date()
  312. var year = date.getFullYear() //获取完整的年份(4位)
  313. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  314. var datetime = date.getDate() //获取当前日(1-31)
  315. if (mouth < 10) {
  316. mouth = '0' + mouth
  317. }
  318. if (datetime < 10) {
  319. datetime = '0' + datetime
  320. }
  321. return year + '' + mouth + datetime
  322. },
  323. closeDialog() {
  324. html2canvas(this.$refs.saveImg.$el).then((canvas) => {
  325. let dataURL = canvas.toDataURL('image/png')
  326. this.imgUrl = dataURL
  327. if (this.imgUrl !== '') {
  328. let b = this.dataURLtoFile(this.imgUrl, 'printImage')
  329. let formdata = new FormData()
  330. formdata.append('file', b)
  331. axios({
  332. method: 'post',
  333. url: 'https://www.zthymaoyi.com/upload/admin',
  334. data: formdata,
  335. }).then((response) => {
  336. //编辑接口
  337. this.inspect.pictureAddress = response.data.url
  338. addOut(this.inspect)
  339. .toPromise()
  340. .then((response) => {
  341. })
  342. })
  343. }
  344. })
  345. this.isShowPrint = false
  346. },
  347. print() {
  348. this.inspect.warehouseName = this.warehouseName
  349. // this.inspect.id = this.$route.query.id
  350. this.inspect.qualityInspector = localStorage.getItem('ws-pf_staffName')
  351. this.inspect.compId = localStorage.getItem('ws-pf_compId')
  352. // if (!this.inspect.grade) {
  353. // this.$message({
  354. // message: '等级不能为空',
  355. // type: 'warning',
  356. // })
  357. // return
  358. // }
  359. // if (!this.inspect.impurity) {
  360. // this.$message({
  361. // message: '杂质不能为空',
  362. // type: 'warning',
  363. // })
  364. // return
  365. // }
  366. if (this.inspect.impurity && (this.inspect.impurity < 0 || this.inspect.impurity > 40)) {
  367. this.$message({
  368. message: '杂质输入错误',
  369. type: 'warning',
  370. })
  371. return
  372. }
  373. if (this.inspect.impurity && String(this.inspect.impurity).indexOf('.') != -1 && String(this.inspect.impurity).length - (String(this
  374. .inspect.impurity).indexOf('.') + 1) > 1) {
  375. this.$message({
  376. message: '杂质应保留一位小数',
  377. type: 'warning',
  378. })
  379. return
  380. }
  381. // if (!this.inspect.waterContent) {
  382. // this.$message({
  383. // message: '水分不能为空',
  384. // type: 'warning',
  385. // })
  386. // return
  387. // }
  388. if (this.inspect.waterContent && (this.inspect.waterContent < 0 || this.inspect.waterContent > 40)) {
  389. this.$message({
  390. message: '水分输入错误',
  391. type: 'warning',
  392. })
  393. return
  394. }
  395. if (this.inspect.waterContent && String(this.inspect.waterContent).indexOf('.') != -1 && String(this.inspect.waterContent).length - (String(
  396. this.inspect.waterContent).indexOf('.') + 1) > 1) {
  397. this.$message({
  398. message: '水分应保留一位小数',
  399. type: 'warning',
  400. })
  401. return
  402. }
  403. // if (!this.inspect.mildewGrain) {
  404. // this.$message({
  405. // message: '霉变粒不能为空',
  406. // type: 'warning',
  407. // })
  408. // return
  409. // }
  410. if (this.inspect.mildewGrain && this.inspect.mildewGrain < 0 || this.inspect.mildewGrain > 40) {
  411. this.$message({
  412. message: '霉变粒输入错误',
  413. type: 'warning',
  414. })
  415. return
  416. }
  417. if (String(this.inspect.mildewGrain).indexOf('.') != -1 && String(this.inspect.mildewGrain).length - (String(
  418. this.inspect.mildewGrain).indexOf('.') + 1) > 1) {
  419. this.$message({
  420. message: '霉变粒应保留一位小数',
  421. type: 'warning',
  422. })
  423. return
  424. }
  425. // if (!this.inspect.bulkDensity) {
  426. // this.$message({
  427. // message: '容重不能为空',
  428. // type: 'warning',
  429. // })
  430. // return
  431. // }
  432. if (this.inspect.bulkDensity && this.inspect.bulkDensity < 500 || this.inspect.bulkDensity > 1000) {
  433. this.$message({
  434. message: '容重输入错误',
  435. type: 'warning',
  436. })
  437. return
  438. }
  439. if (this.inspect.bulkDensity && String(this.inspect.bulkDensity).indexOf('.') != -1 && String(this.inspect.bulkDensity).length - (String(
  440. this.inspect.bulkDensity).indexOf('.') + 1) > 0) {
  441. this.$message({
  442. message: '容重需输入整数',
  443. type: 'warning',
  444. })
  445. return
  446. }
  447. // if (!this.inspect.jiaorenli) {
  448. // this.$message({
  449. // message: '热损伤不能为空',
  450. // type: 'warning',
  451. // })
  452. // return
  453. // }
  454. if (this.inspect.jiaorenli && this.inspect.jiaorenli < 0 || this.inspect.jiaorenli > 40) {
  455. this.$message({
  456. message: '热损伤输入错误',
  457. type: 'warning',
  458. })
  459. return
  460. }
  461. if (String(this.inspect.jiaorenli).indexOf('.') != -1 && String(this.inspect.jiaorenli).length - (String(this
  462. .inspect.jiaorenli).indexOf('.') + 1) > 1) {
  463. this.$message({
  464. message: '热损伤应保留一位小数',
  465. type: 'warning',
  466. })
  467. return
  468. }
  469. // if (!this.inspect.imperfectGrain) {
  470. // this.$message({
  471. // message: '不完善粒不能为空',
  472. // type: 'warning',
  473. // })
  474. // return
  475. // }
  476. if (this.inspect.imperfectGrain && this.inspect.imperfectGrain < 0 || this.inspect.imperfectGrain > 40) {
  477. this.$message({
  478. message: '不完善粒输入错误',
  479. type: 'warning',
  480. })
  481. return
  482. }
  483. if ( this.inspect.imperfectGrain && String(this.inspect.imperfectGrain).indexOf('.') != -1 && String(this.inspect.imperfectGrain).length - (
  484. String(this.inspect.imperfectGrain).indexOf('.') + 1) > 1) {
  485. this.$message({
  486. message: '不完善粒应保留一位小数',
  487. type: 'warning',
  488. })
  489. return
  490. }
  491. this.$confirm('确定保存质检信息?', '提示', {
  492. confirmButtonText: '确定',
  493. cancelButtonText: '取消',
  494. type: 'warning',
  495. })
  496. .then(() => {
  497. addOut(this.inspect)
  498. .toPromise()
  499. .then((response) => {
  500. this.$message.success('保存成功')
  501. this.printData = this.inspect
  502. this.isShowPrint = true
  503. })
  504. })
  505. .catch(() => {
  506. return false
  507. })
  508. },
  509. cancel() {
  510. this.$router.push({
  511. path: 'qualityInspectionManagement'
  512. })
  513. },
  514. getList() {
  515. getinspectList({
  516. compId: localStorage.getItem('ws-pf_compId'),
  517. currentPage: this.currentPage,
  518. pageSize: this.pageSize,
  519. warehouseName: this.warehouseName,
  520. managementType: this.managementType,
  521. qualityType:1
  522. })
  523. .toPromise()
  524. .then((response) => {
  525. this.noinspectList = response.records
  526. if(this.inspectbtn == 1 && this.noinspectList.length > 0){
  527. this.switchList = this.noinspectList
  528. this.inspect = this.noinspectList[0]
  529. if(!this.inspect.weighingManagement){
  530. this.inspect.weighingManagement = {}
  531. }
  532. }else{
  533. this.switchList = []
  534. this.inspect = {}
  535. this.inspect.weighingManagement = {}
  536. }
  537. this.deptBudgetTotal = this.switchList.length
  538. })
  539. getinspectList({
  540. compId: localStorage.getItem('ws-pf_compId'),
  541. currentPage: this.currentPage,
  542. pageSize: this.pageSize,
  543. warehouseName: this.warehouseName,
  544. managementType: this.managementType,
  545. qualityType:2
  546. })
  547. .toPromise()
  548. .then((response) => {
  549. this.inspectList = response.records
  550. if(this.inspectbtn == 2 && this.inspectList.length > 0){
  551. this.switchList = this.inspectList
  552. this.inspect = this.inspectList[0]
  553. if(!this.inspect.weighingManagement){
  554. this.inspect.weighingManagement = {}
  555. }
  556. }else{
  557. this.switchList = []
  558. this.inspect = {}
  559. this.inspect.weighingManagement = {}
  560. }
  561. this.deptBudgetTotal = this.switchList.length
  562. })
  563. },
  564. },
  565. }
  566. </script>
  567. <style lang="scss" scoped>
  568. .center {
  569. background: #E8ECF6;
  570. overflow-y: scroll;
  571. }
  572. .ws-info-table {
  573. border: none;
  574. padding: 0 20px;
  575. }
  576. .ws-info-table .el-form-item {
  577. width: 50%;
  578. border: none;
  579. }
  580. /deep/.ws-info-table .el-form-item .el-form-item__label {
  581. width: 30%;
  582. text-align: center;
  583. background: #ffffff;
  584. font-size: 14px;
  585. color: #8890B1;
  586. min-width: 115px;
  587. }
  588. /deep/.ws-info-table .el-form-item .el-form-item__content {
  589. border: none;
  590. }
  591. .title::before {
  592. content: '';
  593. display: inline-block;
  594. width: 5px;
  595. height: 30px;
  596. background: #5473E8;
  597. margin-right: 10px;
  598. margin-top: 15px;
  599. }
  600. .titleTop {
  601. display: flex;
  602. width: 100%;
  603. height: 60px;
  604. background: #F6F7FC;
  605. line-height: 60px;
  606. margin-bottom: 20px;
  607. border-radius: 4px;
  608. .textword {
  609. font-size: 18px;
  610. font-weight: 600;
  611. }
  612. }
  613. .substance {
  614. display: flex;
  615. width: 100%;
  616. height: 730px;
  617. .substance-left {
  618. width: 59%;
  619. background: #ffffff;
  620. border-radius: 4px;
  621. /deep/.el-input.is-disabled .el-input__inner{
  622. background: #F5F7FA;
  623. border-radius: 4px;
  624. color: #8890B1 !important;
  625. border: none;
  626. }
  627. /deep/.ws-info-table .el-form-item{
  628. margin: 10px 0;
  629. }
  630. }
  631. .substance-right {
  632. width: 40%;
  633. background: #ffffff;
  634. margin-left: 20px;
  635. border-radius: 4px;
  636. padding: 10px 20px 0;
  637. /deep/.el-select {
  638. width: 50%;
  639. }
  640. .screen {
  641. display: flex;
  642. width: 100%;
  643. margin: 15px 10px 0 0;
  644. border-bottom: 1px solid #D8DCE6;
  645. height: 45px;
  646. .screen_left,
  647. .screen_right {
  648. width: 50%;
  649. }
  650. .screen_left{
  651. min-width: 182px;
  652. }
  653. .badge_item {
  654. margin-right: 15px;
  655. }
  656. .inspect_css,
  657. .noinspect_css,
  658. .record {
  659. width: 74px;
  660. height: 32px;
  661. border-radius: 4px;
  662. text-align: center;
  663. line-height: 32px;
  664. }
  665. .record:hover,.inspect_css:hover,.noinspect_css:hover{
  666. cursor:pointer;
  667. }
  668. .inspect_css {
  669. background: #F0F6FF;
  670. color: #5878E8;
  671. }
  672. .screen_right {
  673. justify-content: flex-end;
  674. display: flex;
  675. }
  676. .record {
  677. color: #5878E8;
  678. }
  679. }
  680. }
  681. }
  682. .footer {
  683. margin-top: 20px;
  684. background: #FFFFFF;
  685. border-radius: 4px;
  686. height: 300px;
  687. .formList {
  688. width: 90%;
  689. margin: auto;
  690. }
  691. /deep/.el-form-item__content {
  692. width: 50%;
  693. }
  694. }
  695. /deep/.el-table .el-table__header .cell,
  696. .el-table .el-table__body .cell {
  697. text-align: center;
  698. }
  699. /deep/.el-table--enable-row-transition .el-table__body td {
  700. text-align: center;
  701. }
  702. .bg-right {
  703. padding-right: 10px;
  704. text-align: right;
  705. }
  706. .but {
  707. text-align: center;
  708. margin: 20px auto;
  709. }
  710. </style>