添加页面及完善二级页面

This commit is contained in:
zhengw
2026-03-09 14:21:52 +08:00
parent aa1294f997
commit 9033acc56d
30 changed files with 611 additions and 32 deletions

View File

@@ -74,7 +74,19 @@ Page({
});
});
},
onOrderEdit(e: any) {
const data = getDataSet(e);
const index = data.index;
wx.navigateTo({
url: '/pages/base/customer/edit/edit',
success: (res) => {
res.eventChannel.emit('customerEdit', {
data: index == -1 ? { crm_type: 1 } : this.data.list[index],
});
},
});
},
onOrderDel(e: any) {
const data = getDataSet(e);
const index = data.index;