ソースを参照

报价单调整,销售数据调整

qymljy 6 ヶ月 前
コミット
0914a577cf

+ 4 - 0
src/HDrpManagement/projectChange/modules/modules/quotation/modules/add.vue

@@ -577,6 +577,7 @@ export default {
     queryItemType(){
       this.$store.dispatch('optiontypeselect','itemtype').then(res => {
         this.itemtype = res.data
+        this.form.itemtype[0] = res.data[0].value
       })
     },
     /*修改折扣数据*/
@@ -635,6 +636,9 @@ export default {
   mounted() {
     const date = new Date()
     this.form.billdate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
+    let endDate = new Date(date.setDate(date.getDate() + 30)).toLocaleDateString()
+    endDate = endDate.replace(/\//g,'-')
+    this.form.date = [this.form.billdate,endDate]
     this.form.sa_projectid = this.data.sa_projectid
     this.form.projectname = this.data.projectname
     this.form.projectnum = this.data.projectnum

+ 1 - 1
src/HDrpManagement/publicCustomer/modules/detail/addressManage/modules/add.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-button size="small" type="primary" @click="onshow">新增客新户地址</el-button>
+    <el-button size="small" type="primary" @click="onshow">新建</el-button>
     <el-drawer
         title=" 新建客户地址"
         :visible.sync="dialogFormVisible"

+ 5 - 1
src/SDrpManagement/QuotedPrice/modules/ProjectQuotationAdd.vue

@@ -133,7 +133,7 @@
                     style="width:100%;"
                     v-model="form.itemtype"
                     multiple
-                    placeholder="请选择产品系列"
+                    placeholder=""
                     size="mini"
                 >
                   <el-option
@@ -542,6 +542,7 @@ export default {
     queryItemType(){
       this.$store.dispatch('optiontypeselect','itemtype').then(res => {
         this.itemtype = res.data
+        this.form.itemtype[0] = res.data[0].value
       })
     },
     /*业务员*/
@@ -640,6 +641,9 @@ export default {
     }
     const date = new Date()
     this.form.billdate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
+    let endDate = new Date(date.setDate(date.getDate() + 30)).toLocaleDateString()
+    endDate = endDate.replace(/\//g,'-')
+    this.form.date = [this.form.billdate,endDate]
     this.form.sa_quotedpriceid = 0
     this.queryItemType()
     this.queryID()

+ 2 - 1
src/views/salesData/modules/quotationAnalysis.vue

@@ -45,7 +45,8 @@
           </div>
         </div>
         <div class="chart">
-          <div id="quotationAnalysisChart" :style="{height: isFull?heightChart:windowWidth>1435?'100%':'90%'}"></div>
+<!--          <div id="quotationAnalysisChart" :style="{height: isFull?heightChart:windowWidth>1435?'90%':'90%'}"></div>-->
+          <div id="quotationAnalysisChart" :style="{height: isFull?heightChart:windowWidth<1660?'90%':windowWidth<1676?'90%':'100%'}"></div>
         </div>
       </div>
     </div>