diff --git a/src/views/basic/product/product.vue b/src/views/basic/product/product.vue index 32bd8c69..91564b6d 100644 --- a/src/views/basic/product/product.vue +++ b/src/views/basic/product/product.vue @@ -277,36 +277,37 @@ >查询 + 添加 + diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index 368c5b47..7e8e9754 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -1398,15 +1398,17 @@ export default { }); return; } else if (response.code == 604) { - this.$confirm(response.message, "提示", { - confirmButtonText: "确定", - cancelButtonText: "取消", - type: "warning", - }) - .then(() => { - }) - .catch(() => { - }); + this.$message.error(response.message); + + // this.$confirm(response.message, "提示", { + // confirmButtonText: "确定", + // cancelButtonText: "取消", + // type: "warning", + // }) + // .then(() => { + // }) + // .catch(() => { + // }); return; } else if (response.code == 507) { this.editOriginCodeVisible = true; @@ -1426,15 +1428,17 @@ export default { this.spaceCodeList = response.data; this.selectSpaceVisible = true; } else { - this.$alert(response.message, "提示", { - confirmButtonText: "确定", - type: "warning", - closeOnClickModal: true, - callback: (action) => { - this.$refs.inputRef.focus(); - this.$refs.inputRef.select(); - }, - }); + + this.$message.error(response.message); + // this.$alert(response.message, "提示", { + // confirmButtonText: "确定", + // type: "warning", + // closeOnClickModal: true, + // callback: (action) => { + // this.$refs.inputRef.focus(); + // this.$refs.inputRef.select(); + // }, + // }); } } this.loading = false; @@ -1740,15 +1744,16 @@ export default { this.codeFormData.code = "01" + response.data.nameCode; this.originCode = this.codeFormData.code; } else { - this.$alert(response.message, "提示", { - confirmButtonText: "确定", - type: "warning", - closeOnClickModal: true, - callback: (action) => { - this.$refs.inputRef.focus(); - this.$refs.inputRef.select(); - }, - }); + this.$message.error(response.message); + // this.$alert(response.message, "提示", { + // confirmButtonText: "确定", + // type: "warning", + // closeOnClickModal: true, + // callback: (action) => { + // this.$refs.inputRef.focus(); + // this.$refs.inputRef.select(); + // }, + // }); } } this.loading = false;