提交 bcb186bc 作者: 王定

feat: 调整产销页面逻辑保证数据能存到后台中去

上级 08366a35
......@@ -234,11 +234,11 @@
// 发布需求
function handlePublish() {
if (pageData.currentTransactionTab === 1) {
Navigate.to('/pages/chanxiao/purchaseXuQiu')
Navigate.to('/pages/chanxiao/supplyXuQiu')
return
}
if (pageData.currentTransactionTab === 2) {
Navigate.to('/pages/chanxiao/supplyXuQiu')
Navigate.to('/pages/chanxiao/purchaseXuQiu')
}
}
......
......@@ -19,17 +19,17 @@
isSave.value = false
getDetails(option.id)
uni.setNavigationBarTitle({
title: '采购需求',
title: '供应需求',
})
pageText.value = '采购'
pageText.value = '供应'
} else {
isSave.value = true
// 获取当前位置
getCurrentAddressInfo()
uni.setNavigationBarTitle({
title: '发布供应需求',
title: '发布采购需求',
})
pageText.value = '供应'
pageText.value = '采购'
}
})
......
......@@ -18,17 +18,17 @@
if (option.id) {
isSave.value = false
getDetails(option.id)
uni.setNavigationBarTitle({
title: '采购需求',
})
uni.setNavigationBarTitle({
title: '采购需求',
})
pageText.value = '采购'
} else {
isSave.value = true
// 获取当前位置
getCurrentAddressInfo()
uni.setNavigationBarTitle({
title: '发布供应需求',
})
uni.setNavigationBarTitle({
title: '发布供应需求',
})
pageText.value = '供应'
}
})
......@@ -117,11 +117,11 @@
rule: ['required'],
msg: ['请选择省/市/区县'],
},
{
/* {
name: 'status',
rule: ['required'],
msg: ['请选择状态'],
},
}, */
{
name: 'classify',
rule: ['required'],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论