Commit 367cdd4c by 张立顺

Merge branch 'SAAS+V4.38.5-0522' of http://192.168.3.233:8090/saas_plus/dj-car-l…

…ife-system into SAAS+V4.38.5-0522
2 parents 9b7ebd3b 3f3baebb
...@@ -229,7 +229,7 @@ export default { ...@@ -229,7 +229,7 @@ export default {
}, },
{ {
label: "归属门店", label: "归属门店",
name: "storeMerchantNo", name: "RecMerchantNo",
type: "select", type: "select",
optionList: [], optionList: [],
optionId: "merchantId", optionId: "merchantId",
...@@ -266,7 +266,6 @@ export default { ...@@ -266,7 +266,6 @@ export default {
searchForm: { searchForm: {
searchdate: [new Date(), new Date()], searchdate: [new Date(), new Date()],
serviceMerchantNo: "", serviceMerchantNo: "",
storeMerchantNo: "",
employeeName: "", employeeName: "",
phoneNumber: "", phoneNumber: "",
// toStoreCount: [], // toStoreCount: [],
......
...@@ -119,10 +119,8 @@ export default { ...@@ -119,10 +119,8 @@ export default {
let id = `${data.searchdate}_${data.phoneNumber}_${data.merchantNo}`, let id = `${data.searchdate}_${data.phoneNumber}_${data.merchantNo}`,
windowList = [...this.tab, ...this.dropdownList], windowList = [...this.tab, ...this.dropdownList],
windowItem = windowList.find((e) => e.id == id) windowItem = windowList.find((e) => e.id == id)
this.windowId = id if (windowItem) return this.windowId = id
if (windowItem) return if (windowList.length == 20) return this.$message.error("最多同时打开20个tabs")
if (windowList.length == 20)
return this.$message.error("最多同时打开20个tabs")
let item = { let item = {
text: data.employeeName, text: data.employeeName,
data, data,
...@@ -133,6 +131,7 @@ export default { ...@@ -133,6 +131,7 @@ export default {
this.tab.push(item) this.tab.push(item)
this.checkEl() this.checkEl()
} }
this.windowId = id
}, },
close (index) { close (index) {
this.tab.splice(index, 1) this.tab.splice(index, 1)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!