来自单据明细的台账
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user