Browse Source

2022-06-24 派工单刀模已发  已排料 网板已发  以及相关的取消

master
rui_li 4 years ago
parent
commit
654ffda440
  1. 67
      src/views/modules/yieldReport/produce_order.vue

67
src/views/modules/yieldReport/produce_order.vue

@ -288,10 +288,10 @@ export default {
{
userId: this.$store.state.user.name,
functionId: 5302,
serialNumber: '5302ProduceCostRollUpFlag',
serialNumber: '5302ProduceMatIssueFlag',
tableId: "5302Produce",
tableName: "待生产工单",
columnProp: "costRollUpFlag",
columnProp: "matIssueFlag",
headerAlign: "center",
align: "center",
columnLabel: "已排料",
@ -306,10 +306,10 @@ export default {
{
userId: this.$store.state.user.name,
functionId: 5302,
serialNumber: '5302ProduceManualFlag',
serialNumber: '5302ProduceToolIssueFlag',
tableId: "5302Produce",
tableName: "待生产工单",
columnProp: "manualFlag",
columnProp: "toolIssueFlag",
headerAlign: "center",
align: "center",
columnLabel: "刀模已发",
@ -324,10 +324,10 @@ export default {
{
userId: this.$store.state.user.name,
functionId: 5302,
serialNumber: '5302ProduceRepairSOFlag',
serialNumber: '5302ProducePlateIssueFlag',
tableId: "5302Produce",
tableName: "待生产工单",
columnProp: "repairSOFlag",
columnProp: "plateIssueFlag",
headerAlign: "center",
align: "center",
columnLabel: "印版已发",
@ -1229,7 +1229,7 @@ export default {
this.menuButton.openReverseButton = true
}
//
if (currentRow.costRollUpFlag == 'N') {
if (currentRow.matIssueFlag == 'N') {
//
let data = {
userSpecialSecurityNo: 238,
@ -1246,7 +1246,7 @@ export default {
this.menuButton.costRollUpFlagButton = true
}
//
if (currentRow.costRollUpFlag == 'Y') {
if (currentRow.matIssueFlag == 'Y') {
//
let data = {
userSpecialSecurityNo: 238,
@ -1263,7 +1263,7 @@ export default {
this.menuButton.canceledCostRollUpFlagButton = true
}
//
if (currentRow.manualFlag == 'N') {
if (currentRow.toolIssueFlag == 'N') {
//
let data = {
userSpecialSecurityNo: 258,
@ -1280,7 +1280,7 @@ export default {
this.menuButton.manualFlagButton = true
}
//
if (currentRow.manualFlag == 'Y') {
if (currentRow.toolIssueFlag == 'Y') {
//
let canceledAllPrdData = {
userSpecialSecurityNo: 259,
@ -1297,7 +1297,7 @@ export default {
this.menuButton.canceledManualFlagButton = true
}
//
if (currentRow.repairSOFlag == 'N') {
if (currentRow.plateIssueFlag == 'N') {
//
let data = {
userSpecialSecurityNo: 259,
@ -1314,7 +1314,7 @@ export default {
this.menuButton.repairSOFlagButton = true
}
//
if (currentRow.repairSOFlag == 'Y') {
if (currentRow.plateIssueFlag == 'Y') {
//
let data = {
userSpecialSecurityNo: 259,
@ -1509,10 +1509,12 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
costRollUpFlag: 'Y',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
username: this.$store.state.user.name,
matIssueFlag: 'Y',
orderChangeStatus: "订单已排料",
}
costRollUpProduceOrder(data).then(({data}) => {
@ -1534,10 +1536,11 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
costRollUpFlag: 'N',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
matIssueFlag: 'N',
orderChangeStatus: "撤销订单排料",
}
costRollUpProduceOrder(data).then(({data}) => {
@ -1558,10 +1561,11 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
manualFlag: 'Y',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
toolIssueFlag: 'Y',
orderChangeStatus: "订单刀模已发",
}
manualProduceOrder(data).then(({data}) => {
@ -1582,10 +1586,11 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
manualFlag: 'N',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
toolIssueFlag: 'N',
orderChangeStatus: "撤销订单刀模已发",
}
manualProduceOrder(data).then(({data}) => {
@ -1606,10 +1611,11 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
repairSOFlag: 'Y',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
plateIssueFlag: 'Y',
orderChangeStatus: "订单印版已发",
}
repairSOFlagProduceOrder(data).then(({data}) => {
@ -1630,10 +1636,11 @@ export default {
type: 'warning'
}).then(() => {
let data = {
username: this.$store.state.user.name,
orderNo: this.currentRow.orderNo,
repairSOFlag: 'N',
site: this.currentRow.site,
orderNo: this.currentRow.orderNo,
itemNo: this.currentRow.itemNo,
seqNo: this.currentRow.seqNo,
plateIssueFlag: 'N',
orderChangeStatus: "订单印版已发",
}
repairSOFlagProduceOrder(data).then(({data}) => {

Loading…
Cancel
Save