diff --git a/src/pages/api/fixedAssets.js b/src/pages/api/fixedAssets.js
index 07ae547..46645eb 100644
--- a/src/pages/api/fixedAssets.js
+++ b/src/pages/api/fixedAssets.js
@@ -1,4 +1,4 @@
-const BASE_URL = 'http://10.3.1.212:8089';//定义后端基础接口地址
+const BASE_URL = 'http://110.42.33.196:8089';//定义后端基础接口地址
import config from '../../config.js'; // 引入配置文件
diff --git a/src/pages/api/inventory.js b/src/pages/api/inventory.js
index 1235341..dd97edb 100644
--- a/src/pages/api/inventory.js
+++ b/src/pages/api/inventory.js
@@ -1,5 +1,5 @@
-const BASE_URL = 'http://10.3.1.212:8089';
-const config = require('config.js');
+const BASE_URL = 'http://110.42.33.196:8089';
+const config = require('config.js');
const formatTime = date => {
date = new Date(date);
const hour = date.getHours()
@@ -25,9 +25,9 @@ const formatDate = date => {
const formatDateTime = date => {
return `${formatDate(date)} ${formatTime(date)}`
-}
-let staff = uni.getStorageSync('staff');
-let staffisnull = (staff == null || staff == undefined || staff == '');
+}
+let staff = uni.getStorageSync('staff');
+let staffisnull = (staff == null || staff == undefined || staff == '');
export function getHeaders() {
const staff = uni.getStorageSync('staff') || null
const staffisnull = !staff
@@ -40,19 +40,19 @@ export function getHeaders() {
'datetime': formatDateTime(new Date()),
'createby': staffisnull ? null : staff.id
}
-}
-
-//分页请求固定资产盘点信息
+}
+
+//分页请求固定资产盘点信息
export function fetchAssetInventory(pageNum, pageSize) {
return new Promise((resolve, reject) => {
uni.request({
url: `${BASE_URL}/api/asset/inventory/page?pageNum=${pageNum}&pageSize=${pageSize}`,
method: 'POST',
- data: {
+ data: {
query:{},
- },
-
- header:getHeaders(),
+ },
+
+ header:getHeaders(),
success: (res) => {
if (res.statusCode === 200) {
@@ -66,5 +66,5 @@ export function fetchAssetInventory(pageNum, pageSize) {
}
});
});
-}
-
+}
+
diff --git a/src/pages/consumables/distribution.vue b/src/pages/consumables/distribution.vue
index c9e06e0..3cfecce 100644
--- a/src/pages/consumables/distribution.vue
+++ b/src/pages/consumables/distribution.vue
@@ -1,25 +1,95 @@
-
- 物资名称:{{ item.goodsName }}
- 发放数量:{{ item.actualQuantity
- }}
- 领用小组:{{ item.groupName }}
- 备注:{{ item.notes || '无' }}
- 发放计划:{{ item.planTitle }}
-
-
-
- 已领用
+
+
+
+ 领用小组
+
+
+
+
+ 共 {{ detailPlan.length }} 条
+ ·
+ 筛选出 {{ filteredPlan.length }} 条
- 暂无更多数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 发放数量
+ {{ item.actualQuantity }}
+
+
+ 领用小组
+ {{ item.groupName }}
+
+
+
+
+
+
+ 备注
+ {{ item.notes || '无' }}
+
+
+ 发放计划
+ {{ item.planTitle }}
+
+
+ 领用时间
+ {{ item.getTime ?? '-' }}
+
+
+
+
+
+
+ 已领用
+
+
+
+ 未找到匹配的小组
+
+
+ 暂无数据