This commit is contained in:
2026-04-05 12:20:06 +08:00
parent ba86cd125b
commit a8067b4e52
2 changed files with 39 additions and 15 deletions

View File

@@ -319,11 +319,19 @@
},
toEmpty () {
this.val1 = ''
this.index1 = ''
this.recordNo = ''
this.materialData = {}
this.pcsn = ''
this.num = ''
this.unit = 'KG'
this.pcsn = ''
this.flag = false
this.dialogVisible = false
this.reasons = {
full: false, // 物料卡标签填满更换
broken: false, // 标签破损更换
other: false // 其他
}
this.otherRemark = ''
this.disabled = false
this.disabled1 = false
},
@@ -483,6 +491,7 @@
title: '操作成功',
icon: 'none'
})
this.toEmpty()
this.disabled1 = false
},
printTwo (row) {
@@ -683,21 +692,24 @@
}
.confirm-btn {
color: #007aff;
font-weight: 500;
height: 48px;
line-height: 48px;
font-size: 16px;
color: #007aff !important;
// font-weight: 500;
}
.confirm-btn::after {
border: none;
}
/* 分隔线样式 */
.button-divider {
width: 1px;
height: 24px;
background-color: #e5e5e5;
flex-shrink: 0;
}
// /* 分隔线样式 */
// .button-divider {
// width: 1px;
// height: 24px;
// background-color: #e5e5e5;
// flex-shrink: 0;
// }
/* 针对 checkbox 组件样式微调(可选,保证在不同平台显示一致) */
checkbox {

View File

@@ -265,13 +265,22 @@
},
toEmpty () {
this.val1 = ''
this.index1 = ''
this.recordNo = ''
this.materialData = {}
this.pcsn = ''
this.weight = ''
this.num = null
this.unit = 'KG'
this.pcsn = ''
this.flag = false
this.disabled = false
this.disabled1 = false
this.dialogVisible = false
this.reasons = {
full: false, // 物料卡标签填满更换
broken: false, // 标签破损更换
other: false // 其他
}
this.otherRemark = ''
},
toZtPrint () {
if (this.flag) {
@@ -290,6 +299,7 @@
icon: 'none'
})
}
this.toEmpty()
this.disabled = false
} catch (e) {
this.disabled = false
@@ -534,8 +544,10 @@
}
.confirm-btn {
color: #007aff;
font-weight: 500;
height: 48px;
line-height: 48px;
font-size: 16px;
color: #007aff !important;
}
.confirm-btn::after {