Commit 634376d0 by Sweet Zhang

不加判断是否同步的功能

parent 32c1235b
...@@ -668,10 +668,10 @@ const handleMenuConfirm = async (action, row) => { ...@@ -668,10 +668,10 @@ const handleMenuConfirm = async (action, row) => {
console.log('点击了操作菜单', action, row) console.log('点击了操作菜单', action, row)
if (action === 'syncToReceivable') { if (action === 'syncToReceivable') {
try { try {
if (row.commissionStatus !== '3') { // if (row.commissionStatus !== '3') {
ElMessage.error('应收款管理已有这条记录,无需同步') // ElMessage.error('应收款管理已有这条记录,无需同步')
return // return
} // }
const res = await syncExpectedCommission({ const res = await syncExpectedCommission({
commissionBizId: row.commissionBizId commissionBizId: row.commissionBizId
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment