生产添加字段,上料 切割,抛丸

master
xhj 8 months ago
parent 448842af7d
commit 89e628d41e

@ -23,7 +23,9 @@ export function saveDhPgdFk(data) {return request({url: '/pgdDh/saveDhPgdFk', me
// export function getSljhPgd(data) {return request({url: '/pgdSljh/getSljhPgd', method: 'post', data})}
export function getSljhPgd(data) {return request({url: '/zyjh/sljh', method: 'post', data})}
export function getydjhByid(data) {return request({url: '/pgdSljh/getydjhByid', method: 'post', data})}
export function slPrint(data) {return request({url: '/pgdSljh/slPrint', method: 'post', data})}
export function getKcAndSljh(data) {return request({url: '/pgdSljh/getKcAndSljh', method: 'post', data})}
export function getKcAndSljh1(data) {return request({url: '/pgdSljh/getKcAndSljh1', method: 'post', data})}
export function kcAdnSlBd(data) {return request({url: '/pgdSljh/kcAdnSlBd', method: 'post', data})}
export function kcAdnSlZx(data) {return request({url: '/pgdSljh/kcAdnSlZx', method: 'post', data})}
export function saveSljhPgdXd(data) {return request({url: '/pgdSljh/saveSljhPgdXd', method: 'post', data})}

@ -0,0 +1,201 @@
<template>
<!-- <el-container>-->
<div>
<div class="" v-for="(item,indexOne) in sljhPrintData" style="width: 980px;
/*border: 1px #000 solid;*/
text-align: center;
font-size: 20px; ">
<div style="text-align: center">
<div style="width: 100%;">
<h5> </h5>
</div>
<div style="width: 100%">
<div style="height: 20px;width: 50%;" class="base"></div>
<div style="height: 20px;width: 50%;" class="base">制单日期{{item.dyrq}}</div>
</div>
<div style="width: 100%">
<div class="headOne" style="width:4%">序号</div>
<div class="headOne" style="width: 11%">合同号</div>
<div class="headOne" style="width: 7%">船号</div>
<div class="headOne" style="width: 7%">材质</div>
<div class="headOne" style="width: 10%">规格</div>
<div class="headOne" style="width: 10%">炉批号</div>
<div class="headOne" style="width: 4%">数量</div>
<div class="headOne" style="width: 5%">库存垛位</div>
<div class="headOne" style="width: 5%">层数</div>
<div class="headOne" style="width: 7%">需求船只</div>
<div class="headOne" style="width: 5%">需求批量</div>
<div class="headOne" style="width: 5%">流向</div>
<div class="headOne" style="width: 7%">跨位</div>
<div class="headOne" style="width: 5%">物品状态</div>
<div class="headOne" style="width: 5%">备注</div>
<div style="clear: both"></div>
</div>
<div style="width: 100%" v-for="(item1,index) in item.list">
<div class="one" style="width:4%">{{ item1.xh }}</div>
<div class="one" style="width: 11%">{{ item1.dcFd }}</div>
<div class="one" style="width: 7%">{{ item1.dcch }}</div>
<div class="one" style="width: 7%">{{ item1.wpxh }}</div>
<div class="one" style="width: 10%">{{ item1.wpgg }}</div>
<div class="one" style="width: 10%">{{ item1.lph }}</div>
<div class="one" style="width: 4%">{{ item1.qxkcl }}</div>
<div class="one" style="width: 5%">{{ item1.kwh }}</div>
<div class="one" style="width: 5%">{{ item1.cfcs1 }}</div>
<div class="one" style="width: 7%">{{ item1.zych }}</div>
<div class="one" style="width: 5%">{{ item1.zypl }}</div>
<div class="one" style="width: 5%">{{ item1.zylx }}</div>
<div class="one" style="width: 7%">{{ item1.sldw }}</div>
<div class="one" style="width: 5%">{{ item1.wpzt }}</div>
<div class="one" style="width: 5%">{{ item1.bz }}</div>
<div style="clear: both"></div>
</div>
</div>
<div class="pageBreak"/>
</div>
</div>
</template>
<script>
import {mapGetters} from 'vuex'
export default {
//
name: 'SljhPrint',
props: ['sljhPrintData'],
data() {
return {
dataSize:0,
}
},
computed: {
...mapGetters([
'name',
'bmbm'
])
},
created() {
console.log(this.sljhPrintData)
console.log(sljhPrintData)
console.log(11111)
},
methods: {}
}
</script>
<style lang="scss" scoped>
@media print {
.pageBreak {
page-break-after: always;
}
.noPrint {
display: none;
}
/*@page {margin:0 30mm}*/
}
/* .tableBorder th{*/
/* font-weight: 400;*/
/* font-size: 9px;*/
/* border: 1px solid black;*/
/* }*/
/* .tableBorder td{*/
/* text-align: center;*/
/* font-size: 9px;*/
/* border: 1px solid black;*/
/* height: 30px;*/
/* }*/
/* .fist div{*/
/* float: left;*/
/* }*/
.base{
float: left;
/*border: 1px solid black;*/
overflow:hidden;
}
.one{
float: left;
border: 1px solid black;
height: 30px;
font-size: 13px;
/*line-height: 17px;*/
}
.headOne{
float: left;
border: 1px solid black;
height: 35px;
overflow:hidden;
font-size: 12px;
/*line-height: 17
}
.one2{
float: left;
border: 1px solid black;
overflow:hidden;
height: 100px;
/*line-height: 17px;*/
}
.headOne1{
float: left;
border: 0px ;
height: 35px;
overflow:hidden;
font-size: 13px;
/*line-height: 1
}
.one3{
float: left;
border: 1px solid black;
overflow:hidden;
height:50px;
/*line-height: 17px;*/
}
.one1{
float: left;
//border: 1px solid black;
height: 30px;
overflow:hidden;
/*line-height: 17px;*/
}
.header{
position: fixed;
top: 0;
}
.a4-endwise{
width: 1000px;
height: 1455px;
/*border: 1px #000 solid;*/
text-align: center;
font-size: 20px;
}
</style>

@ -54,9 +54,17 @@
</el-form-item>
<!-- <el-form-item label="批量:">-->
<!-- <el-input v-model="queryParam.pl" type="search" placeholder="批量" ></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="跨位:">
<el-select v-model="queryParam.qgkw" placeholder="切割跨位" clearable >
<el-option
v-for="item in this.dictData.qgkw"
:key="item.bm"
:label="item.bmsm"
:value="item.bm"
>
</el-option>
</el-select>
</el-form-item>
<!-- <el-form-item label="分段:">-->
<!-- <el-input v-model="queryParam.fd" type="search" placeholder="分段" ></el-input>-->
<!-- </el-form-item>-->
@ -179,7 +187,8 @@ export default {
field:'',
user:'',
jhrqField:'',
zt:'21'
zt:'21',
qgkw:''
},
statusOptions: [
{
@ -278,14 +287,14 @@ export default {
},{
field: 'pwxcldw',
title: '抛丸库存垛位',
title: '上料预处理垛位',
width: 100,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' }
},
{
field: 'pwcs',
title: '抛丸层数',
title: '上料预处理层数',
width: 100,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' }
@ -455,7 +464,7 @@ export default {
'field': 'pwfkrq',
'fieldry': 'pwfkry',
'zxZtName':'PWFK',
'list':obj
'list':obj,
}).then(res=>{
if(res.success){

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save