1.取消月度计划审核生成工单号

2.优化处理结果显示
3.修复划线、切割报工未根据作业区获取数据的bug
4.增加作业计划作业区调整功能
5.调整上料摆放区域可拖动
6.作业计划执行增加筛选
master
董哲奇 4 months ago
parent d3a278836d
commit 6f7a261ec4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -46,8 +46,14 @@ export default function () {
{ field: 'djh',title:'派工单号', width: 120,}, { field: 'djh',title:'派工单号', width: 120,},
// {field: 'lldw', title: '垛位', width: 80,formatter: dwFormat}, // {field: 'lldw', title: '垛位', width: 80,formatter: dwFormat},
// {field: 'llcs', title: '层数', width: 60}, // {field: 'llcs', title: '层数', width: 60},
{field: 'dcCh', title: '船号', width: 80}, {field: 'dcCh', title: '船号', width: 80,
{field: 'dcPl', title: '批量', width: 80}, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcPl', title: '批量', width: 80,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcFd', title: '分段', width: 80}, {field: 'dcFd', title: '分段', width: 80},
{field: 'wpgg', title: '材质', width: 80}, {field: 'wpgg', title: '材质', width: 80},
{field: 'wpxh', title: '规格', width: 70}, {field: 'wpxh', title: '规格', width: 70},

@ -137,7 +137,7 @@ export const sljh=function (width,height){
}) })
const nameImageObj1 = new Image(); const nameImageObj1 = new Image();
nameImageObj1.src = require('@/assets/sliao/nameBg1.png'); nameImageObj1.src = require('@/assets/sliao/nameBg1bak.png');
nameImageObj1.onload = function () { nameImageObj1.onload = function () {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,

@ -49,8 +49,14 @@ export default function () {
// {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat}, // {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat},
// {field: 'slyclcs', title: '层数', width: 60}, // {field: 'slyclcs', title: '层数', width: 60},
{field: 'plxh', title: '工单号', }, {field: 'plxh', title: '工单号', },
{field: 'dcCh', title: '船号'}, {field: 'dcCh', title: '船号',
{field: 'dcPl', title: '批量', }, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcPl', title: '批量',
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'total', title: '总数量', }, {field: 'total', title: '总数量', },
{field: 'wpg', title: '待处理数量', }, {field: 'wpg', title: '待处理数量', },
{field: 'comp', title: '已报工', }, {field: 'comp', title: '已报工', },

@ -137,7 +137,7 @@ export const sljh=function (width,height){
}) })
const nameImageObj1 = new Image(); const nameImageObj1 = new Image();
nameImageObj1.src = require('@/assets/sliao/nameBg1.png'); nameImageObj1.src = require('@/assets/sliao/nameBg1bak.png');
nameImageObj1.onload = function () { nameImageObj1.onload = function () {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,

@ -137,7 +137,7 @@ export const sljh=function (width,height){
}) })
const nameImageObj1 = new Image(); const nameImageObj1 = new Image();
nameImageObj1.src = require('@/assets/sliao/nameBg1.png'); nameImageObj1.src = require('@/assets/sliao/nameBg1bak.png');
nameImageObj1.onload = function () { nameImageObj1.onload = function () {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,

@ -137,7 +137,7 @@ export const sljh=function (width,height){
}) })
const nameImageObj1 = new Image(); const nameImageObj1 = new Image();
nameImageObj1.src = require('@/assets/sliao/nameBg1.png'); nameImageObj1.src = require('@/assets/sliao/nameBg1bak.png');
nameImageObj1.onload = function () { nameImageObj1.onload = function () {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,

@ -58,9 +58,18 @@ export default function () {
{ field: 'djh',title:'派工单号', width: 120}, { field: 'djh',title:'派工单号', width: 120},
// {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat}, // {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat},
// {field: 'slyclcs', title: '层数', width: 60}, // {field: 'slyclcs', title: '层数', width: 60},
{field: 'dcCh', title: '船号', width: 80}, {field: 'dcCh', title: '船号', width: 80,
{field: 'dcPl', title: '批量', width: 80}, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
{field: 'wpgg', title: '材质', width: 80}, filterRender: { name: 'FilterCombination', },
},
{field: 'dcPl', title: '批量', width: 80,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'wpgg', title: '材质', width: 80,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'wpxh', title: '规格', width: 70}, {field: 'wpxh', title: '规格', width: 70},
{field: 'slwlh', title: '炉批号', width: 100}, {field: 'slwlh', title: '炉批号', width: 100},
{field: 'tzbh', title: '套料图号', width: 100}, {field: 'tzbh', title: '套料图号', width: 100},

@ -87,12 +87,21 @@ export default function (_height=0) {
{ type: 'seq',title:'序号', width: 50 }, { type: 'seq',title:'序号', width: 50 },
{field: 'dwId', title: '垛位', width: 100,formatter: dwFormat}, {field: 'dwId', title: '垛位', width: 100,formatter: dwFormat},
{field: 'ceng', title: '层数', width: 50}, {field: 'ceng', title: '层数', width: 50},
{field: 'czbh', title: '船号', width: 80}, {field: 'czbh', title: '船号', width: 80,
{field: 'pl', title: '批量', width: 50}, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'pl', title: '批量', width: 70,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'djh', title: '工单号', width: 100}, {field: 'djh', title: '工单号', width: 100},
{field: 'fd', title: '分段',width: 50,visible:false}, {field: 'fd', title: '分段',width: 50,visible:false},
{field: 'tlth', title: '套料图号',width: 120}, {field: 'tlth', title: '套料图号',width: 120},
{field: 'wph', title: '材质', width: 60,}, {field: 'wph', title: '材质', width: 60,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'wpgg', title: '物品规格', width: 120,}, {field: 'wpgg', title: '物品规格', width: 120,},
{field: 'lph', title: '物料号', width: 130,}, {field: 'lph', title: '物料号', width: 130,},
{field: 'kw', title: '垮位',width: 130,formatter: kwFormat}, {field: 'kw', title: '垮位',width: 130,formatter: kwFormat},

@ -46,10 +46,16 @@ export default function () {
{ type: 'checkbox', width: 40 }, { type: 'checkbox', width: 40 },
{ type: 'seq',title:'序号', width: 50 }, { type: 'seq',title:'序号', width: 50 },
{ field: 'djh',title:'派工单号', width: 120,}, { field: 'djh',title:'派工单号', width: 120,},
{field: 'lldw', title: '垛位', width: 80,formatter: dwFormat}, // {field: 'lldw', title: '垛位', width: 80,formatter: dwFormat},
{field: 'llcs', title: '层数', width: 60}, // {field: 'llcs', title: '层数', width: 60},
{field: 'dcCh', title: '船号', width: 80}, {field: 'dcCh', title: '船号', width: 80,
{field: 'dcPl', title: '批量', width: 80}, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcPl', title: '批量', width: 80,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcFd', title: '分段', width: 80}, {field: 'dcFd', title: '分段', width: 80},
{field: 'wpgg', title: '材质', width: 80}, {field: 'wpgg', title: '材质', width: 80},
{field: 'wpxh', title: '规格', width: 70}, {field: 'wpxh', title: '规格', width: 70},

@ -137,7 +137,7 @@ export const sljh=function (width,height){
}) })
const nameImageObj1 = new Image(); const nameImageObj1 = new Image();
nameImageObj1.src = require('@/assets/sliao/nameBg1.png'); nameImageObj1.src = require('@/assets/sliao/nameBg1bak.png');
nameImageObj1.onload = function () { nameImageObj1.onload = function () {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,

@ -49,8 +49,14 @@ export default function () {
// {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat}, // {field: 'slycldw', title: '垛位', width: 60,formatter: dwFormat},
// {field: 'slyclcs', title: '层数', width: 60}, // {field: 'slyclcs', title: '层数', width: 60},
{field: 'plxh', title: '工单号', }, {field: 'plxh', title: '工单号', },
{field: 'dcCh', title: '船号'}, {field: 'dcCh', title: '船号',
{field: 'dcPl', title: '批量', }, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'dcPl', title: '批量',
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination', },
},
{field: 'total', title: '总数量', }, {field: 'total', title: '总数量', },
{field: 'wpg', title: '待处理数量', }, {field: 'wpg', title: '待处理数量', },
{field: 'comp', title: '已报工', }, {field: 'comp', title: '已报工', },

@ -235,9 +235,9 @@ export default {
qyGroup.add(tlth) qyGroup.add(tlth)
const nameGroup=new Konva.Group({ const nameGroup=new Konva.Group({
x: 5, x: 3,
y: 43, y: 33,
width: 38, width: 39,
height:105, height:105,
}) })
@ -247,8 +247,8 @@ export default {
const shape = new Konva.Image({ const shape = new Konva.Image({
x: 0, x: 0,
y: 0, y: 0,
width: 38, width: 39,
height:105, height:125,
image: this, image: this,
}); });
nameGroup.add(shape) nameGroup.add(shape)
@ -286,7 +286,7 @@ export default {
const name3=new Konva.Text({ const name3=new Konva.Text({
x: 0, x: 0,
y: 43, y: 42,
width: 38, width: 38,
height:20, height:20,
fontSize:12, fontSize:12,
@ -294,13 +294,13 @@ export default {
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:'规格' text:'材质'
}) })
nameGroup.add(name3) nameGroup.add(name3)
const name4=new Konva.Text({ const name4=new Konva.Text({
x: 0, x: 0,
y: 64.5, y: 63,
width: 38, width: 38,
height:20, height:20,
fontSize:12, fontSize:12,
@ -308,27 +308,41 @@ export default {
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:'垛位' text:'规格'
}) })
nameGroup.add(name4) nameGroup.add(name4)
const name5=new Konva.Text({ const name5=new Konva.Text({
x: 0, x: 0,
y: 86.5, y: 84,
width: 38, width: 38,
height:20, height:20,
fontSize:12, fontSize:11,
fontStyle:'bold', fontStyle:'bold',
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:'层数' text:'炉批号'
}) })
nameGroup.add(name5) nameGroup.add(name5)
const name6=new Konva.Text({
x: 0,
y: 105,
width: 38,
height:20,
fontSize:12,
fontStyle:'bold',
fill:'#fff',
align:'center',
verticalAlign:'middle',
text:'备注'
})
nameGroup.add(name6)
const infoGroup=new Konva.Group({ const infoGroup=new Konva.Group({
x: 43, x: 43,
y: 43, y: 33,
width: 65, width: 65,
height:105, height:105,
}) })
@ -367,18 +381,18 @@ export default {
y: 43, y: 43,
width: 65, width: 65,
height:20, height:20,
fontSize:9, fontSize:12,
fontStyle:'bold', fontStyle:'bold',
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:item.wpgg text:item.wpxh
}) })
infoGroup.add(info3) infoGroup.add(info3)
const info4=new Konva.Text({ const info4=new Konva.Text({
x: 0, x: 0,
y: 64, y: 62,
width: 65, width: 65,
height:20, height:20,
fontSize:12, fontSize:12,
@ -386,13 +400,13 @@ export default {
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:item.slkcdw text:item.wpgg
}) })
infoGroup.add(info4) infoGroup.add(info4)
const info5=new Konva.Text({ const info5=new Konva.Text({
x: 0, x: 0,
y: 86, y: 84,
width: 65, width: 65,
height:20, height:20,
fontSize:12, fontSize:12,
@ -400,10 +414,24 @@ export default {
fill:'#fff', fill:'#fff',
align:'center', align:'center',
verticalAlign:'middle', verticalAlign:'middle',
text:item.slcs text:item.sllph
}) })
infoGroup.add(info5) infoGroup.add(info5)
const info6=new Konva.Text({
x: 0,
y: 105,
width: 65,
height:20,
fontSize:12,
fontStyle:'bold',
fill:'#fff',
align:'center',
verticalAlign:'middle',
text:item.slbz
})
infoGroup.add(info6)
const _layer=this.layer const _layer=this.layer
const _sljhGroup=this.sljhGroup; const _sljhGroup=this.sljhGroup;
let touchingFlag=false; let touchingFlag=false;

Loading…
Cancel
Save