Commit 8bd1b7ec by Sweet Zhang

更新应付款记录的金额字段调整

parent de20f660
......@@ -365,7 +365,7 @@ const addPayRecordFormConfig = [
maxDate: 'today'
}, {
type: 'input',
prop: 'amount',
prop: 'hkdAmount',
label: '出账金额',
rules: [
{ pattern: /^-?\d+(\.\d{1,2})?$/, message: '小数(最多两位)', trigger: 'blur' }
......@@ -413,7 +413,7 @@ const handleConfirmAddPayRecord = async () => {
ElMessage.success('新增出账记录成功')
addPayRecordDialogVisible.value = false
addPayRecordFormRef.value.resetForm()
loadTableData()
expectedFortuneListData()
} catch (error) {
ElMessage.error(error.message)
}
......@@ -429,6 +429,7 @@ const handleConfirmAddPayRecord = async () => {
addPayRecordFormRef.value.resetForm()
editStatus.value = 'add';
loadPayRecordTableData(selectedRow.value.expectedFortuneBizId)
expectedFortuneListData()
} catch (error) {
ElMessage.error(error.message)
}
......
......@@ -321,6 +321,11 @@ const addReceivablesFormConfig = [
console.log('对账公司', res)
return res.data.records || []
}
},
{
type: 'input',
prop: 'remark',
label: '备注',
}
]
// 弹窗表单重置
......
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