liuhj 4 月之前
父节点
当前提交
a63701a81e
共有 2 个文件被更改,包括 18 次插入3 次删除
  1. 6 1
      src/components/MarketplacePick.vue
  2. 12 2
      src/components/OP/EntryQuotation.vue

+ 6 - 1
src/components/MarketplacePick.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="marketplacepick-all">
-        <div class="marketplacepick-form">
+        <div class="marketplacepick-form" v-loading.fullscreen.lock="fullscreenLoading">
             <div class="addbox">
                 <div class="addbox-title">需求收集</div>
                 <div @click="additionsj" class="addbox-img"><img src="../assets/shoujitianjia.png" /></div>
@@ -112,6 +112,7 @@ export default {
             groupId:'',
             groupNames:[],
             userid:'',
+            fullscreenLoading:false,
         }
     },
     methods:{
@@ -130,6 +131,7 @@ export default {
         },
         //或取基础数据
         GroupOrderPreInfos(val) {
+            this.fullscreenLoading=true;
             var url = "/api/Groups/GroupOrderPreInfo/"+this.userid
             var that = this
             this.$axios({
@@ -156,6 +158,7 @@ export default {
 
                     that.GroupOrderPreInfo();
                 }else{
+                    that.fullscreenLoading=false;
                     that.$message.error(res.data.msg);
                 }
             })
@@ -279,8 +282,10 @@ export default {
                             }
                         }
                     }
+                    that.fullscreenLoading=false;
                 }else{
                     that.$message.error(res.data.msg);
+                    that.fullscreenLoading=false;
                 }
             })
         },

+ 12 - 2
src/components/OP/EntryQuotation.vue

@@ -7,8 +7,11 @@
                     {{item.itemName}}
                 </div>
                 <div class="entryquotation-form-content">
-                    <div v-for="(items,index) in item.infos" :key="index">
+                    <div class="entryquotation-content" v-for="(items,index) in item.infos" :key="index">
                         <el-input type="textarea" v-model="items.feeName"></el-input>
+                        <el-input-number :controls="false" v-model="items.unitPrice"></el-input-number>
+                        <el-input-number :controls="false" v-model="items.quantity"></el-input-number>
+                        <el-input-number :controls="false" v-model="items.totalAmt"></el-input-number>
                         <!-- {{ items.feeName }} -->
                     </div>
                 </div>
@@ -69,6 +72,7 @@ export default {
 }
 .entryquotation-form{
     border: 1px solid #ebeef5;
+    margin-top: 10px;
 }
 .entryquotation-form-li{
     display: flex;
@@ -78,7 +82,7 @@ export default {
     
 }
 .entryquotation-form-title{
-    width: 30%;
+    width: 20%;
     border-bottom: 1px solid #ebeef5;
     border-right: 1px solid #ebeef5;
 }
@@ -86,4 +90,10 @@ export default {
     width: 60%;
     border-bottom: 1px solid #ebeef5;
 }
+.entryquotation-form-content{
+    padding: 10px;
+}
+.entryquotation-content{
+    margin: 5px 0;
+}
 </style>