diff --git a/gear-ui3/index.html b/gear-ui3/index.html
index 2f1f1b4..1ed4f1c 100644
--- a/gear-ui3/index.html
+++ b/gear-ui3/index.html
@@ -6,7 +6,7 @@
-
+
创高家具销售系统
\ No newline at end of file
diff --git a/gear-ui3/src/views/purchase/dashboard/index.vue b/gear-ui3/src/views/purchase/dashboard/index.vue
new file mode 100644
index 0000000..a9187c1
--- /dev/null
+++ b/gear-ui3/src/views/purchase/dashboard/index.vue
@@ -0,0 +1,715 @@
+
+
+
+
+
+
+
+
+ 数据分析页面
+
+
+
+
+
+
+
+
+
+
+
总供应商数
+
{{ totalSuppliers }}
+
+
+
+
+
+
+
+
+
+ {{ Math.abs(supplierTrend) }}%
+
+
较上月
+
+
+
+
+
+
+
+
+
总供货类型
+
{{ totalSupplyTypes }}
+
+
+
+
+
+
+
+
+
+
+
+
+
总采购金额
+
¥{{ totalPurchaseAmount.toLocaleString() }}
+
+
+
+
+
+
+
+
+
+ {{ Math.abs(amountTrend) }}%
+
+
较上月
+
+
+
+
+
+
+
+
+
已完成计划
+
{{ completedPlans }}
+
+
+
+
+ {{ completionRate }}% 完成率
+
+
+
+
+
+
+
+
+
+
+
+
+ 供货类型分类占比
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 数据状态:采购计划{{ purchasePlans.length }}条 / 状态字典{{ purchase_status.length }}种
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/gear-ui3/src/views/purchase/shop/index.vue b/gear-ui3/src/views/purchase/shop/index.vue
index c08cb7a..d3d5bfa 100644
--- a/gear-ui3/src/views/purchase/shop/index.vue
+++ b/gear-ui3/src/views/purchase/shop/index.vue
@@ -91,6 +91,22 @@
+
+
+
+
+
+
+
+
修改
@@ -138,9 +154,9 @@
-
+
@@ -161,6 +177,8 @@ import { listSupplier } from "@/api/oa/supplier";
const { proxy } = getCurrentInstance();
+const { purchase_status } = proxy.useDict('purchase_status')
+
const purchasePlanDetailList = ref([]);
const open = ref(false);
const buttonLoading = ref(false);
@@ -176,6 +194,14 @@ const formatterTime = (time) => {
return proxy.parseTime(time, '{y}-{m}-{d}')
}
+const handleStatusChange = (row) => {
+ const { totalAmount, ...payload } = row;
+ updatePurchasePlanDetail(payload).then(response => {
+ proxy.$modal.msgSuccess("修改成功");
+ getList();
+ });
+}
+
const data = reactive({
form: {},
queryParams: {