Commit 3e1fa5a4 by 李伟康

commit 修复门店选全部报错

1 parent 3f3baebb
...@@ -265,7 +265,7 @@ export default { ...@@ -265,7 +265,7 @@ export default {
], ],
searchForm: { searchForm: {
searchdate: [new Date(), new Date()], searchdate: [new Date(), new Date()],
serviceMerchantNo: "", // serviceMerchantNo: "",
employeeName: "", employeeName: "",
phoneNumber: "", phoneNumber: "",
// toStoreCount: [], // toStoreCount: [],
...@@ -494,6 +494,7 @@ export default { ...@@ -494,6 +494,7 @@ export default {
currentPage: 1 currentPage: 1
}).then((res) => { }).then((res) => {
this.baseData.parkServiceList = res.list this.baseData.parkServiceList = res.list
this.getOptionsList()
}) })
}, },
getServiceStore (merchantId) { getServiceStore (merchantId) {
...@@ -580,7 +581,7 @@ export default { ...@@ -580,7 +581,7 @@ export default {
] !== "全部" ] !== "全部"
) { ) {
const temp = {} const temp = {}
temp[this.showFormData[index].optionId] = "" // temp[this.showFormData[index].optionId] = ""
temp[this.showFormData[index].optionLabel] = "全部" temp[this.showFormData[index].optionLabel] = "全部"
this.baseData[item.optionsName].unshift(temp) this.baseData[item.optionsName].unshift(temp)
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!