|
|
@ -200,6 +200,7 @@ |
|
|
<template v-if="!authIssue"> |
|
|
<template v-if="!authIssue"> |
|
|
<el-link v-if="scope.row.orderStatus === '草稿' || scope.row.orderStatus === '编辑中'" style="cursor: pointer" @click="issueModal(scope.row)">下达</el-link> |
|
|
<el-link v-if="scope.row.orderStatus === '草稿' || scope.row.orderStatus === '编辑中'" style="cursor: pointer" @click="issueModal(scope.row)">下达</el-link> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
<el-link v-if="(scope.row.orderStatus === '已关闭' || scope.row.orderStatus === '已完成') && (scope.row.orderType === '采购退货' || scope.row.orderType === '其他出库')" style="cursor: pointer" @click="openModal(scope.row)">打开</el-link> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
@ -802,6 +803,7 @@ |
|
|
searchOutboundNotification, // 查询拣货出库单 |
|
|
searchOutboundNotification, // 查询拣货出库单 |
|
|
saveOutboundNotification, // 新增拣货出库单 |
|
|
saveOutboundNotification, // 新增拣货出库单 |
|
|
updateOutboundNotification, // 编辑拣货出库单 |
|
|
updateOutboundNotification, // 编辑拣货出库单 |
|
|
|
|
|
openOutboundNotification, // 打开拣货出库单 |
|
|
deleteOutboundNotification, // 删除拣货出库单 |
|
|
deleteOutboundNotification, // 删除拣货出库单 |
|
|
closeOutboundNotification, // 关闭拣货出库单 |
|
|
closeOutboundNotification, // 关闭拣货出库单 |
|
|
issueOutboundNotification, // 下达拣货出库单 |
|
|
issueOutboundNotification, // 下达拣货出库单 |
|
|
@ -1793,6 +1795,29 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 打开 |
|
|
|
|
|
openModal (row) { |
|
|
|
|
|
this.$confirm('确认打开?', '提示', { |
|
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
|
type: 'warning' |
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
let inData = { |
|
|
|
|
|
site: row.site, |
|
|
|
|
|
buNo: row.buNo, |
|
|
|
|
|
orderNo: row.orderNo |
|
|
|
|
|
} |
|
|
|
|
|
openOutboundNotification(inData).then(({data}) => { |
|
|
|
|
|
if (data && data.code === 0) { |
|
|
|
|
|
this.getDataList() |
|
|
|
|
|
this.$message.success('操作成功') |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$message.error(data.msg) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 列表表格选择替换 |
|
|
// 列表表格选择替换 |
|
|
tabClick (tab, event) { |
|
|
tabClick (tab, event) { |
|
|
// 刷新列表数据 |
|
|
// 刷新列表数据 |
|
|
|