来自单据明细的台账
This commit is contained in:
@@ -147,6 +147,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>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
@@ -391,6 +397,15 @@ export default {
|
||||
this.resetForm("queryForm");
|
||||
this.handleQuery();
|
||||
},
|
||||
goLedger(row) {
|
||||
this.$router.push({
|
||||
path: '/wms/ledger',
|
||||
query: {
|
||||
itemId: row.productId,
|
||||
itemType: 'product'
|
||||
}
|
||||
})
|
||||
},
|
||||
handleBom(row) {
|
||||
this.bomDialogVisible = true;
|
||||
this.bomId = row.bomId;
|
||||
|
||||
Reference in New Issue
Block a user