feat(crm): 更新订单财务状态同步功能并优化权限控制
- 在ReceiveTable.vue中添加订单未付金额同步功能 - 优化report/index.vue的日期参数命名和表格显示列 - 为order/index.vue添加权限控制指令
This commit is contained in:
@@ -160,6 +160,7 @@
|
||||
|
||||
<script>
|
||||
import { listReceivable, getReceivable, delReceivable, addReceivable, updateReceivable, updatePaidAmount } from "@/api/finance/receivable";
|
||||
import { updateOrder } from "@/api/crm/order";
|
||||
// import CustomerSelect from '@/components/KLPService/CustomerSelect/index.vue';
|
||||
|
||||
export default {
|
||||
@@ -249,9 +250,6 @@ export default {
|
||||
receiveOpen: false
|
||||
};
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
/** 查询应收款管理(宽松版)列表 */
|
||||
getList() {
|
||||
@@ -260,6 +258,10 @@ export default {
|
||||
this.receivableList = response.rows;
|
||||
this.total = response.total;
|
||||
this.loading = false;
|
||||
updateOrder({
|
||||
orderId: this.orderId,
|
||||
unpaidAmount: this.unreceivedAmount,
|
||||
})
|
||||
});
|
||||
},
|
||||
// 取消按钮
|
||||
|
||||
Reference in New Issue
Block a user