Browse Source

manageNotifyMessage

featrue/v4.3
xpz2018 4 years ago
parent
commit
11bcf15cd1
8 changed files with 8 additions and 8 deletions
  1. 2
      app.js
  2. 2
      pages/agent/ability-item/index.js
  3. 2
      pages/agent/agent-item/index.js
  4. 2
      pages/agent/factory/index.js
  5. 2
      pages/article/allNewInfo/index.js
  6. 2
      pages/article/allNewInfo/index.wxml
  7. 2
      pages/article/newInfo/index.js
  8. 2
      pages/article/newInfo/index.wxml

2
app.js

@ -3,7 +3,7 @@ App({
//----------------------------------------------globalData--------------------------------------
evn: 0,//0:开发环境,1:测试环境,2:生产环境
tmplIds: ['SUjEgwDopCv9xkkSZ4KbS0L7XbAiVQor6GmPg14K760'],
agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'oLbv-IyJOia2tenh64_Lc8xeAzwgzu3gh1vFJ1Se-ME'],
agentMsgIds: ['kG8DErWDpyzBHCFaLlSKYMF7xVy8UpgogCwV_WSNt10', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'],
version: 152,
xAppId: '470236309865238528',
globalData: {

2
pages/agent/ability-item/index.js

@ -43,7 +43,7 @@ Component({
return
}
if(!this.data.item.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.item.manageNotifyMessage)
return
}
if(util.isEmpty(this.data.item.cateIndex)){

2
pages/agent/agent-item/index.js

@ -54,7 +54,7 @@ Component({
return
}
if(!this.data.item.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.item.manageNotifyMessage)
return
}
if(util.isEmpty(this.data.cateIndex)){

2
pages/agent/factory/index.js

@ -136,7 +136,7 @@ Page({
return
}
if(!this.data.factoryDetail.isOperations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(this.data.factoryDetail.manageNotifyMessage)
return
}
var item = this.data.factoryDetail.paperCategoryList[this.data.cateIndex]

2
pages/article/allNewInfo/index.js

@ -53,7 +53,7 @@ Page({
return
}
if(!e.currentTarget.dataset.operations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(e.currentTarget.dataset.msg)
return
}
util.navigateTo('/pages/agent/edit/index?id=' + e.currentTarget.dataset.fcid + '&categoryId=' + e.currentTarget.dataset.paperid)

2
pages/article/allNewInfo/index.wxml

@ -81,7 +81,7 @@
class="text-df {{cell.curDeductionPoint>0?'text-red':(cell.curDeductionPoint<0?'text-green':'text-black')}}"
style="flex:1;text-align: center">{{cell.curDeductionPoint|| 0}}</view>
<view class="text-df text-balck" style="flex:1;text-align: center" id="toDmai"
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" catchtap="toPage">
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" data-msg="{{item.manageNotifyMessage}}" catchtap="toPage">
<view class="son-table-btn">代卖</view>
</view>
</view>

2
pages/article/newInfo/index.js

@ -62,7 +62,7 @@ Component({
return
}
if(!e.currentTarget.dataset.operations){
util.showToast('该纸厂已暂停接单,请联系相关负责人!')
util.showToast(e.currentTarget.dataset.msg)
return
}
util.navigateTo('/pages/agent/edit/index?id='+e.currentTarget.dataset.fcid+'&categoryId='+e.currentTarget.dataset.paperid)

2
pages/article/newInfo/index.wxml

@ -111,7 +111,7 @@
style="flex:1;text-align: center" style="flex:1;text-align: center">
{{formate.formateDescripe(cell.curDeductionPoint)}}</view>
<view class="text-df text-balck" style="flex:1;text-align: center" id="toDmai"
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" catchtap="toPage">
data-fcId="{{item.paperMillId}}" data-paperId="{{cell.categoryId}}" data-operations="{{item.isOperations}}" data-msg="{{item.manageNotifyMessage}}" catchtap="toPage">
<view class="son-table-btn">代卖</view>
</view>
</view>

Loading…
Cancel
Save