库存查询移库修改

This commit is contained in:
zx
2026-01-22 18:29:49 +08:00
parent 06f963e8f2
commit 51ef75d0a0
2 changed files with 9 additions and 4 deletions

View File

@@ -310,7 +310,7 @@
:row-class-name="tableRowClassName" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="30" align="center" />
<el-table-column label="序号" align="center" type="index" width="50" />
<el-table-column label="状态" align="center" prop="status" width="100">
<el-table-column label="状态" align="center" prop="status" width="100" v-if="idEdit == 0">
<template #default="scoped">
<el-tag :type="scoped.row.status == 1
? 'success'
@@ -1254,7 +1254,6 @@ function addOne() {
}
//根据物料号查询物料信息
// todo 空的物料号会查询出所有信息 查询一条查询不出
function searchInfo(wlNo, index) {
wlSearch(wlNo).then((res) => {
if (res.rows.length > 0) {
@@ -1274,7 +1273,7 @@ function handleUpdate(row) {
reset();
idEdit.value = row.id;
row.isnew = true;
planList.value = JSON.parse(JSON.stringify(row));
planList.value = [JSON.parse(JSON.stringify(row))];
open.value = true;
title.value = "修改库存单据";
}