diff --git a/src/api/mes/unitPrice.js b/src/api/mes/unitPrice.js
index f39eeee..a7a492e 100644
--- a/src/api/mes/unitPrice.js
+++ b/src/api/mes/unitPrice.js
@@ -16,7 +16,6 @@ export function getUnitPrice(picId) {
method: 'get'
});
}
-
// 新增unitPrice
export function addUnitPrice(data) {
return request({
diff --git a/src/api/mes/unitPriceReport.js b/src/api/mes/unitPriceReport.js
index 847ccf5..417d7c8 100644
--- a/src/api/mes/unitPriceReport.js
+++ b/src/api/mes/unitPriceReport.js
@@ -8,12 +8,7 @@ export function listUnitPriceReport(query) {
params: query
});
}
-// export function getReport(id) {
-// return request({
-// url: '/mes/unitPriceReport/' + id,
-// method: 'get'
-// });
-// }
+
// 查询【计件工资】详细
export function getReport(id) {
return request({
@@ -29,3 +24,20 @@ export function updateUnitPriceReport(data) {
data: data
});
}
+// 新增
+// 计件工资统计
+export function addUnitPriceReport(data) {
+ return request({
+ url: '/mes/unitPriceReport',
+ method: 'post',
+ data: data
+ });
+}
+// 查询生产工单列表--顶级母
+export function listWorkorderLevel0(query) {
+ return request({
+ url: '/plan/pro/workorder/listLevel0',
+ method: 'get',
+ params: query
+ });
+}
diff --git a/src/api/system/user.js b/src/api/system/user.js
index 3b071f9..c464094 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -17,6 +17,14 @@ export function getUser(userId) {
method: 'get'
})
}
+// 查询用户详细-通过工号
+export function getUserByUserName(data) {
+ return request({
+ url: '/system/user/getInfoByUserName/',
+ method: 'post',
+ data: data
+ })
+}
// 新增用户
export function addUser(data) {
diff --git a/src/assets/icons/svg/print.svg b/src/assets/icons/svg/print.svg
new file mode 100644
index 0000000..3f17cb3
--- /dev/null
+++ b/src/assets/icons/svg/print.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/src/views/mes/unitpriceReport/index.vue b/src/views/mes/unitpriceReport/index.vue
index 498d4e9..6faaa9e 100644
--- a/src/views/mes/unitpriceReport/index.vue
+++ b/src/views/mes/unitpriceReport/index.vue
@@ -42,10 +42,10 @@
@keyup.enter.native="handleQuery"
/>
-
+
@@ -69,16 +69,15 @@
-
-
-
-
-
-
-
-
-
-
+ 补录
+
-
+
@@ -281,16 +280,243 @@
取 消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PC
+
+
+
+
+
+
+ 小时
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+