From 7cadb25712f8f89fdd39365218b555bc1da49b2e Mon Sep 17 00:00:00 2001
From: duan <1004387497@qq.com>
Date: Wed, 17 Jul 2024 18:06:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=E5=95=86=E5=93=81=E5=BA=93=E5=AD=98-?=
=?UTF-8?q?=E5=BA=93=E5=AD=98=E8=AE=B0=E5=BD=95-=E7=82=B9=E5=87=BB?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=8F=B7=E8=B7=B3=E8=BD=AC=E8=BF=87=E6=9D=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/invoicing.js | 10 ++
.../invoicing/components/invoicingDetail.vue | 10 ++
src/views/invoicing/goods_stoks.vue | 23 ++++-
src/views/order_manage/order_list.vue | 93 ++++++-------------
4 files changed, 70 insertions(+), 66 deletions(-)
diff --git a/src/api/invoicing.js b/src/api/invoicing.js
index 06432bc..cbf2b92 100644
--- a/src/api/invoicing.js
+++ b/src/api/invoicing.js
@@ -241,6 +241,16 @@ export function stockStateChange(params) {
}
});
}
+// 下架
+export function stockStateChangess(params) {
+ return request({
+ url: `/api/stock/grounding`,
+ method: "put",
+ params: {
+ ...params
+ }
+ });
+}
// 警戒设置
export function stockStatewarnLine(params) {
return request({
diff --git a/src/views/invoicing/components/invoicingDetail.vue b/src/views/invoicing/components/invoicingDetail.vue
index b70f107..2dfdbdb 100644
--- a/src/views/invoicing/components/invoicingDetail.vue
+++ b/src/views/invoicing/components/invoicingDetail.vue
@@ -43,6 +43,13 @@
{{ scope.row.leftNumber + scope.row.stockNumber }} {{ scope.row.unitName }}
+
+
+
+ {{ scope.row.orderNo }}
+
+
+
{{ dayjs(scope.row.updatedAt).format('YYYY-MM-DD HH:mm:ss') }}
@@ -112,6 +119,9 @@ export default {
this.tableData.page = e - 1
this.getTableData()
},
+ goUrl(orderNo) {
+ this.$router.push({ path: '/order_manage/order_list', query: { orderNo } })
+ },
// 重置查询
resetHandle() {
this.query.blurry = ''
diff --git a/src/views/invoicing/goods_stoks.vue b/src/views/invoicing/goods_stoks.vue
index 71b4bf8..e9da254 100644
--- a/src/views/invoicing/goods_stoks.vue
+++ b/src/views/invoicing/goods_stoks.vue
@@ -82,12 +82,19 @@
v-if="scope.row.hasChildren || scope.row.hasChildren == false"
@change="showChanges($event, scope.row, 'proId', 'distribute')">
-
+
+
+
+
+
+
+