From d82719fb01bcd56c382f35d624b92eecaa5db09b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 17 三月 2026 14:57:06 +0800
Subject: [PATCH] 军泰伟业 1.仓储物流需要加上库位,库位暂时分为外购、自制、委外三种类型 2.生产订单加上库存数量,方便实时查看 3.产品发货后,若部分产品退回,可修改订单发货数量(减去退回的产品数量),若订单产品全部退回,可对发货的订单进行取消撤回操作
---
src/views/basicData/product/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index 5a243a3..24a4659 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -130,6 +130,7 @@
title="浜у搧瀵煎叆"
width="600px"
@cancel="importDia = false"
+ @confirm="submitImport"
>
<el-upload
ref="importUploadRef"
@@ -156,11 +157,6 @@
</div>
</template>
</el-upload>
- <template #footer>
- <div class="dialog-footer">
- <el-button type="primary" @click="submitImport">纭瀵煎叆</el-button>
- </div>
- </template>
</FormDialog>
</div>
</template>
@@ -227,7 +223,12 @@
label: "浜у搧灞炴��",
prop: "productType",
width: 100,
+ dataType: "tag",
formatData: (v) => ({ "1": "鑷埗", "2": "澶栬喘", "3": "濮斿" }[String(v)] ?? v),
+ formatType: (v) => {
+ const typeMap = { "1": "success", "2": "warning", "3": "info" };
+ return typeMap[String(v)] || "info";
+ },
},
{
dataType: "action",
--
Gitblit v1.9.3