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 () { toEmpty () {
this.val1 = '' this.val1 = ''
this.index1 = '' this.recordNo = ''
this.materialData = {} this.materialData = {}
this.pcsn = ''
this.num = '' this.num = ''
this.unit = 'KG' 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.disabled = false
this.disabled1 = false this.disabled1 = false
}, },
@@ -483,6 +491,7 @@
title: '操作成功', title: '操作成功',
icon: 'none' icon: 'none'
}) })
this.toEmpty()
this.disabled1 = false this.disabled1 = false
}, },
printTwo (row) { printTwo (row) {
@@ -683,21 +692,24 @@
} }
.confirm-btn { .confirm-btn {
color: #007aff; height: 48px;
font-weight: 500; line-height: 48px;
font-size: 16px;
color: #007aff !important;
// font-weight: 500;
} }
.confirm-btn::after { .confirm-btn::after {
border: none; border: none;
} }
/* 分隔线样式 */ // /* 分隔线样式 */
.button-divider { // .button-divider {
width: 1px; // width: 1px;
height: 24px; // height: 24px;
background-color: #e5e5e5; // background-color: #e5e5e5;
flex-shrink: 0; // flex-shrink: 0;
} // }
/* 针对 checkbox 组件样式微调(可选,保证在不同平台显示一致) */ /* 针对 checkbox 组件样式微调(可选,保证在不同平台显示一致) */
checkbox { checkbox {

View File

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