qukaidi 3 سال پیش
والد
کامیت
7b321c235c

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 547 - 797
src/views/Warehousing/components/incomeMoney.vue


+ 6 - 4
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -9163,6 +9163,9 @@ export default {
       rows.splice(index, 1)
     },
     wDeleteRow(index, rows) {
+      if(this.warehouseDrList&&this.warehouseDrList.length>0){
+       return this.$message.error('收款信息中存在数据,请删除仓储费明细后,继续操作')
+      }
       rows.splice(index, 1)
       this.sumMum = 0
       this.detailList.map((e) => {
@@ -9384,7 +9387,7 @@ export default {
       if (row.fQty) {
         fQty = row.fQty
       }
-      this.$set(row, 'fAmount', Number(fUnitprice) * Number(fQty)).toFixed(2)
+      this.$set(row, 'fAmount', (Number(fUnitprice) * Number(fQty)).toFixed(2))
     },
     // 变更计价单位
     changeFeeUnit(row) {
@@ -9407,8 +9410,7 @@ export default {
       if (row.fUnitprice) {
         this.$set(
           row,
-          'fAmount',
-          parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
+          'fAmount',(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
         )
       }
     },
@@ -9944,7 +9946,7 @@ export default {
           this.allDrAmount = Number(this.allDrAmount) + Number(item.fAmount)
           this.allTaxAmount = this.allTaxAmount.toSuperFixed(2)
           this.allExclTax = this.allExclTax.toSuperFixed(2)
-          this.allDrAmount = this.allDrAmount.toSuperFixed(2)
+          this.allDrAmount = this.allDrAmount.toSuperFixed(3)
         })
         this.nowTime = new Date().toLocaleDateString()
         for (let corp in this.fMblnoOptions) {

+ 2 - 3
src/views/Warehousing/stockTransfer/AddOrUpdate.vue

@@ -6495,7 +6495,7 @@ export default {
       if (row.fQty) {
         fQty = row.fQty;
       }
-      this.$set(row, "fAmount", Number(fUnitprice) * Number(fQty)).toFixed(2);
+      this.$set(row, "fAmount", (Number(fUnitprice) * Number(fQty)).toFixed(2));
     },
     // 变更计价单位
     changeFeeUnit(row) {
@@ -6516,8 +6516,7 @@ export default {
       if (row.fUnitprice) {
         this.$set(
           row,
-          "fAmount",
-          parseFloat(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
+          "fAmount",(Number(row.fUnitprice) * Number(row.fQty)).toFixed(2)
         );
       }
     },

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است