@@ -464,6 +464,10 @@ export default {
// 提交
handleSubmit () {
const _this = this
+ if (this.localDataSource.length == 0) {
+ _this.$message.error('请选择退货产品!')
+ return
+ }
_this.spinning = true
allocateReturnSubmit({ allocateReturnSn: this.$route.params.sn }).then(res => {
if (res.status == 200) {
@@ -455,6 +455,10 @@ export default {