update: 付款明细删除增加参数paymentType
This commit is contained in:
parent
11a5e12b15
commit
89f698064c
|
@ -271,8 +271,6 @@ const formAttrList1 = reactive<any>([
|
|||
required: true,
|
||||
unit: "",
|
||||
fn: () => {
|
||||
// contrlModalParams.user.isShow = true;
|
||||
// contrlModalParams.user.title = "供应商";
|
||||
handleDialog("showSupplier", true);
|
||||
uni.hideKeyboard();
|
||||
},
|
||||
|
|
|
@ -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: "删除成功",
|
||||
|
|
Loading…
Reference in New Issue