KẾ HOẠCH KINH DOANH CUỐI QUÝ

Mô phỏng chiến dịch bán hàng

Điều chỉnh chính sách bán hàng, theo dõi lợi nhuận và xác định nhu cầu nhập thêm.

Mọi giá trị tiền tệ tính bằng nghìn đồng. Số lượng bán tính theo tháng.

Hiệu quả kinh doanh

Mặc định
Lợi nhuận ròng / tháng——
Tổng doanh thu——
Vốn cần nhập thêm——

Cấu thành lợi nhuận

Lợi nhuận đóng góp
—
Chi phí vận hành cố định
−65.000
Quảng cáo tăng thêm
—
Hoa hồng sàn TMĐT
—
Lợi nhuận ròng
—

Chi phí lưu kho đã được tính trong lợi nhuận đóng góp.

Cơ cấu danh mục

Đóng góp theo sản phẩm

So sánh 4 chiến dịch

Cùng ngân sách quảng cáo, biến động giá vốn và kênh bán đang chọn.

Chiến dịch Doanh thu Lợi nhuận ròng Vốn nhập thêm Thao tác

Danh mục sản phẩm

Chỉ số và phân loại tự cập nhật theo thiết lập mô phỏng.

6 sản phẩm

Dữ liệu & phương pháp tính

Bộ dữ liệu gốc theo đề kiểm tra

Đất Tổ Gourmet là doanh nghiệp trong tình huống học tập. Dữ liệu được nạp cứng vào mã nguồn. Các giá trị tiền đều theo nghìn đồng.

Mã Sản phẩm Giá vốn Giá bán Bán / tháng Tồn kho Phí lưu kho / SP
Công thức, làm tròn & quy tắc phân loại

Chỉ số sản phẩm

  • Giá vốn thực tế = giá vốn gốc × (1 + biến động giá vốn / 100).
  • Giá bán thực tế = giá bán gốc × (1 − tỷ lệ giảm giá).
  • Lượng bán = Math.round(lượng bán gốc × (1 + tăng từ khuyến mãi + tăng từ quảng cáo + tăng từ kênh)).
  • Tăng từ quảng cáo = ngân sách / 10.000 × 5%. Kênh TMĐT tăng thêm 15%.
  • Doanh thu = giá bán thực tế × lượng bán.
  • Lãi gộp đơn vị = giá bán thực tế − giá vốn thực tế.
  • Chi phí lưu kho = tồn kho hiện tại × phí lưu kho / SP.
  • Lợi nhuận đóng góp = lãi gộp đơn vị × lượng bán − chi phí lưu kho.
  • Biên lãi gộp = lãi gộp đơn vị / giá bán thực tế × 100%, làm tròn 1 chữ số thập phân.

Phân loại & nhập hàng

  • Vòng quay tồn = tồn kho hiện tại / lượng bán, làm tròn 1 chữ số thập phân trước khi so với ngưỡng.
  • Ngôi sao - Cần nhập thêm hàng khi lượng bán ≥ 500 và vòng quay tồn < 1,0 tháng.
  • Báo động Đỏ - Đọng vốn (Cần xả kho) khi vòng quay tồn > 3,0 tháng.
  • An toàn - Duy trì cho các trường hợp còn lại.
  • Nhập thêm = max(lượng bán − tồn kho hiện tại, 0).
  • Vốn nhập thêm = lượng nhập thêm × giá vốn thực tế, theo dõi riêng trong kế hoạch vốn.

Lợi nhuận toàn cửa hàng

Tổng lợi nhuận đóng góp − 65.000 − ngân sách quảng cáo − hoa hồng sàn. Hoa hồng bằng 8% tổng doanh thu khi chọn TMĐT.

KB2 luôn áp dụng cho DT-02 và DT-05. KB3 luôn áp dụng cho DT-01 và DT-03. Lượng tồn kho trong mỗi phép tính là tồn kho gốc của đề.

Nguồn mã mở & quá trình xây dựng

Retail Analytics Dashboard của ritunjaym là repo tham khảo cùng nhóm bài toán, có KPI bán lẻ và mô phỏng tác động đến lợi nhuận, giấy phép MIT. Dữ liệu 6 sản phẩm và toàn bộ quy tắc mã đề 102 được triển khai riêng trong ứng dụng này. Xem repo Retail Analytics Dashboard

Khung cập nhật dashboard và cách định dạng số được tham khảo, điều chỉnh từ Budget-Maker của Fahed Ahmad, giấy phép MIT, commit c2ba682dfd0f6cec4726913f1c122fc9702e23e0.

Ứng dụng được rà soát và kiểm thử theo đề mã 102. Mọi phép mô phỏng chạy trực tiếp trong trình duyệt bằng công thức cố định. Bản HTML chứa sẵn dữ liệu, phông chữ và mã tính toán để dùng ngoại tuyến. Website được phục vụ bởi Go.

Xem repo Budget-Maker

Giấy phép MIT & phông Inter
Budget-Maker
MIT License

Copyright (c) 2025 Fahed Ahmad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


Inter
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.