From b97c005b83e8873f2033fc67f51832c84bcb2a62 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Thu, 24 Feb 2022 08:32:29 +0800 Subject: [PATCH 1/2] xiaoshoufahuo --- hb_client/src/api/sam.js | 32 ++ hb_client/src/views/inm/fifo.vue | 11 + hb_client/src/views/personnel/attendance.vue | 9 +- hb_client/src/views/sam/sales.vue | 576 +++++++++++-------- hb_client/src/views/sam/salesdetail.vue | 353 +++++++++--- 5 files changed, 660 insertions(+), 321 deletions(-) diff --git a/hb_client/src/api/sam.js b/hb_client/src/api/sam.js index 540441f..99940ae 100644 --- a/hb_client/src/api/sam.js +++ b/hb_client/src/api/sam.js @@ -28,6 +28,15 @@ export function deleteCustomer(id, data) { data }) } +export function getCustomer(id) { + return request({ + url: `/sam/customer/${id}/`, + method: 'get', + + }) +} + + //合同 export function getContractList(query) { return request({ @@ -170,4 +179,27 @@ export function saleAudit(id) { }) } +//返回装箱文件 +export function gePack(id) { + return request({ + url: `/sam/sale_product/${id}/pack/`, + method: 'get' + }) +} +//打包装箱文件确认 +export function subPack(id, data) { + return request({ + url: `/sam/sale_product/${id}/pack/`, + method: 'POST', + data + }) +} +///未装箱备注 +export function notPackremark(id, data) { + return request({ + url: `/sam/sale_product/${id}/remark/`, + method: 'POST', + data + }) +} diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue index 66b19ea..632288e 100644 --- a/hb_client/src/views/inm/fifo.vue +++ b/hb_client/src/views/inm/fifo.vue @@ -70,6 +70,12 @@ + + +