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,
|
...rest,
|
||||||
...price,
|
...price,
|
||||||
statusOrder: +(rest.status === "INACTIVE"),
|
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: {
|
worker: {
|
||||||
createMany: {
|
createMany: {
|
||||||
data: sortedEmployeeId.map((v, i) => ({
|
data: sortedEmployeeId.map((v, i) => ({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue