-
+
@@ -254,7 +254,9 @@
// 定义所有单元格发生变化的回调处理
afterChange(changes, source) {},
}
-
+ function AddLlist() {
+ Llist.value.push({})
+ }
// ------------------------------------右侧表------------------------------------------
// 全部勾选
const allCheckR = ref(false)
diff --git a/src/views/baseinfo/CodeCheckBill/importFlow.vue b/src/views/baseinfo/CodeCheckBill/importFlow.vue
deleted file mode 100644
index 97d10c58..00000000
--- a/src/views/baseinfo/CodeCheckBill/importFlow.vue
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
diff --git a/src/views/operation/CustomerReconciliation/api.js b/src/views/operation/CustomerReconciliation/api.js
index e726dddc..979cc333 100644
--- a/src/views/operation/CustomerReconciliation/api.js
+++ b/src/views/operation/CustomerReconciliation/api.js
@@ -1,6 +1,6 @@
import { request } from '/@/utils/request'
-// 客户对账列表 (Auth)
+// 客户对账列表 (Auth) #
export function GetCheckBillList(parameter) {
return request({
url: '/checkApi/CheckBill/GetCheckBillList',
@@ -9,7 +9,7 @@ export function GetCheckBillList(parameter) {
})
}
-// 客户对账编辑 (Auth)
+// 客户对账编辑 (Auth) #
export function EditCheckBill(parameter) {
return request({
url: '/checkApi/CheckBill/EditCheckBill',
@@ -17,7 +17,7 @@ export function EditCheckBill(parameter) {
data: parameter,
})
}
-// 客户对账详情 (Auth)
+// 客户对账详情 (Auth) #
export function GetCheckBillInfo(parameter) {
return request({
url: '/checkApi/CheckBill/GetCheckBillInfo',
@@ -25,7 +25,7 @@ export function GetCheckBillInfo(parameter) {
params: parameter,
})
}
-// 客户对账明细列表 (Auth)
+// 客户对账明细列表 (Auth) #
export function GetCheckBillBusinessList(parameter) {
return request({
url: '/checkApi/CheckBill/GetCheckBillBusinessList',
@@ -33,7 +33,7 @@ export function GetCheckBillBusinessList(parameter) {
data: parameter,
})
}
-// 客户对账明细对应费用列表 (Auth)
+// 客户对账明细对应费用列表 (Auth) #
export function GetCheckBillFeeRecordsList(parameter) {
return request({
url: '/checkApi/CheckBill/GetCheckBillFeeRecordsList',
@@ -41,7 +41,7 @@ export function GetCheckBillFeeRecordsList(parameter) {
data: parameter,
})
}
-// 对账明细批量删除 (Auth)
+// 对账明细批量删除 (Auth) #
export function BatchDelCheckBillDetail(parameter) {
return request({
url: '/checkApi/CheckBill/BatchDelCheckBillDetail',
@@ -49,7 +49,7 @@ export function BatchDelCheckBillDetail(parameter) {
data: parameter,
})
}
-// 对账明细费用批量删除 (Auth)
+// 对账明细费用批量删除 (Auth) #
export function BatchDelCheckBillFeeRecords(parameter) {
return request({
url: '/checkApi/CheckBill/BatchDelCheckBillFeeRecords',
@@ -57,7 +57,7 @@ export function BatchDelCheckBillFeeRecords(parameter) {
data: parameter,
})
}
-// 对账明细添加 (Auth)
+// 对账明细添加 (Auth) #
export function AddCheckBillDetail(parameter) {
return request({
url: '/checkApi/CheckBill/AddCheckBillDetail',
@@ -65,7 +65,7 @@ export function AddCheckBillDetail(parameter) {
data: parameter,
})
}
-// 对账明细费用添加 (Auth)
+// 对账明细费用添加 (Auth) #
export function AddCheckBillFeeRecords(parameter) {
return request({
url: '/checkApi/CheckBill/AddCheckBillFeeRecords',
@@ -73,7 +73,7 @@ export function AddCheckBillFeeRecords(parameter) {
data: parameter,
})
}
-// 客户对账明细查询列表 (Auth)
+// 客户对账明细查询列表 (Auth) #
export function GetBusinessQueryList(parameter) {
return request({
url: '/checkApi/CheckBill/GetBusinessQueryList',
@@ -81,7 +81,7 @@ export function GetBusinessQueryList(parameter) {
data: parameter,
})
}
-// 客户对账明细查询费用明细 (Auth)
+// 客户对账明细查询费用明细 (Auth) #
export function GetFeeRecordQueryList(parameter) {
return request({
url: '/checkApi/CheckBill/GetFeeRecordQueryList',
@@ -90,7 +90,7 @@ export function GetFeeRecordQueryList(parameter) {
})
}
-// 锁定 (Auth)
+// 锁定 (Auth) #
export function CheckBillLocking(parameter) {
return request({
url: '/checkApi/CheckBill/CheckBillLocking',
@@ -98,7 +98,7 @@ export function CheckBillLocking(parameter) {
data: parameter,
})
}
-// 解除锁定 (Auth)
+// 解除锁定 (Auth) #
export function CheckBillUnLocking(parameter) {
return request({
url: '/checkApi/CheckBill/CheckBillUnLocking',
diff --git a/src/views/operation/CustomerReconciliation/detail/index.vue b/src/views/operation/CustomerReconciliation/detail/index.vue
index 5d65a9c7..54478cf1 100644
--- a/src/views/operation/CustomerReconciliation/detail/index.vue
+++ b/src/views/operation/CustomerReconciliation/detail/index.vue
@@ -188,22 +188,28 @@
)
const spinningR = ref(false)
// 左侧表格点击查询费用明细
+ let LeftSelectData = ref
()
function selectionChange(e) {
- spinningR.value = true
- let ApiData = {
- queryCondition: `[{"FieldName":"businessId","FieldValue":"${
- e.rows[e.rows.length - 1].businessId
- }","ConditionalType":1},{"FieldName":"checkId","FieldValue":"${
- e.rows[e.rows.length - 1].checkId
- }","ConditionalType":1}]`,
- pageCondition: {
- sortConditions: [],
- },
+ LeftSelectData.value = e
+ if (e.rows.length) {
+ spinningR.value = true
+ let ApiData = {
+ queryCondition: `[{"FieldName":"businessId","FieldValue":"${
+ e.rows[e.rows.length - 1].businessId
+ }","ConditionalType":1},{"FieldName":"checkId","FieldValue":"${
+ e.rows[e.rows.length - 1].checkId
+ }","ConditionalType":1}]`,
+ pageCondition: {
+ sortConditions: [],
+ },
+ }
+ GetCheckBillFeeRecordsList(ApiData).then((res) => {
+ setTableDataR(res.data)
+ spinningR.value = false
+ })
+ } else {
+ setTableDataR([])
}
- GetCheckBillFeeRecordsList(ApiData).then((res) => {
- setTableDataR(res.data)
- spinningR.value = false
- })
}
// 右侧表格
const [registerTableR, { getSelectRows: getSelectRowsR, setTableData: setTableDataR }] = useTable(
@@ -241,15 +247,21 @@
}
// 点击删除详情
function DelDetailL() {
+ // businessId
+ // checkId
if (getSelectRowsL().length) {
let Apidata: any = {
+ id: id.value,
ids: [],
}
getSelectRowsL().forEach((item) => {
- Apidata.ids.push(item.id)
+ Apidata.ids.push(item.businessId)
})
BatchDelCheckBillDetail(Apidata).then((res) => {
- console.log(res)
+ if (res.succeeded) {
+ notification.success({ message: '删除成功', duration: 3 })
+ init()
+ }
})
} else {
notification.warning({ message: '请至少选择一条数据', duration: 3 })
@@ -259,13 +271,17 @@
function DelDetailR() {
if (getSelectRowsR().length) {
let Apidata: any = {
+ id: id.value,
ids: [],
}
getSelectRowsR().forEach((item) => {
- Apidata.ids.push(item.id)
+ Apidata.ids.push(item.feeRecordId)
})
BatchDelCheckBillFeeRecords(Apidata).then((res) => {
- console.log(res)
+ if (res.succeeded) {
+ notification.success({ message: '删除成功', duration: 3 })
+ selectionChange(LeftSelectData.value)
+ }
})
} else {
notification.warning({ message: '请至少选择一条数据', duration: 3 })