Commit f6478b44 by zhangtw

页面新增已提交入库单无法修改弹窗

parent 379826e3
...@@ -703,8 +703,16 @@ export default { ...@@ -703,8 +703,16 @@ export default {
/** 修改按钮操作 */ /** 修改按钮操作 */
handleUpdate(row) { handleUpdate(row) {
this.reset(); this.reset();
const id = row.id;
let id = row.id;
if(id === undefined){
id = this.ids
}
getInbound(id).then(response => { getInbound(id).then(response => {
if(response.data.orderStatus === 2){
this.$modal.msgWarning("该入库单已提交,不能修改");
return;
}
this.form = response.data || {}; this.form = response.data || {};
// 货主回显 // 货主回显
this.form.ownerName = response.data.ownerName || response.data.ownerCode || response.data.ownerId; this.form.ownerName = response.data.ownerName || response.data.ownerCode || response.data.ownerId;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论