diff --git a/klp-ui/src/api/wms/coilWarehouseOperationLog.js b/klp-ui/src/api/wms/coilWarehouseOperationLog.js
index 28f04b94..6234ec88 100644
--- a/klp-ui/src/api/wms/coilWarehouseOperationLog.js
+++ b/klp-ui/src/api/wms/coilWarehouseOperationLog.js
@@ -61,3 +61,13 @@ export function getCoilWarehouseOperationLogByWarehouseId(params) {
params
})
}
+
+// 根据钢卷ID查询操作记录及钢卷信息、库区信息
+export function getCoilWarehouseOperationLogByCoilId(params) {
+ return request({
+ timeout: 100000,
+ url: '/wms/coilWarehouseOperationLog/byCoilId',
+ method: 'get',
+ params
+ })
+}
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue
index 1627f4dd..f120b304 100644
--- a/klp-ui/src/views/wms/coil/panels/base.vue
+++ b/klp-ui/src/views/wms/coil/panels/base.vue
@@ -233,6 +233,8 @@
@click="handleAbnormal(scope.row)">查看异常
修正
+ 吞吐记录
追溯
@@ -367,6 +369,11 @@
+
+
+
+
+
@@ -408,6 +415,7 @@ import html2canvas from 'html2canvas';
import { PDFDocument } from 'pdf-lib';
import { listUser } from "@/api/system/user";
import AbnormalList from "./abnormal.vue";
+import LogTable from "@/views/wms/warehouse/components/LogTable.vue";
export default {
name: "MaterialCoil",
@@ -428,6 +436,7 @@ export default {
MutiSelect,
OuterTagPreview,
AbnormalList,
+ LogTable,
},
dicts: ['product_coil_status', 'coil_material', 'coil_itemname', 'coil_manufacturer', 'coil_quality_status', 'warehouse_sync'],
props: {
@@ -495,6 +504,10 @@ export default {
type: Boolean,
default: false,
},
+ showWareLog: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {
@@ -661,6 +674,7 @@ export default {
abnormalOpen: false,
currentCoilId: '',
userList: [],
+ logOpen: false,
};
},
computed: {
@@ -979,6 +993,10 @@ export default {
this.title = "修改钢卷物料";
});
},
+ handleLog(row) {
+ this.logOpen = true;
+ this.currentCoilId = row.coilId;
+ },
transferCoil() { },
/** 提交按钮 */
submitForm() {
diff --git a/klp-ui/src/views/wms/coil/typing.vue b/klp-ui/src/views/wms/coil/typing.vue
index faabcae8..fca6915e 100644
--- a/klp-ui/src/views/wms/coil/typing.vue
+++ b/klp-ui/src/views/wms/coil/typing.vue
@@ -182,7 +182,7 @@
-
+
diff --git a/klp-ui/src/views/wms/coil/ware.vue b/klp-ui/src/views/wms/coil/ware.vue
new file mode 100644
index 00000000..7fc3aef1
--- /dev/null
+++ b/klp-ui/src/views/wms/coil/ware.vue
@@ -0,0 +1,27 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/klp-ui/src/views/wms/warehouse/components/LogTable.vue b/klp-ui/src/views/wms/warehouse/components/LogTable.vue
index 70bb886f..b88d2eff 100644
--- a/klp-ui/src/views/wms/warehouse/components/LogTable.vue
+++ b/klp-ui/src/views/wms/warehouse/components/LogTable.vue
@@ -3,22 +3,26 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
查询
@@ -26,12 +30,7 @@
-
+
{{ scope.row.createTime }}
@@ -39,7 +38,11 @@
- {{ scope.row.operationType === 1 ? '入库' : '出库' }}
+ 收货
+ 加工
+ 调拨
+ 发货
+
@@ -52,19 +55,22 @@
{{ scope.row.coil && scope.row.coil.enterCoilNo ? scope.row.coil.enterCoilNo : '-' }}
-
+
- {{ scope.row.coil && scope.row.coil.itemName ? scope.row.coil.itemName : '-' }}
+ {{ scope.row.coil && scope.row.coil.netWeight ? scope.row.coil.netWeight : '-' }}
-
+
- {{ scope.row.coil && scope.row.coil.specification ? scope.row.coil.specification : '-' }}
+
+
- {{ scope.row.warehouse && scope.row.warehouse.actualWarehouseName ? scope.row.warehouse.actualWarehouseName : '-' }}
+ {{ scope.row.warehouse && scope.row.warehouse.actualWarehouseName ? scope.row.warehouse.actualWarehouseName :
+ '-' }}
@@ -72,82 +78,148 @@
{{ scope.row.remark || '-' }}
+
+
+
+ 删除
+
+
-
+
\ No newline at end of file