feature: po pay downpayment
This commit is contained in:
@@ -98,6 +98,25 @@ export async function pay(prm) {
|
||||
}
|
||||
}
|
||||
|
||||
export async function payDownpayment(prm) {
|
||||
try {
|
||||
var resp = await axios.post(URL + 'payment/payDownpayment',prm);
|
||||
if (resp.status != 200) {
|
||||
return {
|
||||
status: "ERR",
|
||||
message: resp.statusText
|
||||
};
|
||||
}
|
||||
let data = resp.data;
|
||||
return data;
|
||||
} catch (e) {
|
||||
return {
|
||||
status: "ERR",
|
||||
message: e.message
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export async function editpay(prm) {
|
||||
try {
|
||||
var resp = await axios.post(URL + 'payment/editpaymanual',prm);
|
||||
|
||||
Reference in New Issue
Block a user