chenrui hace 4 años
padre
commit
132edda201
Se han modificado 1 ficheros con 0 adiciones y 14 borrados
  1. 0 14
      src/views/purchasingManagement/purchaseOrder/detail.vue

+ 0 - 14
src/views/purchasingManagement/purchaseOrder/detail.vue

@@ -174,20 +174,6 @@ export default {
       printerType: 'INK' //  打印机类型
     }
   },
-  computed: {
-    receivingOty () {
-      const totalQty = (this.detail && this.detail.totalQty) ? this.detail.totalQty : 0
-      const totalPutQty = (this.detail && this.detail.totalPutQty) ? this.detail.totalPutQty : 0
-      const totalCancelQty = (this.detail && this.detail.totalCancelQty) ? this.detail.totalCancelQty : 0
-      return Number(totalQty) - Number(totalPutQty) - Number(totalCancelQty)
-    },
-    receivingAmount () {
-      const totalAmount = (this.detail && this.detail.totalAmount) ? this.detail.totalAmount : 0
-      const totalPutAmount = (this.detail && this.detail.totalPutAmount) ? this.detail.totalPutAmount : 0
-      const totalCancelAmount = (this.detail && this.detail.totalCancelAmount) ? this.detail.totalCancelAmount : 0
-      return (Number(totalAmount) * 100 - Number(totalPutAmount) * 100 - Number(totalCancelAmount) * 100) / 100
-    }
-  },
   methods: {
     //  返回列表
     handleBack () {