update: 付款明细删除增加参数paymentType
This commit is contained in:
parent
11a5e12b15
commit
89f698064c
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
|
@ -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: "删除成功",
|
||||||
|
|
Loading…
Reference in New Issue