diff --git a/src/views/modules/pad/padPartAttribute.vue b/src/views/modules/pad/padPartAttribute.vue
index c07e6de..3054434 100644
--- a/src/views/modules/pad/padPartAttribute.vue
+++ b/src/views/modules/pad/padPartAttribute.vue
@@ -93,7 +93,7 @@
border
style="width: 100%;margin-top: 20px">
+ label="单位用量/比例">
-
+
产品编码
@@ -450,6 +450,23 @@
serialNumber: null,
columnType: null,
align: 'right'
+ }, {
+ tableId: "sfdcList",
+ tableName: this.$route.meta.title,
+ columnProp: "stopTime",
+ columnLabel: "暂停时间",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ columnWidth: 70,
+ format: null,
+ functionId: this.$route.meta.menuId,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ serialNumber: null,
+ columnType: null,
+ align: 'right'
}, {
tableId: "sfdcList",
tableName: this.$route.meta.title,
diff --git a/src/views/modules/production/cancelSfdcForWareHouse.vue b/src/views/modules/production/cancelSfdcForWareHouse.vue
index fd95a1b..93d398e 100644
--- a/src/views/modules/production/cancelSfdcForWareHouse.vue
+++ b/src/views/modules/production/cancelSfdcForWareHouse.vue
@@ -393,6 +393,23 @@
serialNumber: null,
columnType: null,
align: 'right'
+ }, {
+ tableId: "sfdcList",
+ tableName: this.$route.meta.title,
+ columnProp: "stopTime",
+ columnLabel: "暂停时间",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ columnWidth: 70,
+ format: null,
+ functionId: this.$route.meta.menuId,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ serialNumber: null,
+ columnType: null,
+ align: 'right'
}, {
tableId: "sfdcList",
tableName: this.$route.meta.title,
diff --git a/src/views/modules/production/generateReport.vue b/src/views/modules/production/generateReport.vue
index 256a914..d7606ad 100644
--- a/src/views/modules/production/generateReport.vue
+++ b/src/views/modules/production/generateReport.vue
@@ -758,6 +758,12 @@
})
return
}
+ if(this.saveHeaderData.printQty>30){
+ this.$alert('打印标签数最多为30张!', '错误信息', {
+ confirmButtonText: '确定'
+ })
+ return
+ }
if(this.moQty==null||this.moQty==''){
this.saveHeaderData.moldQty=0
}else {
@@ -769,9 +775,10 @@
}
if(this.KGApprove!=null&&this.KGApprove!=''&&this.KGApprove>=0){
this.saveHeaderData.approveWeight=Number(this.KGApprove)-boxWeightKG
- if(this.KGReported!=null&&this.KGReported!=''&&this.KGReported>=0){
- this.saveHeaderData.reportWeight=Number(this.KGApprove)-boxWeightKG+Number(this.KGReported)
+ if(this.KGReported!=null&&this.KGReported!=''){
+ this.KGReported=0
}
+ this.saveHeaderData.reportWeight=Number(this.KGApprove)-boxWeightKG+Number(this.KGReported)
}
saveGenerateReportForSchedule(this.saveHeaderData).then(({data}) => {
if (data.code == 0) {
diff --git a/src/views/modules/production/inspect.vue b/src/views/modules/production/inspect.vue
index f252b9a..e158e2e 100644
--- a/src/views/modules/production/inspect.vue
+++ b/src/views/modules/production/inspect.vue
@@ -497,9 +497,10 @@
inspectSave(this.inspectData).then(({data}) => {
if (data && data.code === 0) {
this.search ();
+ debugger
let printData=data.row
printData.userId=this.$store.state.user.name
- if(printData.toTypeFlagDb!='S'){
+ if(this.inspectData.toTypeFlagDb=='S'){
let array=[];
array.push(printData)
printInspectStockLabel(array)
diff --git a/src/views/modules/production/searchSfdc.vue b/src/views/modules/production/searchSfdc.vue
index 360309d..f2f5736 100644
--- a/src/views/modules/production/searchSfdc.vue
+++ b/src/views/modules/production/searchSfdc.vue
@@ -8,7 +8,7 @@
-
+
产品编码
@@ -438,6 +438,23 @@
serialNumber: null,
columnType: null,
align: 'right'
+ }, {
+ tableId: "sfdcList",
+ tableName: this.$route.meta.title,
+ columnProp: "stopTime",
+ columnLabel: "暂停时间",
+ columnHidden: false,
+ columnImage: false,
+ columnSortable: false,
+ columnWidth: 70,
+ format: null,
+ functionId: this.$route.meta.menuId,
+ sortLv: 0,
+ status: true,
+ fixed: '',
+ serialNumber: null,
+ columnType: null,
+ align: 'right'
}, {
tableId: "sfdcList",
tableName: this.$route.meta.title,
diff --git a/src/views/modules/production/transFerPrint.vue b/src/views/modules/production/transFerPrint.vue
index 9151748..959624f 100644
--- a/src/views/modules/production/transFerPrint.vue
+++ b/src/views/modules/production/transFerPrint.vue
@@ -30,6 +30,21 @@
查询
+
+ {{'导出'}}
+
-
-