Explorar o código

采购报价单选定-子表增加折扣字段

jingbb hai 2 meses
pai
achega
436d8b76fb

+ 28 - 4
src/views/purchase/selectionQuotationForm/SelectionQuotationForm.data.ts

@@ -251,7 +251,15 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       width:"200px",
     },
     {
-      title: '单价(price)',
+      title: '折扣(discount)',
+      key: 'discount',
+      type: JVxeTypes.normal,
+      placeholder: '请输入${title}',
+      defaultValue:'',  
+      width:"200px",
+    },
+    {
+      title: '折后单价(price)',
       key: 'taxPrice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
@@ -259,7 +267,7 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       width:"200px",
     },
     {
-      title: '金额(amount)',
+      title: '折后金额(amount)',
       key: 'taxAmount',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
@@ -433,7 +441,15 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       width:"200px",
     },
     {
-      title: '单价(price)',
+      title: '折扣(discount)',
+      key: 'discount',
+      type: JVxeTypes.normal,
+      placeholder: '请输入${title}',
+      defaultValue:'',  
+      width:"200px",
+    },
+    {
+      title: '折后单价(price)',
       key: 'taxPrice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
@@ -457,7 +473,7 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       width:"200px",
     },
     {
-      title: '金额(amount)',
+      title: '折后金额(amount)',
       key: 'taxAmount',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
@@ -532,6 +548,14 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       placeholder: '请输入${title}',
       defaultValue:'',
     },
+    {
+      title: '折扣(discount)',
+      key: 'discount',
+      type: JVxeTypes.normal,
+      placeholder: '请输入${title}',
+      defaultValue:'',  
+      width:"200px",
+    },
     {
       title: '合计金额(total amount)',
       key: 'taxAmount',