优化收货功能
This commit is contained in:
parent
03c5d46067
commit
6f5495c097
@ -548,6 +548,12 @@
|
||||
...this.formData
|
||||
};
|
||||
Object.keys(this.formData).forEach(key => {
|
||||
if (key === 'tail_box_quantity' || key === 'shelf_life') {
|
||||
const incomingValue = data[key];
|
||||
newFormData[key] = incomingValue === undefined || incomingValue === null ? '' : incomingValue;
|
||||
return;
|
||||
}
|
||||
|
||||
if (data[key] !== undefined) {
|
||||
newFormData[key] = data[key];
|
||||
}
|
||||
@ -1071,7 +1077,7 @@
|
||||
.date-display {
|
||||
padding: 18rpx 0;
|
||||
color: #333;
|
||||
font-size: 28rpx;
|
||||
font-size: 35rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Loading…
x
Reference in New Issue
Block a user