From 53bc8cc8fd330d5e2a4a3698967548a0b74a395a Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期五, 23 十月 2026 18:09:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/views/business/productOrder/components/addOrder.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/business/productOrder/components/addOrder.vue b/src/views/business/productOrder/components/addOrder.vue
index 0eac26c..17cd750 100644
--- a/src/views/business/productOrder/components/addOrder.vue
+++ b/src/views/business/productOrder/components/addOrder.vue
@@ -2153,6 +2153,10 @@
},
// 淇濆瓨妯℃澘
addTemplateDia() {
+ if (this.addObj.standardTreeId && (this.templateBindingLoading || this.boundTemplateList.length === 0)) {
+ this.$message.error('璇疯嚦灏戜繚鐣欎竴涓師濮嬭褰曟ā鏉�')
+ return
+ }
if (this.templateName) {
this.templateLoading = true;
addInsOrderTemplate({
@@ -2161,7 +2165,10 @@
thing: JSON.stringify({
addObj: this.addObj,
sampleList: this.sampleList,
- selectTree: this.selectTree
+ selectTree: this.selectTree,
+ templateList: this.addObj.standardTreeId
+ ? this.boundTemplateList.map((item, index) => ({templateId: item.templateId, sort: index}))
+ : undefined
})
}).then(res => {
this.templateLoading = false;
--
Gitblit v1.9.3