针对于条形码生成进行修改
This commit is contained in:
@ -88,5 +88,5 @@ class StockBuy(db.Model):
|
||||
|
||||
# [新增] 返回全局打印ID及其格式化字符串
|
||||
'global_print_id': self.global_print_id,
|
||||
'global_print_id_str': f"{self.global_print_id:08d}" if self.global_print_id else ""
|
||||
'global_print_id_str': f"{self.global_print_id:010d}" if self.global_print_id else ""
|
||||
}
|
||||
Reference in New Issue
Block a user