|
@@ -749,8 +749,8 @@ const getTreeList = () => {
|
|
|
const getDtl = (row) => {
|
|
|
proxy.post("/accountPayment/detail", { id: row.id }).then((res) => {
|
|
|
formData.data = res;
|
|
|
- formData.data.expensesTime = moment().format("yyyy-MM-DD HH:mm:ss");
|
|
|
if (submitType.value === "add") {
|
|
|
+ formData.data.expensesTime = moment().format("yyyy-MM-DD HH:mm:ss");
|
|
|
formData.data.currency = accountCurrency.value[0].value;
|
|
|
}
|
|
|
proxy
|
|
@@ -939,6 +939,7 @@ const submitCancelledOutForm = () => {
|
|
|
};
|
|
|
const clickDetail = () => {
|
|
|
formOption.disabled = true;
|
|
|
+ submitType.value = "edit";
|
|
|
getDtl(rowData.value);
|
|
|
};
|
|
|
</script>
|