|
@@ -190,6 +190,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
async submitHttp(model) {
|
|
|
+
|
|
|
+ if(model.list.length<=0){
|
|
|
+ this.$message.warning("导入数据不能为空");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
const res = await asyncRequest.orderimport(model);
|
|
|
if (res && res.code === 0) {
|
|
|
this.$notify.success({
|