toExamine(e) {
wx.showLoading({
title: '加载中',
})
const { item: { _id }, name } = e.currentTarget.dataset;
const _openid =wx.getStorageSync('openid')
console.log(_openid)
db.collection('orderReceive').doc(_id).update({
data: {
state: name,
examinePerson:_openid
},
success: (res) => {
console.log('成功')
this.onLoad();
wx.hideLoading();
}
})
},