Ver código fonte

删除一些console.log

wucl 5 meses atrás
pai
commit
a65e4452a6

+ 0 - 1
src/components/YPageListLayout/index.vue

@@ -62,7 +62,6 @@
       watch:{
         pageList:{
           handler(nv,ov){
-            console.log(nv)
           },
           deep:true
         }

+ 3 - 3
src/views/major/detail.vue

@@ -97,7 +97,7 @@
                         :class="['postInfo-container-item']"
                       >
                         <el-select v-model="major.principalId" 
-                          placeholder="待定"  style="width: 100%"
+                          placeholder="待定"  style="width: 100%" filterable
                           :readonly = "!pgLeader"
                           :disabled="!pgLeader"
                           >
@@ -114,7 +114,7 @@
                       >
                         <el-select v-model="major.membersId" 
                         placeholder="待定" 
-                          multiple
+                          multiple filterable
                            :readonly = "!pgLeader"
                           :disabled="!pgLeader"
                           style="width: 100%">
@@ -2430,7 +2430,6 @@
       handler(newv) {
         if (newv) {
           const postList = newv.postList.map(item => item.name)
-          console.log(postList)
           const marketPosts = ['评估部经理']
           postList.forEach(element => {
             if (marketPosts.includes(element)) {
@@ -2853,6 +2852,7 @@
         this.$refs.majorForm.validate(valid => {
           if (valid) {
             if (this.major.id) {
+              this.major.members = JSON.stringify(this.major.membersId);
               this.$api.major.edit(this.major).then(res => {
                 if (res.code === 200) {
                   this.$notify({

+ 2 - 2
src/views/major/myOrder.vue

@@ -419,9 +419,9 @@
               <el-button
                 v-if="(r.productionNo === reportNo && r.production != 'STATEMENT' && r.repertoryState != null && !r.repertoryState)"
                 style="float: right; padding: 3px 0;margin-left:10px" type="text" @click="doApplyOut(r)">出库申请</el-button>
-              <el-button v-if="r.productionNo === statementNo && !r.delivery && r.production === 'STATEMENT'"
+              <el-button v-if="r.productionNo === statementNo && r.production === 'STATEMENT'"
                 style="float: right; padding: 3px 0;" type="text" @click="confirmDelivery(r.id)">确认送达</el-button>
-              <el-button v-if="!r.delivery && r.production != 'STATEMENT' && r.repertoryState"
+              <el-button v-if="r.production != 'STATEMENT' && r.repertoryState"
                 style="float: right; padding: 3px 0;" type="text" @click="noTaskConfirmDelivery(r.id)">确认送达</el-button>
             </div>
             <el-form :model="r">

+ 0 - 1
src/views/major/myOrderDetail.vue

@@ -590,7 +590,6 @@
           })
         },
         'major.terminalClienteleType'(nv,ov){
-            console.log(nv)
             if (nv=='企业'){
               this.getCustomerCompany(1);
               let simpleAll = new Object();