refactor: remove date from code gen
This commit is contained in:
parent
20eefa803d
commit
cf151951b8
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ export class QuotationController extends Controller {
|
|||
...rest,
|
||||
...price,
|
||||
statusOrder: +(rest.status === "INACTIVE"),
|
||||
code: `QT${currentYear.toString().padStart(2, "0")}${currentMonth.toString().padStart(2, "0")}${currentDate.toString().padStart(2, "0")}${lastQuotation.value.toString().padStart(4, "0")}`,
|
||||
code: `QT${currentYear.toString().padStart(2, "0")}${currentMonth.toString().padStart(2, "0")}${lastQuotation.value.toString().padStart(6, "0")}`,
|
||||
worker: {
|
||||
createMany: {
|
||||
data: sortedEmployeeId.map((v, i) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue