diff --git a/klp-ui/src/views/wms/cost/stockpile/index.vue b/klp-ui/src/views/wms/cost/stockpile/index.vue
new file mode 100644
index 00000000..68864004
--- /dev/null
+++ b/klp-ui/src/views/wms/cost/stockpile/index.vue
@@ -0,0 +1,5 @@
+
+
+ 囤积成本页面
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/delivery/report/index.vue b/klp-ui/src/views/wms/delivery/report/index.vue
index 6f266fcc..02d678ed 100644
--- a/klp-ui/src/views/wms/delivery/report/index.vue
+++ b/klp-ui/src/views/wms/delivery/report/index.vue
@@ -50,11 +50,11 @@
v-loading="loading"
>
-
+
{{ row.coilCount || 0 }}
@@ -65,11 +65,11 @@
{{ formatWeight(row.totalWeight) }}
-
+
{{ formatDailyValue(row.dailyCoilCount) }}
@@ -112,11 +112,12 @@ export default {
initDateRange() {
const now = new Date()
const firstDay = new Date(now.getFullYear(), now.getMonth(), 1)
- const lastDay = new Date(now.getFullYear(), now.getMonth() + 1, 0)
+ // const lastDay = new Date(now.getFullYear(), now.getMonth() + 1, 0)
+ const today = new Date()
this.dateRange = [
this.formatDate(firstDay),
- this.formatDate(lastDay)
+ this.formatDate(today)
]
},
diff --git a/klp-ui/src/views/wms/receive/components/ExportGuide.vue b/klp-ui/src/views/wms/receive/components/ExportGuide.vue
new file mode 100644
index 00000000..e69de29b
diff --git a/klp-ui/src/views/wms/receive/components/ImportGuide.vue b/klp-ui/src/views/wms/receive/components/ImportGuide.vue
new file mode 100644
index 00000000..19d55499
--- /dev/null
+++ b/klp-ui/src/views/wms/receive/components/ImportGuide.vue
@@ -0,0 +1,29 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/receive/detail/index.vue b/klp-ui/src/views/wms/receive/detail/index.vue
index 01ad623c..a4153a12 100644
--- a/klp-ui/src/views/wms/receive/detail/index.vue
+++ b/klp-ui/src/views/wms/receive/detail/index.vue
@@ -35,10 +35,10 @@
搜索
重置
-
刷新
-
+ 导入
+ 导出
@@ -96,6 +96,12 @@
+
+
+
+
+
+
@@ -103,11 +109,13 @@
import { listDeliveryPlan } from "@/api/wms/deliveryPlan"; // 导入收货计划API
import { listPendingAction } from '@/api/wms/pendingAction';
import MemoInput from "@/components/MemoInput";
+import ImportGuide from "@/views/wms/receive/components/ImportGuide.vue";
export default {
name: "DeliveryWaybill",
components: {
- MemoInput
+ MemoInput,
+ ImportGuide
},
data() {
return {
@@ -172,7 +180,10 @@ export default {
pageSize: 100, // 增大分页大小以确保树形结构显示足够数据
planName: undefined,
planType: 1,
- }
+ },
+
+ // 导入弹窗
+ importDialogVisible: false,
};
},
created() {
@@ -275,17 +286,7 @@ export default {
/** 新增按钮操作 */
handleAdd() {
- this.reset();
- // 自动填入选中的planId
- if (this.selectedPlan) {
- this.form.planId = this.selectedPlan.planId;
- // 可以根据需要填充其他相关字段
- if (this.selectedPlan.planName) {
- this.form.waybillName = `收货单_${this.selectedPlan.planName}`;
- }
- }
- this.open = true;
- this.title = "添加收货单";
+ this.importDialogVisible = true;
},
/** 修改按钮操作 */
handleUpdate(row) {