|
|
@@ -78,7 +78,7 @@ Component({
|
|
|
addType() {
|
|
|
let page = getCurrentPages()[getCurrentPages().length - 1];
|
|
|
if (page.route == 'packageA/contract/detail') {
|
|
|
- if (page.data.detail.type == '经销商合作协议' || page.data.detail.type == '居间协议') {
|
|
|
+ if (page.data.detail.type == '经销商合作协议' || page.data.detail.type == '直销客户合作协议' || page.data.detail.type == '居间协议') {
|
|
|
wx.navigateTo({
|
|
|
url: '/packageA/contract/modules/discount/type/add/index?sa_contractid=' + this.data.sa_contractid
|
|
|
})
|