From 660d77be2e25c67c6d9bcf6caba9ddc579c94d4a Mon Sep 17 00:00:00 2001
From: qiezi <15576055375@163.com>
Date: Fri, 20 Dec 2024 14:35:02 +0800
Subject: [PATCH] 20241220
---
.../modules/quote/detail/quoteDetail.vue | 43 ++++++++++++++++---
1 file changed, 38 insertions(+), 5 deletions(-)
diff --git a/src/views/modules/quote/detail/quoteDetail.vue b/src/views/modules/quote/detail/quoteDetail.vue
index a74d3a4..08a3eac 100644
--- a/src/views/modules/quote/detail/quoteDetail.vue
+++ b/src/views/modules/quote/detail/quoteDetail.vue
@@ -82,6 +82,7 @@ export default {
quoteCurrencyTotalCost1:0,
quoteCurrencyTotalCost2:0,
moq:'Standard 250K',
+ type:'Standard TP',
remark:'',
},
saveQuoteDetail:{
@@ -95,6 +96,7 @@ export default {
partNo: [{required: true, message: '请输入物料编码', trigger: ['blur','change']}],
partDesc: [{required: true, message: '请输入物料名称', trigger: ['blur','change']}],
qty: [{required: true, message: '请输入数量', trigger: ['blur','change']}],
+ type: [{required: true, message: '请选择TP类型', trigger: ['blur','change']}],
},
columns: [
{
@@ -250,7 +252,7 @@ export default {
columnProp: 'quoteProfitRate',
headerAlign: 'center',
align: 'right',
- columnLabel: 'markup',
+ columnLabel: 'markup(%)',
columnHidden: false,
columnImage: false,
columnSortable: false,
@@ -465,7 +467,14 @@ export default {
this.handleSave();
}
}else {
-
+ let i = 1;
+ for (let item in obj){
+ this.$message.error(obj[item][0].message);
+ if (i === 1){
+ return
+ }
+ i++;
+ }
}
})
},
@@ -587,9 +596,17 @@ export default {
:min-width="item.columnWidth"
:label="item.columnLabel">
- {{ scope.row[item.columnProp] }}
-
+
+ {{scope.row[item.columnProp] }}
+
+
+ {{scope.row[item.columnProp] }}
+
+
+ {{ scope.row[item.columnProp] }}
+
+
@@ -624,6 +641,14 @@ export default {
+
+
+
+
+
+
+
+
@@ -655,6 +680,14 @@ export default {
+
+
+
+
+
+
+
+