From 2c687f86a2fdd8bdffc3ac8ce04eca1126646288 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期一, 13 十一月 2023 16:14:54 +0800 Subject: [PATCH] 所有涉及到产品的增加单位回显、收款计划增加金额不能为零、销售明细单未确认状态显示修改 --- src/api/sales/subOrder.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/sales/subOrder.js b/src/api/sales/subOrder.js index 15d02a9..cdcc8c1 100644 --- a/src/api/sales/subOrder.js +++ b/src/api/sales/subOrder.js @@ -1,10 +1,11 @@ import request from "@/common/untils/request.js" // 閿�鍞瓙鍗曞垪琛� -export function getSubOrderList() { +export function getSubOrderList(data) { return request({ url: "/api/subOrder/list", - method: "get" + method: "post", + data }) } // 娣诲姞閿�鍞瓙鍗� @@ -18,8 +19,9 @@ // 鍒犻櫎閿�鍞瓙鍗� export function getDelSubOrder(data) { return request({ - url: "/api/subOrder/delete/" + data.id, - method: "delete" + url: "/api/subOrder/delete", + method: "delete", + data }) } // 鏇存柊閿�鍞瓙鍗� -- Gitblit v1.8.0