change
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
// this.searchList()
|
||||
this.searchList()
|
||||
},
|
||||
methods: {
|
||||
handleBlur (e) {
|
||||
@@ -154,6 +154,14 @@
|
||||
if (!this.checkedArr.length) {
|
||||
return
|
||||
}
|
||||
let allValid = this.checkedArr.every(item => item.qty !== '');
|
||||
if (!allValid) {
|
||||
uni.showToast({
|
||||
title: '数量必填',
|
||||
icon: 'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
this.$store.dispatch('setPublicArr', this.checkedArr)
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user