-
生產量
+
原醋即時庫存量
{{ isExpanded ? "關閉" : "開啟" }}
diff --git a/src/views/dashboard/components/DashboardProductComplete.vue b/src/views/dashboard/components/DashboardProductComplete.vue
deleted file mode 100644
index 02ca10b..0000000
--- a/src/views/dashboard/components/DashboardProductComplete.vue
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
今日生產完成率 %
-
-
-
- More
-
-
-
-
-
-
{{ pac }}
-
-
{{ percentage }} %
-
-
- 尚未設定目標值
-
-
-
-
diff --git a/src/views/dashboard/components/DashboardProductCompleteModal.vue b/src/views/dashboard/components/DashboardProductCompleteModal.vue
deleted file mode 100644
index 5469fee..0000000
--- a/src/views/dashboard/components/DashboardProductCompleteModal.vue
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
-
- 確定
-
-
-
-
- 取消
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/dashboard/components/DashboardProductCompleteModalRecord.vue b/src/views/dashboard/components/DashboardProductCompleteModalRecord.vue
deleted file mode 100644
index 8e14290..0000000
--- a/src/views/dashboard/components/DashboardProductCompleteModalRecord.vue
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
- 日期
-
-
-
-
-
-
-
-
-
{{ item.pac }} : {{ item.f2_value }}
-
-
-
-
-
{{ item.pac }} : {{ item.f3_value }}
-
-
-
-
-
{{ item.pac }} : {{ item.target }}
-
-
-
- {{ record[column.key] }}
-
-
-
-
-
-
-
diff --git a/src/views/dashboard/components/DashboardProductCompleteModalTarget.vue b/src/views/dashboard/components/DashboardProductCompleteModalTarget.vue
deleted file mode 100644
index c5a99a6..0000000
--- a/src/views/dashboard/components/DashboardProductCompleteModalTarget.vue
+++ /dev/null
@@ -1,111 +0,0 @@
-
-
-
-
- 日期
-
-
-
-
-
-
包裝類型
-
-
-
- {{ size.text }}
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/dashboard/components/DashboardTarget.vue b/src/views/dashboard/components/DashboardTarget.vue
index 04601e0..2e1f243 100644
--- a/src/views/dashboard/components/DashboardTarget.vue
+++ b/src/views/dashboard/components/DashboardTarget.vue
@@ -11,53 +11,37 @@ const getCompletion = async () => {
production_data.value = [
{
id: 1,
- productName: "產品 A",
- status: "生產中",
- completionRate: 0.65, // 65%
+ productName: "蘋果醋",
+ status: "調理中",
+ completionRate: 0.7, // 70%
details: [
- { pot: 1, location: "A1", status: "待處理" },
- { pot: 2, location: "A2", status: "生產中" },
+ { pot: "第1鍋", location: "包裝室", status: "生產中" },
+ { pot: "第2鍋", location: "充填室", status: "生產中" },
+ { pot: "第3鍋", location: "調理桶甲", status: "生產中" },
+ { pot: "第4鍋", location: "調理桶乙", status: "生產中" },
+ { pot: "第5鍋", location: "調理桶丙", status: "生產中" },
+ { pot: "第6鍋", location: "調理桶丁", status: "生產中" },
+ {
+ pot: "第7鍋",
+ location: "二重釜大-梅精醋\n二重釜小-加熱",
+ status: "生產中",
+ },
+ { pot: "第8鍋", location: "", status: "備料" },
],
},
{
id: 2,
- productName: "產品 B",
- status: "已完成",
- completionRate: 1.0, // 100%
- details: [
- { pot: 1, location: "B1", status: "已完成" },
- { pot: 2, location: "B2", status: "已完成" },
- ],
+ productName: "梅子醋",
+ status: "尚未生產",
+ completionRate: 0,
+ details: [],
},
{
id: 3,
- productName: "產品 C",
- status: "待生產",
- completionRate: 0.0, // 0%
- details: [
- { pot: 1, location: "C1", status: "待處理" },
- { pot: 2, location: "C2", status: "待處理" },
- ],
- },
- {
- id: 4,
- productName: "產品 D",
- status: "生產中",
- completionRate: 0.3, // 30%
- details: [
- { pot: 1, location: "D1", status: "待處理" },
- { pot: 2, location: "D2", status: "生產中" },
- ],
- },
- {
- id: 5,
- productName: "產品 E",
- status: "異常",
- completionRate: 0.1, // 10%
- details: [
- { pot: 1, location: "E1", status: "異常" },
- { pot: 2, location: "E2", status: "待處理" },
- ],
+ productName: "桑葚醋",
+ status: "尚未生產",
+ completionRate: 0,
+ details: [],
},
];
};
@@ -81,7 +65,11 @@ onMounted(() => {
今日生產目標
-
+
返回
diff --git a/src/views/dashboard/components/dashboardForgeCards/CookingCard.vue b/src/views/dashboard/components/dashboardForgeCards/CookingCard.vue
new file mode 100644
index 0000000..88bd65f
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/CookingCard.vue
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
第{{ item.batch }}鍋
+
{{ item.product }}
+
+
+
+
{{ item.equipment }}
+
{{ item.status }}
+
+
+
+
+
+
{{ item.temperature }}
+
+
+
+
+
+
{{ item.sterilization }}
+
+
+
+
+
+
糖{{ item.sugar }}
+
+
+
+
+
+
{{ item.material }}
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/CookingPotCard.vue b/src/views/dashboard/components/dashboardForgeCards/CookingPotCard.vue
new file mode 100644
index 0000000..64f1bd6
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/CookingPotCard.vue
@@ -0,0 +1,75 @@
+
+
+
+
+
{{ pot.name }}
+
+
+
+
+ 品名: {{ pot.product }}
+ 鍋次: 第{{ pot.batch }}鍋
+ 溫度: {{ pot.temperature }}
+ 糖度: {{ pot.sugar }}
+ 狀態: {{ pot.status }}
+
+
+
+
+ 品檢時間: {{ pot.inspectionTime }}
+ 風味: {{ pot.flavor }}
+ 鹽度: {{ pot.salinity }}
+ 酸度: {{ pot.acidity }}
+
+
+
+
+
+
+
+
+ 當前使用量
+ 今日累積量
+
+
+
+
+ 補水
+ {{ pot.waterConsumption }}
+ 100L
+
+
+ 補醋
+ {{ pot.aceticAcidConsumption }}
+ 100L
+
+
+
+
+
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/HeaterCard.vue b/src/views/dashboard/components/dashboardForgeCards/HeaterCard.vue
new file mode 100644
index 0000000..53bd9da
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/HeaterCard.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
{{ item.equipment }}
+
+
+
+
+
+
+
{{ item.temperature }}
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/HeaterPotCard.vue b/src/views/dashboard/components/dashboardForgeCards/HeaterPotCard.vue
new file mode 100644
index 0000000..df62a9b
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/HeaterPotCard.vue
@@ -0,0 +1,17 @@
+
+
+
+
+
{{ heat.name }}
+
+
+ 溫度: {{ heat.temperature }}
+
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/MeterCard.vue b/src/views/dashboard/components/dashboardForgeCards/MeterCard.vue
new file mode 100644
index 0000000..6a23b86
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/MeterCard.vue
@@ -0,0 +1,21 @@
+
+
+
+
+
{{ meter.name }}
+
+
+ 電流: {{ meter.current }}
+ 電壓: {{ meter.voltage }}
+ 功率: {{ meter.power }}
+ 用電量: {{ meter.energyConsumption }}
+
+
+
+ 詳細資料
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/ProductionCard.vue b/src/views/dashboard/components/dashboardForgeCards/ProductionCard.vue
new file mode 100644
index 0000000..5b3b460
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/ProductionCard.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
第{{ item.batch }}鍋
+
{{ item.product }}
+
+
+
+
{{ item.equipment }}
+
{{ item.status }}
+
+
+
+
+
+
{{ item.temperature }}
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/RefrigerationCard.vue b/src/views/dashboard/components/dashboardForgeCards/RefrigerationCard.vue
new file mode 100644
index 0000000..6d84941
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/RefrigerationCard.vue
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+ {{ data.temperature }}
+
+
+
+
diff --git a/src/views/dashboard/components/dashboardForgeCards/ValveCard.vue b/src/views/dashboard/components/dashboardForgeCards/ValveCard.vue
new file mode 100644
index 0000000..c53bd2e
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/ValveCard.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+
+
+
{{ item.code }}
+
+
+
\ No newline at end of file
diff --git a/src/views/dashboard/components/dashboardForgeCards/VesselCard.vue b/src/views/dashboard/components/dashboardForgeCards/VesselCard.vue
new file mode 100644
index 0000000..79012df
--- /dev/null
+++ b/src/views/dashboard/components/dashboardForgeCards/VesselCard.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
{{ vessel.name }}
+
+
+
+
+ 品名: {{ vessel.product }}
+ 鍋次: 第{{ vessel.batch }}鍋
+ 狀態: {{ vessel.status }}
+
+
+
+
+
+
+
+ 順序
+ 動作
+ 原料
+ 狀態
+
+
+
+
+ {{ feed.order }}
+ {{ feed.action }}
+ {{ feed.material }}
+ {{ feed.state }}
+
+
+
+
+
+
+
+
+
+
+
+ 當前使用量
+ 今日累積量
+
+
+
+
+ {{ flow.material }}
+ {{ flow.current }}
+ {{ flow.total }}
+
+
+
+
+
+
+
+
+
diff --git a/src/views/history/components/HistorySearch.vue b/src/views/history/components/HistorySearch.vue
index 08b845d..92965bd 100644
--- a/src/views/history/components/HistorySearch.vue
+++ b/src/views/history/components/HistorySearch.vue
@@ -112,7 +112,7 @@ const getPoint = async (Device_list, Cumulant) => {
setPoints(
res.data.map((d, index) => ({
...d,
- title: d.points,
+ title: d.item_name,
key: d.points,
active: index === 0,
}))
diff --git a/src/views/login/Login.vue b/src/views/login/Login.vue
index d53ca77..cd0d857 100644
--- a/src/views/login/Login.vue
+++ b/src/views/login/Login.vue
@@ -11,7 +11,9 @@ const store = useUserInfoStore();
const router = useRouter();
const FILE_BASEURL = import.meta.env.VITE_FILE_API_BASEURL;
const imageSrc =
- import.meta.env.MODE === "production" ? "../dist/background.jpg" : "./background.jpg";
+ import.meta.env.MODE === "production"
+ ? "../dist/background.png"
+ : "./background.png";
let schema = yup.object({
account: yup.string().required("必填"),
password: yup.string().required("必填"),
@@ -41,76 +43,61 @@ const doLogin = async () => {
-
-
-
-
-
-
-
-
-
-
-
- 台灣百家珍釀造食品股份有限公司
-
-
-
-
- 帳號
-
-
- {{ formErrorMsg.account }}
-
-
-
-
密碼
-
-
-
-
-
- {{ formErrorMsg.password }}
-
-
-
-
- 登入
-
-
+
+
+
+
+ 帳號
+
+
+ {{ formErrorMsg.account }}
+
+
+
+
密碼
+
+
+
+
+ {{ formErrorMsg.password }}
+
+
+
+
+ 登入
+
-
diff --git a/src/views/productSetting/ProductSetting.vue b/src/views/productSetting/ProductSetting.vue
index 0eb602b..2781883 100644
--- a/src/views/productSetting/ProductSetting.vue
+++ b/src/views/productSetting/ProductSetting.vue
@@ -1,46 +1,46 @@
-
+
+
+
-
+
diff --git a/src/views/productSetting/components/ProducSettingBtn.vue b/src/views/productSetting/components/ProducSettingBtn.vue
deleted file mode 100644
index 51b0c19..0000000
--- a/src/views/productSetting/components/ProducSettingBtn.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- openModal(btn.authCode)"
- >
- {{ btn.subName }}
-
-
-
-
-
-
-
diff --git a/src/views/productSetting/components/ProductSettingPointModal.vue b/src/views/productSetting/components/ProductSettingPointModal.vue
deleted file mode 100644
index f1f3339..0000000
--- a/src/views/productSetting/components/ProductSettingPointModal.vue
+++ /dev/null
@@ -1,162 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- 取消
-
-
- 確定
-
-
-
-
-
-
diff --git a/src/views/productSetting/components/ProductSettingTypeAddModal.vue b/src/views/productSetting/components/ProductSettingTypeAddModal.vue
deleted file mode 100644
index 01013dc..0000000
--- a/src/views/productSetting/components/ProductSettingTypeAddModal.vue
+++ /dev/null
@@ -1,141 +0,0 @@
-
-
-
-
-
-
-
-
-
- 取消
-
-
- 確定
-
-
-
-
-
-
diff --git a/src/views/productSetting/components/ProductSettingTypeModal.vue b/src/views/productSetting/components/ProductSettingTypeModal.vue
deleted file mode 100644
index 9e30608..0000000
--- a/src/views/productSetting/components/ProductSettingTypeModal.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-
-
-
-
-
-
-
-
-
- 新增
-
-
-
-
- {{ record.disable === 0 ? "啟用" : "停用" }}
-
-
- edit(record)"
- >
- 修改
-
-
-
-
-
-
- 關閉
-
-
-
-
-
-
diff --git a/src/views/productSetting/components/WeightLossMachineSettingAddModal.vue b/src/views/productSetting/components/WeightLossMachineSettingAddModal.vue
new file mode 100644
index 0000000..fd06f98
--- /dev/null
+++ b/src/views/productSetting/components/WeightLossMachineSettingAddModal.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+ 取消
+
+
+ 確定
+
+
+
+
+
+
diff --git a/src/views/productSetting/components/WeightLossMachineSettingTable.vue b/src/views/productSetting/components/WeightLossMachineSettingTable.vue
new file mode 100644
index 0000000..a600472
--- /dev/null
+++ b/src/views/productSetting/components/WeightLossMachineSettingTable.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
檢重機設備列表
+
+
+ 新增
+
+
+ 更新
+
+
+
+
+ 更新時間 : {{ updateTime }}
+
+
+
+ openModal(record)"
+ >
+ 修改
+
+ removeAccount(record)"
+ >
+ 刪除
+
+
+
+ {{ record[column.key] }}
+
+
+
+
+
+