Commit b1d8b68b authored by 沈翠玲's avatar 沈翠玲

生产工单->打印工单

parent 49bd2403
......@@ -61,7 +61,7 @@
<td colspan="2" align="center">生产量</td>
<td colspan="2" align="center">Loss数</td>
<td colspan="2" align="center">参考数</td>
<td colspan="2" align="center">派工数</td>
<td colspan="2" align="center" style="background-color: #7e7878;-webkit-print-color-adjust: exact;">派工数</td>
<td colspan="2" align="center">材料总重(KG)</td>
<td colspan="3" align="center">单层厚(丝)</td>
</tr>
......@@ -72,7 +72,7 @@
<td colspan="2" align="center">{{ workOrderInfo.quantity }}</td>
<td colspan="2" align="center">{{ workOrderInfo.lossNum }}</td>
<td colspan="2" align="center">{{ workOrderInfo.dispatchQuantity }}</td>
<td colspan="2" align="center">{{ workOrderInfo.referenceQuantity }}</td>
<td colspan="2" align="center" style="background: #7e7878;-webkit-print-color-adjust: exact;">{{ workOrderInfo.referenceQuantity }}</td>
<td colspan="2" align="center">{{ workOrderInfo.materialWeight }}</td>
<td colspan="3" align="center">{{ workOrderInfo.singleLayerThick }}</td>
</tr>
......@@ -412,12 +412,13 @@ export default {
.titles{
text-align: center;
font-size:25px;
letter-spacing: 2px;
}
.GOM {
color: #1d1d1d;
color: #ccc3c3;
color: #9f9c97;
position: absolute;
left: 50%;
font-size:28px;
transform: translateX(-50%)
}
.barcode{
......
......@@ -14,6 +14,7 @@
<div style="padding-right:50px;">网站:<u>www.gzbaoshen.com</u></div>
</div>
<div class="titles">
<div class="cdbh">存档编号:</div>
<div>
SPECIFICATION
</div>
......@@ -24,25 +25,25 @@
<vue-barcode
:value="pageHeader.productionSolutionCode"
margin-right="5"
display-value="432141243"
:display-value="pageHeader.productionSolutionCode"
font="bold"
margin-left="5"
text-margin="10"
text-margin="5"
text-position="bottom"
style="width:200px;"
width="1"
style="width:250px;"
width="2"
ean128="ean128"
:text="'规格书编号:'+ pageHeader.productionSolutionCode"
height="30"
margin-top="10"
margin="10"
margin-bottom="20"
text-align="center"
text-align="right"
font-size="12">不支持vue-barcode</vue-barcode>
</div>
</div>
</div>
<table border class="form-header font-size-16" style="table-layout: fixed;width: 100%;border:1px solid #000000;font-size:14px;">
<table border class="form-header font-size-16" style="table-layout: fixed;width: 100%;border:1px solid #000000;font-size:14px;line-height: 25px; margin: 8px 10px 5px 10px;">
<!-- -->
<tr height="20" class="color000">
<td colspan="3" align="center">产品类别</td>
......@@ -121,12 +122,12 @@
<tr height="20" class="color000">
<td colspan="3" align="center">印刷正面颜色</td>
<td colspan="9" align="center" style="word-wrap:break-word;word-break:break-all">{{ body.frontColorName }}</td>
<td colspan="3" align="center">印刷背面颜色</td>
<td colspan="9" align="center" style="word-wrap:break-word;word-break:break-all">{{ body.oppositeColorName }}</td>
<td colspan="2" align="center">印刷背面颜色</td>
<td colspan="10" align="center" style="word-wrap:break-word;word-break:break-all">{{ body.oppositeColorName }}</td>
</tr>
<tr height="20" class="color000">
<td colspan="3" align="center">生产制</td>
<tr height="20" class="color000" style="font-weight: 600">
<td colspan="3" align="center">生产制</td>
<td colspan="21" align="center">描述</td>
</tr>
<tr height="20" v-for="(item,index) in body.processes" :key="index" class="color000">
......@@ -208,104 +209,117 @@
import VueBarcode from 'vue-barcode'
export default {
components: { VueBarcode },
props: ['productionSolutionTable'],
data() {
return {
pageHeader: {
"itemTypeName": null,
"arrangeCode": null,
"clientName": null,
"tableTypeName": "直接出货单-正常单",
"productionSolutionCode": "60000000", // 规格数编号
"finishTime": null,
"routeDesc": null,
"rowNum": null,
"dispatchMultiple": null,
"printingDirection": null,
"materialLength": null,
"packMode": null
},
pageFooter: {
"printUsername": null,
"auditors": null,
"merchandiser": null,
"productionManagement": null,
"entryTime": "2024-05-08" // 录入时间
},
body: {
"itemTypeName": "",
"itemCode": "IF2024042440",
"unit": "PCS",
"brandName": "李宁",
"purchaseUnit": "M2",
"conversionValue": "0",
"itemName": "*QT03800 李宁鞋类不干胶防伪防窜(升级版)鞋舌贴标3.4*2.8cm ",
"workorderProofingCode": null,
"enName": "LINING",
"length": 0,
"singleLayerThick": 0.0,
"singleWeight": 0.0,
"layerNum": 0.0,
"height": 0.0,
"width": 0.0,
"printingPaperlenth": 12.30,
"printPaperwidth": 12.00,
"storePlace": "W00",
"dispatchMultiple": 2.00,
"isEnable": "启用",
"isCreateSpec": null,
"isNeedShoeImg": null,
"isAddSimple": "实物样",
"isUniqueCode": "未定义",
"isConsiderColor": "未定义",
"productMaterial": null,
"formula": null,
"frontColorName": "紫红,深红,朱红",
"oppositeColorName": "紫红,深红,朱红",
"frontImg": "http://192.168.3.91:9000/mes/2024/03/20/1111_20240320192902A005.png",
"backImg": "http://192.168.3.91:9000/mes/2024/03/20/2222_20240320192903A006.png",
"customerApprover": null, // 客户确认->确认人
"customerApproved": "2024-05-10", // 客户确认->日期
"processes": [ // map-> processes
{
"processName": "高端排版",
"remark": "",
"desc": "",
"quantity": 10092.000
},
{
"processName": "数码印刷",
"remark": "",
"desc": "",
"quantity": 10092.000
},
{
"processName": "模切",
"remark": "",
"desc": "",
"quantity": 10092.000
},
{
"processName": "QC&包装",
"remark": "",
"desc": "",
"quantity": 10092.000
}
],
"rdchecked": null, // 研发部门-> 审核
"rdapproverd": null, // 研发部门-> 核准
"rdprepared": null // 研发部门-> 制定
}
// pageHeader: {
// "itemTypeName": null,
// "arrangeCode": null,
// "clientName": null,
// "tableTypeName": "直接出货单-正常单",
// "productionSolutionCode": "60000000", // 规格数编号
// "finishTime": null,
// "routeDesc": null,
// "rowNum": null,
// "dispatchMultiple": null,
// "printingDirection": null,
// "materialLength": null,
// "packMode": null
// },
// pageFooter: {
// "printUsername": null,
// "auditors": null,
// "merchandiser": null,
// "productionManagement": null,
// "entryTime": "2024-05-08" // 录入时间
// },
// body: {
// "itemTypeName": "",
// "itemCode": "IF2024042440",
// "unit": "PCS",
// "brandName": "李宁",
// "purchaseUnit": "M2",
// "conversionValue": "0",
// "itemName": "*QT03800 李宁鞋类不干胶防伪防窜(升级版)鞋舌贴标3.4*2.8cm ",
// "workorderProofingCode": null,
// "enName": "LINING",
// "length": 0,
// "singleLayerThick": 0.0,
// "singleWeight": 0.0,
// "layerNum": 0.0,
// "height": 0.0,
// "width": 0.0,
// "printingPaperlenth": 12.30,
// "printPaperwidth": 12.00,
// "storePlace": "W00",
// "dispatchMultiple": 2.00,
// "isEnable": "启用",
// "isCreateSpec": null,
// "isNeedShoeImg": null,
// "isAddSimple": "实物样",
// "isUniqueCode": "未定义",
// "isConsiderColor": "未定义",
// "productMaterial": null,
// "formula": null,
// "frontColorName": "紫红,深红,朱红",
// "oppositeColorName": "紫红,深红,朱红",
// "frontImg": "http://192.168.3.91:9000/mes/2024/03/20/1111_20240320192902A005.png",
// "backImg": "http://192.168.3.91:9000/mes/2024/03/20/2222_20240320192903A006.png",
// "customerApprover": null, // 客户确认->确认人
// "customerApproved": "2024-05-10", // 客户确认->日期
// "processes": [ // map-> processes
// {
// "processName": "高端排版",
// "remark": "",
// "desc": "",
// "quantity": 10092.000
// },
// {
// "processName": "数码印刷",
// "remark": "",
// "desc": "",
// "quantity": 10092.000
// },
// {
// "processName": "模切",
// "remark": "",
// "desc": "",
// "quantity": 10092.000
// },
// {
// "processName": "QC&包装",
// "remark": "",
// "desc": "",
// "quantity": 10092.000
// }
// ],
// "rdchecked": null, // 研发部门-> 审核
// "rdapproverd": null, // 研发部门-> 核准
// "rdprepared": null // 研发部门-> 制定
// }
}
},
computed: {
body (){
return this.productionSolutionTable.body
},
pageHeader (){
return this.productionSolutionTable.pageHeader
},
pageFooter (){
return this.productionSolutionTable.pageFooter
},
}
}
</script>
<style scoped lang="scss">
.productOrderSpecification{
position: relative;
padding-top:20px;
width: 780px;
width: 920px;
height: 1100px;
padding: 0 49px;
padding-top:20px;
padding-bottom:80px;
box-sizing: border-box;
......@@ -318,13 +332,22 @@ export default {
font-size:22px;
font-weight: 600;
position: relative;
.cdbh{
font-weight: 400;
font-size: 16px;
position: absolute;
left: 0;
bottom: 0;
}
.barcode{
position: absolute;
top:-10px;
right:0px;
width: 200px;
top:-3px;
right:-10px;
width: 300px;
height:80px;
display: flex;
overflow: hidden;
justify-content: flex-end;
}
}
.img{
......@@ -341,10 +364,10 @@ export default {
}
}
.pageBottom{
width: 780px;
display: flex;
justify-content: flex-end;
padding: 0px 10px;
width: 850px;
padding: 0px 49px;
color: #000;
div{
margin-left:100px;
......@@ -356,6 +379,10 @@ export default {
}
.color000{
color: #000;
td {
word-wrap:break-word;
word-break:break-all
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment