零件出库
This commit is contained in:
@@ -337,6 +337,7 @@ export default {
|
||||
backlogPart(row.领料单明细流水号, row.出库数量, row.滞货物料与货位对照流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('出库成功')
|
||||
this.searchListDetailt()
|
||||
} else { this.$message.error('出库失败') }
|
||||
})
|
||||
} else if (row.出库类型 === 3) { // 车间采购件
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
{{ scope.row.备注 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column v-if="false" label="操作" align="center" width="100">
|
||||
<el-table-column v-if="true" label="操作" align="center" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button :disabled="!!scope.row.是否出库" size="mini" type="danger" icon="el-icon-delete" @click="dropListdetail(scope.row)">删除</el-button>
|
||||
</template>
|
||||
@@ -693,7 +693,7 @@ export default {
|
||||
// 删除领料单明细
|
||||
dropListdetail(row) {
|
||||
let isBacklog
|
||||
console.log(row)
|
||||
Number(row.出库类型) === 4 ? isBacklog = 1 : isBacklog = 0
|
||||
this.$confirm('此操作将永久删除该行, 是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
||||
Reference in New Issue
Block a user