|
@@ -52,7 +52,8 @@ export default {
|
|
|
formDialog: false,
|
|
|
id: '',
|
|
|
flag: '',
|
|
|
- isShowTab: true
|
|
|
+ isShowTab: true,
|
|
|
+ orderEnginBaseId: ''
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -74,6 +75,11 @@ export default {
|
|
|
},
|
|
|
formItems() { }
|
|
|
},
|
|
|
+ created(){
|
|
|
+ if(this.$route.query.orderEnginBaseId){
|
|
|
+ this.orderEnginBaseId = this.$route.query.orderEnginBaseId
|
|
|
+ }
|
|
|
+ },
|
|
|
watch: {
|
|
|
flag(){
|
|
|
this.isShowTab = false
|
|
@@ -96,7 +102,7 @@ export default {
|
|
|
getList(p, cb) {
|
|
|
try {
|
|
|
var pam = JSON.parse(JSON.stringify(p))
|
|
|
- pam.params.push({ "param": "a.goods_type", "compare": "=", "value": 'P' }, { "param": "a.type", "compare": "=", "value": 'NEW' }, { 'param': 'a.flag', "compare": "=", "value": this.flag })
|
|
|
+ pam.params.push({ "param": "a.goods_type", "compare": "=", "value": 'P' }, { "param": "a.type", "compare": "=", "value": 'NEW' }, { 'param': 'a.flag', "compare": "=", "value": this.flag }, { 'param': 'a.order_engin_base_id', "compare": "=", "value": this.orderEnginBaseId })
|
|
|
cb && cb(pam)
|
|
|
return listPageV2(pam)
|
|
|
} catch (error) {
|