diff --git a/src/views/modules/pad/padPartAttribute.vue b/src/views/modules/pad/padPartAttribute.vue
index 3054434..a44f54f 100644
--- a/src/views/modules/pad/padPartAttribute.vue
+++ b/src/views/modules/pad/padPartAttribute.vue
@@ -96,7 +96,7 @@
prop="componentPartNo"
header-align="center"
align="left"
- min-width="60"
+ min-width="40"
label="零部件编码">
+
+
diff --git a/src/views/modules/print/print_stock_label_preview.js b/src/views/modules/print/print_stock_label_preview.js
index 6260ad7..df16c66 100644
--- a/src/views/modules/print/print_stock_label_preview.js
+++ b/src/views/modules/print/print_stock_label_preview.js
@@ -71,7 +71,7 @@ export function printMaterialLabelPreview(printList) {
LODOP.ADD_PRINT_TEXT(176,216,100,20,"Valid Date:");
LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
- LODOP.ADD_PRINT_TEXT(177,300,100,25,printData.expiredDate);
+ LODOP.ADD_PRINT_TEXT(176,296,100,25,printData.expiredDate);
LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
LODOP.ADD_PRINT_TEXT(29,209,189,25,printData.status);
diff --git a/src/views/modules/production/generateReport.vue b/src/views/modules/production/generateReport.vue
index d7606ad..bcb7c3e 100644
--- a/src/views/modules/production/generateReport.vue
+++ b/src/views/modules/production/generateReport.vue
@@ -405,10 +405,10 @@
-
+
-
+
@@ -417,7 +417,7 @@
-
+
diff --git a/src/views/modules/production/inspect.vue b/src/views/modules/production/inspect.vue
index e158e2e..5928093 100644
--- a/src/views/modules/production/inspect.vue
+++ b/src/views/modules/production/inspect.vue
@@ -7,13 +7,16 @@
+
+
+
-
+
-
-
-
-
+
+
+
+
@@ -379,12 +382,13 @@
workCenterNo: '',
partNo: '',
site: '',
- toTypeFlag:'',
+ toTypeFlagDb:'',
inspectedFlag:'',
needReceiveFlag:'N',
endDate:'',
startDate:'',
operatorName:'',
+ seqNo:'',
},
height2:600,
inspectData:{
@@ -497,7 +501,6 @@
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(this.inspectData.toTypeFlagDb=='S'){
@@ -505,7 +508,7 @@
array.push(printData)
printInspectStockLabel(array)
}else {
- if(printData.toTypeFlagDb!='I'){
+ if(this.inspectData.toTypeFlagDb!='I'){
printData.seqNo=printData.orderNo
}
let array=[];
@@ -553,14 +556,20 @@
})
},
cancelInspect(row){
- this.$confirm(`是否删除这条检验单?`, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
+ if(row.toTypeFlag==='硫化检验单'){
+ this.$alert('这个检验单不是重复的检验单无法删除', '错误', {
+ confirmButtonText: '确定'
+ })
+
+ }else {
+ this.$confirm(`是否删除这条检验单?`, '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
cancelInspect(row).then(({data}) => {
if (data && data.code === 0) {
- this.search ();
+ this.search();
this.$message({
message: '操作成功',
type: 'success',
@@ -568,14 +577,15 @@
onClose: () => {
}
})
- }else {
+ } else {
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
})
- }).catch(() => {
- })
+ }).catch(() => {
+ })
+ }
},
toPrint(row){
if(row.toTypeFlagDb=='S') {
@@ -597,7 +607,7 @@
if (data && data.code === 0) {
let printData=data.row
printData.userId=this.$store.state.user.name
- if(printData.toTypeFlagDb!='I'){
+ if(row.toTypeFlagDb!='I'){
printData.seqNo=printData.orderNo
}
if(row.toTypeFlag=='硫化检验单(重复)'){