纸通宝SAAS仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

26 lines
751 B

// pages/message/index.js
Component({
options: {
addGlobalClass: true,
multipleSlots: true
},
properties: {
item: { type: Object, value: null },
itemId: { type: String, value: null }
},
methods: {
lookItem: function (e) {
var orderItem = this.data.item.orderItems[e.currentTarget.dataset.index]
var data = { millName: this.data.item.paperMillName, createTime: this.data.item.createTime }
data.categoryName = orderItem.paperCategoryName
data.plateNumber = orderItem.plateNumber
data.id = orderItem.id
const channel = this.getOpenerEventChannel()
if(!channel){
return
}
channel.emit('onCallback', { what: 62, detail: data })
wx.navigateBack()
}
}
})