来自单据明细的台账

This commit is contained in:
砂糖
2025-08-11 11:03:06 +08:00
parent 358b604895
commit 9cb9723603
5 changed files with 424 additions and 14 deletions

View File

@@ -155,6 +155,12 @@
icon="el-icon-delete"
@click="handleDelete(scope.row)"
>删除</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-document"
@click="goLedger(scope.row)"
>台账</el-button>
</template>
</el-table-column>
</el-table>
@@ -392,6 +398,15 @@ export default {
this.loading = false;
});
},
goLedger(row) {
this.$router.push({
path: '/wms/ledger',
query: {
itemId: row.rawMaterialId,
itemType: 'raw_material'
}
})
},
// 取消按钮
cancel() {
this.open = false;