|
|
|
@ -2,9 +2,8 @@ |
|
|
|
const util = require('../../../utils/util') |
|
|
|
const math = require('../../../utils/math') //导入模块
|
|
|
|
const app = getApp() |
|
|
|
import { |
|
|
|
getPaperMillOfInformationList, |
|
|
|
} from "../../api/ztb" |
|
|
|
|
|
|
|
import { getPaperMillOfInformationList } from "../../api/ztb" |
|
|
|
import { getPreferList } from "../../api/moment" |
|
|
|
Component({ |
|
|
|
options: { |
|
|
|
@ -58,14 +57,19 @@ Component({ |
|
|
|
util.navigateTo('/pages/agent/factory/index?id='+e.currentTarget.dataset.factoryid) |
|
|
|
} |
|
|
|
if(e.currentTarget.id == 'toDmai'){ |
|
|
|
if (!app.globalData.userInfo) { |
|
|
|
wx.navigateTo({ url: '/pages/login/index' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if(!e.currentTarget.dataset.operations){ |
|
|
|
util.showToast('该纸厂已暂停接单,请联系相关负责人!') |
|
|
|
return |
|
|
|
} |
|
|
|
util.navigateTo('/pages/agent/edit/index?id='+e.currentTarget.dataset.fcid+'&categoryId='+e.currentTarget.dataset.paperid) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
toPageDetails:function(e){ |
|
|
|
util.navigateTo('/pages/article/detail/index?id='+e.currentTarget.id) |
|
|
|
|
|
|
|
util.navigateTo('/pages/article/detail/index?id='+e.currentTarget.id) |
|
|
|
}, |
|
|
|
changeTable: function (e) { |
|
|
|
var a = e.currentTarget.id |
|
|
|
|