Forráskód Böngészése

采购订单/销售订单/销售报价单-增加金额合计计算

jingbb 6 hónapja
szülő
commit
5500051c12

+ 1 - 0
src/views/purchase/purchaseOrder/PurchaseOrderForm.data.ts

@@ -303,6 +303,7 @@ export const purchaseOrderProductColumns: JVxeColumn[] = [
       width:"200px",
       placeholder: '请输入${title}',
       defaultValue:'',
+      statistics:['sum'],
     },
     {
       title: '备注(note)',

+ 3 - 3
src/views/purchase/purchaseOrder/components/PurchaseOrderFormForm.vue

@@ -668,9 +668,9 @@
   :deep(.ant-calendar-picker) {
     width: 100%;
   }
-  /deep/.vxe-table--body-wrapper{
-    height: 100% !important;
-  }
+  // /deep/.vxe-table--body-wrapper{
+  //   height: 100% !important;
+  // }
   /deep/.ant-modal-body{
     padding: 24px !important;
   }

+ 3 - 3
src/views/saleCode/quotation/components/quotationFormForm.vue

@@ -811,9 +811,9 @@
   :deep(.ant-calendar-picker) {
     width: 100%;
   }
-  /deep/.vxe-table--body-wrapper{
-    height: 100% !important;
-  }
+  // /deep/.vxe-table--body-wrapper{
+  //   height: 100% !important;
+  // }
   /deep/.ant-modal-body{
     padding: 24px !important;
   }

+ 1 - 0
src/views/saleCode/quotation/quotationForm.data.ts

@@ -320,6 +320,7 @@ export const saleQuotationFormProductColumns: JVxeColumn[] = [
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
+      statistics:['sum'],
     },
     {
       title: '备注(note)',

+ 2 - 0
src/views/saleCode/salesOrder/SaleOrderForm.data.ts

@@ -317,6 +317,7 @@ export const saleOrderProductColumns: JVxeColumn[] = [
       width:"200px",
       placeholder: '请输入${title}',
       defaultValue:'',
+      statistics:['sum'],
     },
     {
       title: '折后单价(discounted unit price)',
@@ -333,6 +334,7 @@ export const saleOrderProductColumns: JVxeColumn[] = [
       width:"200px",
       placeholder: '请输入${title}',
       defaultValue:'',
+      statistics:['sum'],
     },
     {
       title: '备注(note)',

+ 5 - 5
src/views/saleCode/salesOrder/components/SlaeOrderFormForm.vue

@@ -664,7 +664,7 @@
           formData.convertedAmount = Number(formData.convertedAmount).toFixed(2)
         }
       }
-      /**
+       /**
        * 值改变事件触发-树控件回调
        * @param key
        * @param value
@@ -713,7 +713,7 @@
         ClassList,
         changeValues,
         changeDiscount,
-        CustomerOption
+        CustomerOption,
       }
     }
   });
@@ -727,9 +727,9 @@
   :deep(.ant-calendar-picker) {
     width: 100%;
   }
-  /deep/.vxe-table--body-wrapper{
-    height: 100% !important;
-  }
+  // /deep/.vxe-table--body-wrapper{
+  //   height: 100% !important;
+  // }
   /deep/.ant-modal-body{
     padding: 24px !important;
   }