零件出库
This commit is contained in:
@@ -132,7 +132,7 @@ export function dropListDetail(DetailNumberx, isBacklog) {
|
||||
data: {
|
||||
type: '2',
|
||||
name: '车间装配管理_领料单_领料单明细删除',
|
||||
param: '领料单明细流水号=' + DetailNumberx + '&是否滞货=' + isBacklog
|
||||
param: '领料单明细流水号=' + DetailNumberx + '&是否是滞货=' + isBacklog
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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: '取消',
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
:data="tableData11"
|
||||
:row-class-name="tableRowClassName"
|
||||
border
|
||||
style="width: 100%;max-height: 600px;"
|
||||
height="600px"
|
||||
style="width: 100%;max-height: 500px;"
|
||||
height="500px"
|
||||
size="mini"
|
||||
@selection-change="handleSelectionChange1">
|
||||
<el-table-column :selectable="selectable" align="center" width="35" type="selection"/>
|
||||
@@ -107,7 +107,7 @@
|
||||
<!--</el-tooltip>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="可用滞货数量" align="center" min-width="80">
|
||||
<el-table-column label="可用滞货数量" align="center" min-width="100">
|
||||
<template slot-scope="scope">
|
||||
{{ Number(scope.row.滞货数量) }}
|
||||
</template>
|
||||
@@ -351,12 +351,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="机床图号" align="center" min-width="100">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.机床图号 }}
|
||||
{{ scope.row.机床图号 || scope.row.基本件机床图号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="组号" align="center" min-width="70">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.组号 }}
|
||||
{{ scope.row.组号 || scope.row.基本件组号 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
@@ -1124,6 +1124,7 @@ export default {
|
||||
this.supplierExport = row.供应商名称
|
||||
this.orderExport = row.询价单编号
|
||||
searchSheetDetail(row.询价单流水号).then(response => {
|
||||
console.log(response.data)
|
||||
this.tableData3 = response.data
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user