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,
unit: "",
fn: () => {
// contrlModalParams.user.isShow = true;
// contrlModalParams.user.title = "";
handleDialog("showSupplier", true);
uni.hideKeyboard();
},

View File

@ -207,7 +207,7 @@ const handleAdd = () => {
};
//
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) {
uni.showToast({
title: "删除成功",