|
|
|
@ -821,10 +821,19 @@ export default {
|
|
|
|
|
this.formData.busName = info.busName
|
|
|
|
|
this.autoTag = info.autoTag
|
|
|
|
|
this.editableTabs = []
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(10)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(1000)
|
|
|
|
|
|
|
|
|
|
if (this.inAndOutType == 1) {
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(10)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(1000)
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(0)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(10000)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.showChild = false
|
|
|
|
@ -847,20 +856,12 @@ export default {
|
|
|
|
|
this.formData.workplaceName = info.workplaceName
|
|
|
|
|
this.editableTabs = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.workPlaceClass == 2 ){
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(1)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(100)
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(0)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(10000)
|
|
|
|
|
}
|
|
|
|
|
if (this.productType == 2) {
|
|
|
|
|
this.clickMenuItem(1)
|
|
|
|
|
} else {
|
|
|
|
|
this.clickMenuItem(100)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.showChild = false
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.showChild = true
|
|
|
|
|