소스 검색

前端gjy

gjy 3 년 전
부모
커밋
4651846448

+ 1 - 1
src/views/home/index.vue

@@ -148,7 +148,7 @@ export default {
           type: '2',
           task: this.$t('homeIndex.beyond'),
           url: require('@/assets/newhome/cq01.png'),
-          number: this.number.overdue,
+          number: this.number.overdue, 
           background: require('@/assets/newhome/cq.png'),
           remark: '超期'
         }

+ 4 - 4
src/views/newTask/listPage.vue

@@ -9,15 +9,15 @@
         {{ $t('homeIndex.task') }}
       </li>
       <!-- 提醒 -->
-      <li :class="typeShow === '1' ? 'table-bottom' : ''"
+      <!-- <li :class="typeShow === '1' ? 'table-bottom' : ''"
           @click="typeApiFun('1')">
         {{ $t('homeIndex.remind') }}
-      </li>
+      </li> -->
       <!-- 超期 -->
-      <li :class="typeShow === '2' ? 'table-bottom' : ''"
+      <!-- <li :class="typeShow === '2' ? 'table-bottom' : ''"
           @click="typeApiFun('2')">
         {{ $t('homeIndex.beyond') }}
-      </li>
+      </li> -->
       <div class="search-time">
         <el-date-picker style="float:right"
                         v-model="Datevalue"

+ 4 - 4
src/views/statisticalReport/purchaseClosingCashierList.vue

@@ -345,8 +345,8 @@ export default {
       }
       else{
         for(var i=0;i<this.modification.length;i++){
-          if(this.modification[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行付款操作')
+          if(this.modification[i].status=='已通过'||this.modification[i].status=='部分付款'){
+           this.$message.warning('只有已通过或部分付款的条目才可进行付款操作')
         } 
           this.allmoney+=this.modification[i].amountNotPayable
         }
@@ -359,8 +359,8 @@ export default {
       }
       else{
         for(var i=0;i<this.modification.length;i++){
-          if(this.modification[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行收款操作')
+          if(this.modification[i].status=='已通过'||this.modification[i].status=='部分收款'){
+          this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
         } 
           this.allmoney1+=this.modification[i].collectionNotPayable
         }

+ 2 - 29
src/views/statisticalReport/purchaseReceiptStatisticsList.vue

@@ -648,8 +648,8 @@ export default {
         this.$message.warning('请选择一条要付款的条目')
       } else {
       for (var i = 0; i < this.modification.length; i++) {
-        if(this.modification[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行付款操作')
+        if(this.modification[i].status=='已通过'||this.modification[i].status=='部分付款'){
+          this.$message.warning('只有已通过或部分付款的条目才可进行付款操作')
         } 
         this.amountNotPayable += this.modification[i].amountNotPayable
       }
@@ -943,33 +943,6 @@ export default {
         })
       }
     },
-    handlepass1() {
-      var that=this
-      if (this.modification.length == 0) {
-        this.$message.warning('请选择要通过的条目')
-      } else {
-        this.$confirm(`审核通过后,任务将发送给出纳,是否确定通过?`, {
-          cancelButtonText: '取消',
-          confirmButtonText: '确定',
-          type: 'warning',
-        }).then(() => {
-          // postaudit({
-          //   roleFlag: 3,
-          //   flag: 1,
-          //   purchaseReceiptReportList: this.modification,
-          // })
-          //   .toPromise()
-          //   .then((response) => {
-          //     this.$message.success('通过成功')
-          //     this.getList()
-          //   })
-          //   .catch((req) => {
-          //     this.$message.success('通过失败')
-          //   })
-            that.audit(this.modification[0],0,true,3)
-        })
-      }
-    },
     carryoverconfirm() {
       var data={}
       if(!this.carryoverlist.carryOverWeight){

+ 4 - 4
src/views/statisticalReport/salesClosingCashierList.vue

@@ -463,8 +463,8 @@ export default {
             this.$message.warning('请选择应付款的条目')
             return
           }
-          if(this.multipleSelection[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行付款操作')
+          if(this.multipleSelection[i].status!='已通过'||this.multipleSelection[i].status=='部分付款'){
+         this.$message.warning('只有已通过或部分付款的条目才可进行付款操作')
           } 
         }
         this.dialogFormVisible1=true
@@ -483,8 +483,8 @@ export default {
             this.$message.warning('请选择应收款的条目')
             return
           }
-          if(this.multipleSelection[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行收款操作')
+          if(this.multipleSelection[i].status=='已通过'||this.multipleSelection[i].status=='部分收款'){
+          this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
         } 
         }
         this.dialogFormVisible2=true

+ 3 - 3
src/views/statisticalReport/salesDeliveryReportList.vue

@@ -557,8 +557,8 @@ export default {
       else{
         
         for(var i=0;i<this.modification.length;i++){
-        if(this.modification[i].status!='已通过'){
-          this.$message.warning('审核尚未通过,不可进行收款操作')
+        if(this.modification[i].status=='已通过'||this.modification[i].status=='部分收款'){
+          this.$message.warning('只有已通过或部分收款的条目才可进行收款操作')
         } 
        this.collectionNotPayable +=this.modification[i].collectionNotPayable
       }
@@ -651,7 +651,7 @@ this.dialogFormVisible1=true
       if (this.modification.length == 0) {
         this.$message.warning('请选择一条要开发票的条目')
       } else if (this.modification[0].collectionEdPayable < 0) {
-        this.$message.warning('请选择一条已款的条目')
+        this.$message.warning('请选择一条已款的条目')
       } else {
         this.$confirm(`确定提交发票信息?`, {
           cancelButtonText: '取消',

+ 1 - 1
vue.config.js

@@ -141,7 +141,7 @@ module.exports = {
         // target: 'https://product-server.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
-        target: 'http://192.168.1.120:8090/',
+        target: 'http://192.168.1.110:8090/',
         // target: 'http://192.168.1.112:8090/',
         // target: 'http://192.168.1.121:8090/',
         // target: 'http://192.168.1.119:8090/',