From aa94c16c00702501a788ed06ab0d30b252a65060 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Sat, 19 Aug 2023 10:06:09 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=A4=87=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/distributionStock.js | 9 ++ src/option/basicdata/basicClient.js | 2 +- .../distribution/distributionStockArticle.js | 2 +- .../stockup/distributionStockupDetails.vue | 137 ++++++++++++++++-- 4 files changed, 133 insertions(+), 17 deletions(-) diff --git a/src/api/distribution/distributionStock.js b/src/api/distribution/distributionStock.js index ceea94e8..7a0b2441 100644 --- a/src/api/distribution/distributionStock.js +++ b/src/api/distribution/distributionStock.js @@ -12,6 +12,15 @@ export const getListStock = (current, size, params) => { }) } +export const getStockDetail = (params) => { + return request({ + url: '/api/logpm-distribution/distributionStock/addStockDetail', + method: 'post', + data: params + + }) +} + export const getDetail = (id) => { return request({ url: '/api/logpm-distribution/distributionStock/detail', diff --git a/src/option/basicdata/basicClient.js b/src/option/basicdata/basicClient.js index 04f42a94..1b545b4a 100644 --- a/src/option/basicdata/basicClient.js +++ b/src/option/basicdata/basicClient.js @@ -94,7 +94,7 @@ export default { search: true, }, { - label: "客户名称", + label: "客户编码", prop: "clientCode", search: true, }, diff --git a/src/option/distribution/distributionStockArticle.js b/src/option/distribution/distributionStockArticle.js index 3be5ec2d..6a80cbe4 100644 --- a/src/option/distribution/distributionStockArticle.js +++ b/src/option/distribution/distributionStockArticle.js @@ -107,7 +107,7 @@ export default { }, { label: '服务类型', - prop: 'typeServiceName', + prop: 'typeServerName', search: true }, { diff --git a/src/views/distribution/stockup/distributionStockupDetails.vue b/src/views/distribution/stockup/distributionStockupDetails.vue index 9863ede6..e2bec107 100644 --- a/src/views/distribution/stockup/distributionStockupDetails.vue +++ b/src/views/distribution/stockup/distributionStockupDetails.vue @@ -156,6 +156,7 @@ + 备货 @@ -236,6 +237,27 @@ + + + + + + + + + + + - + diff --git a/src/views/distribution/inventory/delivery/distributionStockArticle.vue b/src/views/distribution/inventory/delivery/distributionStockArticle.vue index 956eb515..a189f660 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticle.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticle.vue @@ -18,6 +18,7 @@ start-placeholder="开始时间" end-placeholder="结束时间" :shortcuts="shortcuts" + :default-time="defaultTime2" /> @@ -807,6 +808,10 @@ export default { municipal:true, // 市 taker:true, // 自提 stockupDate: [], + defaultTime2: [ + new Date(2000, 1, 1, 0, 0, 0), + new Date(2000, 2, 1, 23, 59, 59), + ] ,// '12:00:00', '08:00:00' shortcuts :[ { text: '最近一周', diff --git a/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue b/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue index 9ca07847..60a8320b 100644 --- a/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue +++ b/src/views/distribution/inventory/delivery/distributionStockArticleMarket.vue @@ -18,6 +18,7 @@ start-placeholder="开始时间" end-placeholder="结束时间" :shortcuts="shortcuts" + :default-time="defaultTime2" />