-
+
@@ -661,8 +662,7 @@ export default {
,
rkAndQxButtonM(num) {
if (num === 1) { //整单入库
- console.log()
- if (this.asnFrom.id <= 0) {
+ if (this.asnFrom.id <= 0 || (Object.keys(this.asnFrom).length === 0)) {
this.crud.notify('请先提交入库单', CRUD.NOTIFICATION_TYPE.ERROR)
}
this.logining1 = true