diff --git a/ruoyi-ui/src/views/bas/BasProductCode/index.vue b/ruoyi-ui/src/views/bas/BasProductCode/index.vue index 14a2a12..2d6e9df 100644 --- a/ruoyi-ui/src/views/bas/BasProductCode/index.vue +++ b/ruoyi-ui/src/views/bas/BasProductCode/index.vue @@ -218,6 +218,7 @@ /> 搜索 重置 + 获取订单数据 @@ -243,8 +244,8 @@ @@ -619,9 +620,12 @@ export default { }, handleErpData(row) { + if (this.queryParams.spare1 === ''){ + this.$message.error('请输入订单号') + } const param = { - spare1: row.spare1 + spare1: this.queryParams.spare1 } getErpProductCodeData(param).then(response => { if (response.code === 200) {