diff --git a/src/api/production/tool.js b/src/api/production/tool.js
index ae3c9e4..d86624d 100644
--- a/src/api/production/tool.js
+++ b/src/api/production/tool.js
@@ -22,3 +22,7 @@ export const searchToolTransTypeList = data =>
// 工具实例出入库记录明细分页查询(工具清单联动明细)
export const searchToolInstanceTransDetailPage = data =>
createAPI('/production/tool/searchToolInstanceTransDetailPage', 'post', data)
+
+// 工具出入库单头 + 明细合并分页查询(合并列表)
+export const searchToolTransMergePage = data =>
+ createAPI('/production/tool/searchToolTransMergePage', 'post', data)
diff --git a/src/views/modules/tool/toolInstanceQuery.vue b/src/views/modules/tool/toolInstanceQuery.vue
index 44fdeee..cddd8b4 100644
--- a/src/views/modules/tool/toolInstanceQuery.vue
+++ b/src/views/modules/tool/toolInstanceQuery.vue
@@ -17,9 +17,12 @@
-
+
+
+
+
@@ -144,6 +147,7 @@ const TOOL_INSTANCE_COLUMN_SPECS = [
{ prop: 'supplierName', label: '模具供应商', width: 140, align: 'left', tooltip: true },
{ prop: 'lastOrderNo', label: '最后订单', width: 80, align: 'left', tooltip: true },
{ prop: 'lastSeqNo', label: '最后派工单', width: 100, align: 'right' },
+ { prop: 'nowSeqNo', label: '当前派工单', width: 100, align: 'right' },
{ prop: 'operatorCombo', label: '操作员', width: 80, align: 'left', tooltip: true, slotKey: 'operator' },
{ prop: 'standardLifeQty', label: '标准寿命(次)', width: 100, align: 'right' },
{ prop: 'actualUseQty', label: '累计使用次数', width: 100, align: 'right' },
@@ -181,6 +185,7 @@ export default {
toolInstanceId: '',
locationId: '',
lastSeqNoInput: '',
+ nowSeqNoInput: '',
lastOrderNo: '',
toolSpec: '',
},
@@ -259,6 +264,8 @@ export default {
this.dataListLoading = true
const seqStr = String(this.searchData.lastSeqNoInput || '').trim()
const parsedSeq = seqStr === '' ? NaN : Number(seqStr)
+ const nowSeqStr = String(this.searchData.nowSeqNoInput || '').trim()
+ const parsedNowSeq = nowSeqStr === '' ? NaN : Number(nowSeqStr)
const payload = {
site: this.searchData.site ? this.searchData.site.trim() : undefined,
toolId: this.searchData.toolId ? this.searchData.toolId.trim() : undefined,
@@ -272,6 +279,9 @@ export default {
if (Number.isFinite(parsedSeq)) {
payload.lastSeqNo = parsedSeq
}
+ if (Number.isFinite(parsedNowSeq)) {
+ payload.nowSeqNo = parsedNowSeq
+ }
searchToolInstancePage(payload).then(({ data }) => {
this.dataListLoading = false
if (data && data.code === 0 && data.page) {
diff --git a/src/views/modules/tool/toolInventoryLog.vue b/src/views/modules/tool/toolInventoryLog.vue
index a130a87..de76a70 100644
--- a/src/views/modules/tool/toolInventoryLog.vue
+++ b/src/views/modules/tool/toolInventoryLog.vue
@@ -1,17 +1,17 @@
-
+
出入库记录
-
+
-
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 供应商名称
+
- 查询
+ 查询
-
-
出入库明细
-
-
-
-
- {{ scope.row[item.columnProp] }}
-
-
-
-
-
-
-
+
+