1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

search support in the customer list (#621)

Co-authored-by: Elsio Sanchez <elsiosanche@gmail.com>
This commit is contained in:
Elsio Sanchez 2021-03-03 00:44:10 -04:00 committed by GitHub
parent b1bd5c8e11
commit f2614f70fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -238,7 +238,8 @@ export default {
},
sendValuesToServer() {
const fieldsNotReady = this.$store.getters.getFieldsListEmptyMandatory({
containerUuid: this.containerUuid
containerUuid: this.containerUuid,
isValidate: true
})
if (!this.isEmptyValue(fieldsNotReady)) {
showNotification({

View File

@ -73,7 +73,8 @@ export default {
computed: {
emptyMandatoryFields() {
const field = this.$store.getters.getFieldsListEmptyMandatory({
containerUuid: this.containerUuid
containerUuid: this.containerUuid,
isValidate: true
})
return field
}

View File

@ -177,7 +177,7 @@ export default {
containerUuid: mutation.payload.containerUuid,
format: 'object'
})
this.searchBPartnerList({ contactName: values.Name2 })
this.searchBPartnerList(values)
}
})
},

View File

@ -350,7 +350,8 @@ export default {
const containerUuid = this.containerUuid
const fieldsEmpty = this.$store.getters.getFieldsListEmptyMandatory({
containerUuid,
fieldsList: this.fieldsList
fieldsList: this.fieldsList,
isValidate: true
})
const amount = this.$store.getters.getValueOfField({
containerUuid,