update: 付款明细删除增加参数paymentType

This commit is contained in:
admin 2024-07-30 15:02:22 +08:00
parent 11a5e12b15
commit 89f698064c
2 changed files with 1 additions and 3 deletions

View File

@ -271,8 +271,6 @@ const formAttrList1 = reactive<any>([
required: true, required: true,
unit: "", unit: "",
fn: () => { fn: () => {
// contrlModalParams.user.isShow = true;
// contrlModalParams.user.title = "";
handleDialog("showSupplier", true); handleDialog("showSupplier", true);
uni.hideKeyboard(); uni.hideKeyboard();
}, },

View File

@ -207,7 +207,7 @@ const handleAdd = () => {
}; };
// //
const handleItem = (item: any) => { const handleItem = (item: any) => {
FinanceApi.deletePaymentDs({ id: item.id }).then((res) => { FinanceApi.deletePaymentDs({ id: item.id, paymentType: item.paymentType }).then((res) => {
if (res.code === 200) { if (res.code === 200) {
uni.showToast({ uni.showToast({
title: "删除成功", title: "删除成功",