| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833 |
- <template>
- <div>
- <div class="top_fixed">
- <div style="display: flex;align-items: center;margin-right: 10px;" v-if="List.length>1">
- <div class="rx-bc">
- <div class="name">批量报工时间:</div>
- </div>
- <el-date-picker v-model="executorTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择日期" @change="handleCreate">
- </el-date-picker>
- </div>
- <el-button type="primary" size="mini" @click="save(2, 'all')">一键报工</el-button>
- <el-button type="primary" size="mini" @click="removeCacheFn('all')">清空缓存</el-button>
- <el-button v-if="taskObj.type == 1" type="primary" size="mini" @click="save(1, 'all')">缓存</el-button>
- </div>
- <div class="job_box">
- <div v-for="(item, index) in List" :key="index" class="card_box" v-if="isLoad">
- <div class="title_box rx-bc">
- <div class="name">工单信息 </div>
- <div class="rx-bc">
- <el-button type="text" size="mini" @click="openPicking(item.workOrderId, item)">手动添加</el-button>
- <el-button type="text" size="mini" @click="removeCacheFn(item.workOrderId)">清空缓存</el-button>
- <el-button v-if="taskObj.type == 1" type="text" size="mini" @click="save(1, index)">缓存</el-button>
- </div>
- </div>
- <!-- // 工单信息 -->
- <workOrderBom :item="item"></workOrderBom>
- <!-- 报工时间 -->
- <div>
- <div class="title_box rx-bc">
- <div class="name">报工时间</div>
- </div>
- <el-date-picker v-model="item.workReportInfo.executorTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
- placeholder="选择日期">
- </el-date-picker>
- </div>
- <paramBom v-if="item.paramDetailList.length != 0" :list="item.paramDetailList"></paramBom>
- <!-- //报工信息 -->
- <div v-if="item.singleReport != 1">
- <jobBom :item="item" ref="jobBomRef" :notFormed="item.notFormedList" :warehouseList="warehouseList"></jobBom>
- </div>
- <div v-else>
- <jobDdBom :item='item' ref='jobRef' :notFormed='item.notFormedList' :warehouseList="warehouseList"></jobDdBom>
- </div>
-
- <!-- :item="item" :notFormed="item.notFormedList" :warehouseList="warehouseList" @modeNum='modeNum'-->
- <deviceBom v-if="item.equipmentList.length != 0" :list="item.equipmentList"></deviceBom>
- <modelBom v-if="item.modelList.length != 0" :list="item.modelList" pattern="job" ref="modelRef"></modelBom>
- <palletBom v-if="item.palletList.length != 0" :list="item.palletList"></palletBom>
- <revolvingDiskBom v-if="item.revolvingDiskList.length > 0" pattern="job" :list="objData.revolvingDiskList">
- </revolvingDiskBom>
- <!-- 单件 报告信息 -->
- <semiProductJobBom :singleReport="item.singleReport" v-if="
- item.semiProductList &&
- item.semiProductList.length != 0 &&
- taskObj.type != 4 &&
- item.singleReport == 1
- " :item="item" :list="item.semiProductList" :equipmentList="item.equipmentList"></semiProductJobBom>
- <!-- <checkbox :tableData="item.semiProductList" ></checkbox> -->
- <!-- :itemData="item" @tableDataFn="tableDataFn" -->
- <!-- 批量 -->
- <semiProductJobBomPL :singleReport="item.singleReport" v-if="
- item.semiProductList &&
- item.semiProductList.length != 0 &&
- taskObj.type != 4 &&
- taskObj.type != 6 &&
- item.singleReport == 0
- " :item="item" :list="item.semiProductList" :equipmentList="item.equipmentList" @countNumPl="countNumPl" :index="index"></semiProductJobBomPL>
- <!-- <semiProductJobBom v-if="
- item.pickOutInList &&
- item.pickOutInList.length != 0 &&
- taskObj.type == 6 &&
- item.singleReport == 1
- " :item="item" :list="item.pickOutInList">
- </semiProductJobBom> -->
-
- <!-- 物料清单 -->
- <semiProductBom
- v-if="item.semiProductList.length != 0&&
- item.singleReport == 0&&
- clientEnvironmentId!=3"
- :list="item.semiProductList"
- :equipmentList="item.equipmentList"
- :workInfo="item"
- ></semiProductBom>
-
- <oneJobQualityBomPL v-if="
- item.semiProductList &&
- item.semiProductList.length != 0 &&
- taskObj.type == 6 &&
- item.singleReport == 0&&
- clientEnvironmentId==3
- " :item="item" :list="item.semiProductList">
- </oneJobQualityBomPL>
- <byProductBom v-if="item.productRecycleList.length != 0" :list="item.productRecycleList">
- </byProductBom>
- <turnoverBom v-if="item.turnover.length != 0" :list="item.turnover" :wordItem="item" pattern="job">
- </turnoverBom>
- <aridRegion v-if="item.aridRegionList.length != 0" :list="item.aridRegionList" :isType="true"></aridRegion>
- <!-- 这里是包装分组 -->
- <div
- v-if="clientEnvironmentId != 2 && item && item.currentTaskDiagram.type == 4 && clientEnvironmentId != 3 && item.singleReport !== 1">
- <packagingGrouping ref="packagingGroupingRef" :objData="item" :workOrderId="item.workOrderId"
- :taskId="item.currentTaskDiagram.taskId">
- </packagingGrouping>
- </div>
- <div v-if="item.currentTaskDiagram.type == 4">
- <semiProductJobBom :singleReport="item.singleReport" :item="item"
- :list="item.currentTaskDiagram.type == 4 ? item.pickOutInList : item.semiProductList"
- :equipmentList="item.equipmentList"></semiProductJobBom>
- </div>
- <!-- <packingBom :taskId='taskObj.id' :workOrderId="item.workOrderId" :objData="item" ref="packRef"
- v-if='taskObj.type == 4 && clientEnvironmentId != 3 && item'></packingBom> -->
- <!-- <packingTgBom v-if="
- item.pickOutInList &&
- item.pickOutInList.length != 0 &&
- taskObj.type == 4 &&
- clientEnvironmentId == 3
- " :list="item.pickOutInList" :item="item"></packingTgBom> -->
- </div>
- </div>
- <pickingList isType="job" ref="pickingListRef" @allSelection="allSelection"></pickingList>
- </div>
- </template>
- <script>
- import { listByIdsReport } from '@/api/produce/job';
- import { getWarehouseList } from '@/api/produce/index';
- import {
- jobSave,
- saveCache,
- getCache,
- removeCache
- } from '@/api/produce/workOrder';
- import pickingList from '../picking/pickingList.vue';
- import packagingGrouping from "./components/packagingGrouping.vue";
- import workOrderBom from '../feeding/components/workOrderBom.vue';
- import paramBom from '../feeding/components/paramBom.vue';
- import jobBom from './components/jobBom.vue';
- import deviceBom from '../feeding/components/deviceBom.vue';
- import modelBom from '../feeding/components/modelBom.vue';
- import palletBom from './components/palletBom.vue';
- import revolvingDiskBom from '../feeding/components/revolvingDiskBom.vue';
- import oneJobQualityBom from './components/oneJobQualityBom.vue';
- import oneJobQualityBomPL from './components/oneJobQualityBomPL.vue';
- import jobDdBom from './components/jobDdBom.vue';
- import semiProductJobBom from './components/semiProductJobBom.vue';
- import semiProductJobBomPL from './components/semiProductJobBomPL.vue';
- import semiProductJobBomQT from './components/semiProductJobBomQT.vue';
- import semiProductBom from '../feeding/components/semiProductBom';
- import byProductBom from './components/byProductBom.vue';
- import turnoverBom from './components/turnoverBom.vue';
- import aridRegion from '../feeding/components/aridRegion.vue';
- import packingBom from './components/packingBom.vue';
- import packingTgBom from './components/packingTgBom';
- import { timestampToDateTime } from '@/utils/index.js';
- export default {
- components: {
- pickingList,
- packagingGrouping,
- workOrderBom,
- paramBom,
- jobBom,
- deviceBom,
- modelBom,
- palletBom,
- revolvingDiskBom,
- oneJobQualityBom,
- oneJobQualityBomPL,
- semiProductJobBomQT,
- semiProductJobBom,
- semiProductJobBomPL,
- byProductBom,
- turnoverBom,
- aridRegion,
- packingBom,
- jobDdBom,
- packingTgBom,
- semiProductBom
- },
- props: {
- workListIds: {
- type: Array,
- default() {
- return [];
- }
- },
- reportNeedFeed:{
- }
- },
- data() {
- return {
- List: [],
- idsList: [],
- isLoad: false,
- executorTime:'',
- warehouseList: [],
- loading: null,
-
- };
- },
- computed: {
- taskObj() {
- return this.$store.state.user.taskObj;
- },
- clientEnvironmentId() {
- return this.$store.state.user.info.clientEnvironmentId;
- }
- },
- watch: {
- workListIds: {
- handler(val) {
- this.getList(val);
- },
- deep: true,
- immediate: true
- }
- },
- created() {
- this.getWarehouseListFn();
- },
- methods: {
- checkPack() {
- this.$refs.packagingGroupingRef[0].getData();
- },
- handleCreate(e){
- if(e){
- const list = JSON.parse(JSON.stringify(this.List));
- console.log(list);
- list.map(item=>{
- item.executorTime =e;
- })
- this.$set(this, 'List', list);
- }
- },
- getList(ids) {
- this.idsList = ids || [];
- let param = {
- ids: ids,
- taskId: this.taskObj.id,
- type: 0
- };
- this.isLoad = false;
- listByIdsReport(param)
- .then((res) => {
- this.List = res.map((obj) => {
- if (!Object.prototype.hasOwnProperty.call(obj, 'turnover')) {
- obj['turnover'] = [];
- }
- if (
- !Object.prototype.hasOwnProperty.call(obj, 'aridRegionList')
- ) {
- obj['aridRegionList'] = [];
- }
- if (!Object.prototype.hasOwnProperty.call(obj, 'instanceList')) {
- obj['instanceList'] = [];
- }
- if (!Object.prototype.hasOwnProperty.call(obj, 'palletList')) {
- obj['palletList'] = [];
- }
- if (
- !Object.prototype.hasOwnProperty.call(obj, 'revolvingDiskList')
- ) {
- obj['revolvingDiskList'] = [];
- }
- if (obj.palletList.length > 0) {
- obj.palletList = obj.palletList.map((m) => {
- return {
- hideKc: true, // 不显示库存
- quantity: m.feedQuantity,
- ...m
- };
- });
- }
- if ((this.taskObj.type == 6 && obj.singleReport ==1)|| (this.clientEnvironmentId == 3 && obj.singleReport ==0 && this.taskObj.type == 6)) {
- obj.semiProductList = obj.pickOutInList;
- obj.pickOutInList=[]
-
- console.log('赋值了')
- }
- if (
- this.clientEnvironmentId == 3 &&
- obj.singleReport == 0 &&
- this.taskObj.type != 6
- ) {
- obj.semiProductList.map((a) => {
- a.extInfo.batchReportInfo = [
- {
- allFeedQuantity: '',
- allReportWeight: '',
- taskId: '',
- taskName: ''
- }
- ];
- a.extInfo.notBatchReportInfo = [
- {
- allFeedQuantity: '',
- notType: '',
- taskId: '',
- taskName: '',
- notReason: ''
- }
- ];
- return {
- a
- };
- });
- obj.semiProductList = JSON.parse(
- JSON.stringify(obj.semiProductList)
- );
- }
- obj.semiProductList = obj.semiProductList.map(item => {
- if(this.taskObj.type != 6){
- if (item['extInfo']?.reportWeight) {
- item['extInfo'].reportWeight = ''
- }
- }
-
- console.log(item, 'item')
- return item
- })
- obj.workReportInfo = {
- executorTime: null,
- formingNum: null,
- formingWeight: null,
- formedNum: null,
- formedWeight: null,
- taskId: this.taskObj.id,
- notFormedNum:null,
- notFormedWeigh:null
- };
- obj.notFormedList = [
- {
- notFormedNum: null,
- notFormedWeight: null,
- weightUnit: obj.weightUnit,
- unit: obj.unit,
- warehouseId: null // 处置 仓库id
- }
- ];
- if (obj.semiProductList.length > 0) {
- // 预制体报工
- obj.workReportInfo.formedNum = obj.semiProductList.length;
- let numCot=0
- if(obj.semiProductList.length>0){
- obj.semiProductList.map((fitem)=>{
- numCot= numCot + fitem.feedQuantity || 1
- })
- obj.workReportInfo.formedNum = numCot
- }
- }
- obj.workReportInfo.formingNum = obj.formingNum;
- obj.workReportInfo.formingWeight = obj.formingWeight;
- obj.workReportInfo.unit = obj.unit;
- obj.workReportInfo.weightUnit = obj.weightUnit;
- obj.workReportInfo.workOrderId = obj.workOrderId;
- obj.workReportInfo.executorTime = obj.executorTime
- obj.paramDetailList.map((m) => {
- if (m.extInfo.textType == 5) {
- m.remainingTime = m.extInfo.remainingTime;
- }
- return {
- ...m.extInfo
- };
- });
- console.log(obj, 4445555);
- if(this.taskObj.type == 4 && obj.singleReport ==0){
- let numVal=0
- obj.pickOutInList.map(item=>{
- numVal=numVal+item.feedQuantity
- })
- obj.workReportInfo.formedNum = numVal
-
- }
- return {
- ...obj
- };
-
- });
-
- })
- .finally(() => {
- this.isLoad = true;
- if (this.taskObj.type == 1) {
- this.getCacheFn();
- }
- });
- },
- openPicking(id, item) {
- this.$refs.pickingListRef.open(id, item);
- },
- allSelection(id, selectList) {
- this.List.forEach((m) => {
- if (m.workOrderId == id) {
- let turnover = [];
- let equipmentList = []; // 生产设备
- selectList.forEach((f) => {
- if (f.rootCategoryLevelId == 4) {
- equipmentList = equipmentList.concat(f);
- }
- if (f.rootCategoryLevelId == 7) {
- turnover = turnover.concat(f);
- }
- });
- this.$set(m, 'equipmentList', equipmentList);
- this.$set(m, 'turnover', turnover);
- this.$forceUpdate();
- }
- });
- },
- async save(type) {
- console.log('11111',this.List)
- this.loading = this.$loading({
- lock: true,
- text: '加载中',
- background: 'rgba(0, 0, 0, 0.7)'
- });
- let arr = this.List.filter((L) => L.workReportInfo.executorTime)
- if (!arr.length) {
- this.loading.close();
- return this.$message.warning('请选择执行时间');
- }
- // if(this.taskObj.type !=6){
- // if(this.reportNeedFeed==1&&!(this.List[0].semiProductList.length>0||this.List[0].pickOutInList.length>0)){
- // this.loading.close();
- // return this.$message.warning('请先投料再报工');
- // }
- // }
-
- let bol2;
- bol2 = this.List.every((e) => {
- return (
- e.workReportInfo['formedNum'] && e.workReportInfo['formedNum'] != 0
- );
- });
- if (!bol2) {
- this.$message.warning('请输入合格品数量');
- this.loading.close();
- return false;
- }
- // 预制体
- let wId;
- let bol = true;
- let _i;
- this.List.forEach((L) => {
- if (
- L.semiProductList.length > 0 &&
- this.taskObj.type != 4 &&
- L.singleReport == 1
- ) {
- bol = L.semiProductList.every((e, i) => {
- _i = i + 1;
- wId = L.code;
- if (this.taskObj.type == 6) {
- return (
- Object.prototype.hasOwnProperty.call(e.extInfo, 'taskId') &&
- e.extInfo.taskId
- );
- } else {
- if (e.extInfo.isQualified == 1 || e.extInfo.notType == 5) {
- return (
- Object.prototype.hasOwnProperty.call(e.extInfo, 'taskId') &&
- e.extInfo.taskId &&
- e.extInfo.reportWeight
- );
- } else {
- return (
- Object.prototype.hasOwnProperty.call(e.extInfo, 'notType') &&
- e.extInfo.notType
- );
- }
- }
- });
- }
- });
- // if (!bol) {
- // this.$message.warning(`请完善工单${wId}第${_i}处置方式`);
- // this.loading.close();
- // return false;
- // }
- if (this.clientEnvironmentId != 2) {
- let succ = this.List.some((L) => {
- return L.productRecycleList.length > 0;
- });
- if (succ) {
- const isRecycle = await this.checkRecycle();
- if (!isRecycle) {
- return false;
- }
- }
- }
- console.log(this.item, '9999999999');
- if (this.taskObj.type == 4 && this.clientEnvironmentId != 3 && this.clientEnvironmentId != 2 && this.List[0].singleReport !== 1) {
- this.checkPack();
- // if (!isPack) {
- // return false
- // }
- }
- console.log('4444444444',this.List)
- if (this.taskObj.type == 1) {
- const isCache = await this.checkCache(type);
- if (!isCache) {
- return false;
- }
- }
- if (
- this.clientEnvironmentId == 3 &&
- type == 2 &&
- this.taskObj.type == 6
- ) {
- this.List.forEach((L) => {
- if (L.singleReport == 0) {
- L.semiProductList = [];
- }
- });
- console.log('ashsaoghaoghoasg')
- }
- let isSemiProduct=false
- this.List.map((semi)=>{
- if(semi.semiProductList.length==0 && semi.singleReport==1 && semi.currentTaskDiagram.isFirstTask==1&&this.clientEnvironmentId!=3){
- isSemiProduct=true
- this.loading.close();
- setTimeout(() => {
- this.$message.warning({
- message: '请工单编号:' +semi.code+ '先创建在制品',
- key: semi.code // 使用当前时间作为key,确保唯一性
- });
- },500)
- }
- if(semi.semiProductList.length==0 && semi.singleReport==0){
- semi.semiProductList.map((ditem)=>{
- if(ditem.extInfo.batchReportInfo){
- ditem.extInfo.batchReportInfo.map((baItem)=>{
- let idvalue=baItem.deviceId?baItem.deviceId.split('/'):''
- baItem.deviceId=idvalue?idvalue[0]:''
- })
-
- }
- if(ditem.extInfo.notBatchReportInfo){
- ditem.extInfo.notBatchReportInfo.map((noItem)=>{
- let idvalue=noItem.deviceId?noItem.deviceId.split('/'):''
- noItem.deviceId=idvalue?idvalue[0]:''
- })
- }
- })
- }
- })
- if(isSemiProduct){
- this.loading.close();
- return
- }
-
- console.log(this.List, 'this.List');
- jobSave(this.List)
- .then((res) => {
- this.loading.close();
- this.$message.success('报工成功');
- this.getList(this.idsList);
- })
- .catch(() => {
- this.loading.close();
- })
- .finally(() => {
- setTimeout(function () {
- // this.loading.close();
- }, 3000);
- });
- },
- checkRecycle() {
- this.loading.close();
- return new Promise((resolve) => {
- this.$confirm('是否跳过副产品回收处置!', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- })
- .then(() => {
- resolve(true);
- })
- .catch(() => {
- resolve(false);
- });
- });
- },
- checkCache(type) {
- return new Promise((resolve) => {
- if (type == 1) {
- saveCache(this.List).then((rr) => {
- this.$message.success('缓存成功');
- this.loading.close();
- });
- resolve(false);
- } else if (type == 2) {
- resolve(true);
- }
- });
- },
- getCacheFn() {
- let parma = {
- workOrderIds: this.idsList,
- taskId: this.taskObj.id,
- type: 1
- };
- getCache(parma).then((res) => {
- this.List.forEach((f,index)=>{
- res.forEach((o)=>{
- if(f.workOrderId==o.workOrderId){
- f['product'] = o.extInfo.product
- f['workReportInfo'] = o.extInfo.workReportInfo
- f['notFormedList'] = o.extInfo.notFormedList
- f['turnover'] = o.extInfo.turnover
- f['productRecycleList'] = o.extInfo.productRecycleList
- f['semiProductList'] = o.extInfo.semiProductList
- f['modelList'] = o.extInfo.modelList
- // this.$set(this.List[index].workReportInfo,'executorTime',timestampToDateTime(o.extInfo.workReportInfo.executorTime))
- this.$forceUpdate();
- }
- })
- })
-
- });
- },
- removeCacheFn(type) {
- this.$confirm('是否清空缓存', '缓存')
- .then(() => {
- let parma = {
- workOrderIds: type == 'all' ? this.idsList : [type],
- taskId: this.taskObj.id,
- type: 1
- };
- removeCache(parma).then((res) => {
- this.$message.success('已经清空缓存');
- this.getList(this.idsList);
- });
- })
- .catch(() => { });
- },
- getWarehouseListFn() {
- getWarehouseList().then((res) => {
- this.warehouseList = res.data;
- });
- },
- //批量报工合格不合格重量统计
- countNumPl(list,index){
- console.log('11111122222333',list)
- //合格总数
- let formedNumCount=0
- //合格总重量
- let formedWeightCount=0
- //不合格总数
- let notFormedNumCount=0
- //不合格总重量
- let notFormedWeightCount=0
- list.map((item=>{
- //合格总数
- item.extInfo.batchReportInfo.forEach((m) => {
- formedNumCount = formedNumCount + Number(m.allFeedQuantity || 0);
- });
- //合格总重量
- item.extInfo.batchReportInfo.forEach((w) => {
- formedWeightCount = formedWeightCount + Number(w.allReportWeight || 0);
- });
- //不合格总数
- item.extInfo.notBatchReportInfo.forEach((nf) => {
- notFormedNumCount = notFormedNumCount + Number(nf.allFeedQuantity || 0);
- });
- //不合格总重量
- item.extInfo.notBatchReportInfo.forEach((nw) => {
- notFormedWeightCount = notFormedWeightCount + Number(nw.allReportWeight || 0);
- });
- }))
- this.$set(this.List[index].workReportInfo,'formedNum',formedNumCount);//合格总数
- this.$set(this.List[index].workReportInfo,'formedWeight',formedWeightCount);//合格总重量
- this.$set(this.List[index].workReportInfo,'notFormedNum',notFormedNumCount);//不合格总数
- this.$set(this.List[index].workReportInfo,'notFormedWeight',notFormedWeightCount);//不合格总重量
- }
- }
- };
- </script>
- <style scoped lang="scss">
- .top_fixed {
- width: 100%;
- height: 40px;
- background: #fff;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- .title_box {
- padding: 10px 0;
- .name {
- font-size: 14px;
- font-style: normal;
- font-weight: 400;
- color: #157a2c;
- padding-left: 5px;
- position: relative;
- &:before {
- position: absolute;
- content: '';
- left: 0px;
- top: 0px;
- bottom: 0px;
- width: 2px;
- height: 14px;
- background: #157a2c;
- margin: auto;
- }
- }
- }
- .job_box {
- margin-top: 6px;
- width: 100%;
- height: calc(100vh - 70px - 50px - 80px - 60px);
- overflow-y: scroll;
- overflow-x: hidden;
- }
- .card_box {
- background: #fff;
- padding: 8px;
- border-radius: 2px;
- }
- </style>
|