浏览代码

Merge branch 'master' of http://git.zthymaoyi.com:3000/gdc/yiliangyiyun-pc

gjy 3 年之前
父节点
当前提交
722f20b93b

+ 2 - 2
src/views/customer/customerList.vue

@@ -140,7 +140,7 @@
           </template>
           </template>
         </el-table-column>
         </el-table-column>
         <el-table-column prop="customerName" label="客户名称">
         <el-table-column prop="customerName" label="客户名称">
-          <template scope="scope">
+          <!-- <template scope="scope">
             <span
             <span
               v-if="
               v-if="
                 scope.row.customerName == '' || scope.row.customerName == null
                 scope.row.customerName == '' || scope.row.customerName == null
@@ -151,7 +151,7 @@
               v-if="scope.row.compName == '' || scope.row.compName == null"
               v-if="scope.row.compName == '' || scope.row.compName == null"
               >{{ scope.row.customerName }}</span
               >{{ scope.row.customerName }}</span
             >
             >
-          </template>
+          </template> -->
         </el-table-column>
         </el-table-column>
         <el-table-column prop="compAddress" label="地址"></el-table-column>
         <el-table-column prop="compAddress" label="地址"></el-table-column>
         <el-table-column prop="customerPhone" label="电话"> </el-table-column>
         <el-table-column prop="customerPhone" label="电话"> </el-table-column>

+ 10 - 3
src/views/salesManagement/salesPlanOrderList.vue

@@ -85,7 +85,7 @@
         prop="unitPrice"
         prop="unitPrice"
         label="单价(元/吨)"
         label="单价(元/吨)"
       >
       >
-        <!--改价记录-->
+        <!--改价记录--> 
         <template slot-scope="scope">
         <template slot-scope="scope">
           {{ scope.row.unitPrice }}
           {{ scope.row.unitPrice }}
           <i
           <i
@@ -910,13 +910,16 @@
     </el-dialog>
     </el-dialog>
     <!--改价记录-->
     <!--改价记录-->
     <el-dialog
     <el-dialog
-      width="30%"
+      width="10%"
       title="改价记录"
       title="改价记录"
       :visible.sync="dialogFormVisible5"
       :visible.sync="dialogFormVisible5"
       :append-to-body="true"
       :append-to-body="true"
     >
     >
       <div v-for="item in pricechange">
       <div v-for="item in pricechange">
-        <div>{{ item.priceType }}{{ item.price }}</div>
+        <div>{{ item.priceType }}</div>
+        <div class="price">
+          {{ item.price }}
+        </div>
         <div>{{ item.updateDate }}</div>
         <div>{{ item.updateDate }}</div>
       </div>
       </div>
     </el-dialog>
     </el-dialog>
@@ -2090,4 +2093,8 @@ hr {
   background-color: #fff;
   background-color: #fff;
   height: 50px;
   height: 50px;
 }
 }
+.price {
+  margin-left: 97px;
+  margin-top: -19px;
+}
 </style>
 </style>

+ 9 - 4
src/views/statisticalReport/purchaseReceiptStatisticsList.vue

@@ -1008,13 +1008,11 @@ export default {
           .then((response) => {
           .then((response) => {
             this.dialogFormVisible11=false
             this.dialogFormVisible11=false
             this.$message.success('结转成功')
             this.$message.success('结转成功')
+            this.dialogFormVisible11 = false
             this.getList()
             this.getList()
           })
           })
-      } else {
-        if (this.carryovercontractnolist.length > 0) {
-        } else {
+      } else if (this.carryovercontractnolist.length <=0){
           this.$message.warning('无可结转的其他合同')
           this.$message.warning('无可结转的其他合同')
-        }
       }
       }
     },
     },
     amendconfirm() {
     amendconfirm() {
@@ -1149,6 +1147,7 @@ export default {
       // }else if(this.roleId=="4ef070439cd64784bce8844fd3f0f8e1"){
       // }else if(this.roleId=="4ef070439cd64784bce8844fd3f0f8e1"){
       //   this.roleFlag=''
       //   this.roleFlag=''
       // }
       // }
+      
       getpurchreceipt({
       getpurchreceipt({
         compId: sessionStorage.getItem('ws-pf_compId'),
         compId: sessionStorage.getItem('ws-pf_compId'),
         currentPage: this.currentPage,
         currentPage: this.currentPage,
@@ -1161,7 +1160,13 @@ export default {
         .then((response) => {
         .then((response) => {
           for (var i = 0; i < response.records.length; i++) {
           for (var i = 0; i < response.records.length; i++) {
             response.records[i].identification = 'false'
             response.records[i].identification = 'false'
+            response.records[i].settlementPrice = response.records[i].unitPrice 
+            - Math.abs(response.records[i].basisPrice)
+            - Math.abs(response.records[i].unloadingCharge)
+            - Math.abs(response.records[i].invoiceFee)
+            - Math.abs(response.records[i].deductionAmount)
           }
           }
+          
           this.deptBudgetTotal=response.total
           this.deptBudgetTotal=response.total
           this.warehouseList = response
           this.warehouseList = response
         })
         })

+ 5 - 0
src/views/statisticalReport/salesDeliveryReportList.vue

@@ -837,6 +837,11 @@ export default {
       })
       })
         .toPromise()
         .toPromise()
         .then(response => {
         .then(response => {
+          for (var i = 0; i < response.records.length; i++) {
+            response.records[i].settlementPrice = response.records[i].unitPrice 
+            + response.records[i].basisPrice
+            + response.records[i].invoiceFee
+          }
           this.deptBudgetTotal=response.total
           this.deptBudgetTotal=response.total
           this.warehouseList = response
           this.warehouseList = response
         })
         })