瀏覽代碼

采购报价单选定-子表字段顺序修改

jingbb 2 月之前
父節點
當前提交
0b0f3a2b33
共有 1 個文件被更改,包括 164 次插入140 次删除
  1. 164 140
      src/views/purchase/selectionQuotationForm/SelectionQuotationForm.data.ts

+ 164 - 140
src/views/purchase/selectionQuotationForm/SelectionQuotationForm.data.ts

@@ -128,184 +128,193 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
+      fixed: 'left',
     },
     {
-      title: '产品中文名(chinese name)',
-      key: 'chineseName',
-      type: JVxeTypes.normal,
+      title: '选定供应商(selection supplier)',
+      key: 'selectionSupplier',
+      type: JVxeTypes.slot,
+      slotName: 'selectionSupplier',
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
+      fixed: 'left',
     },
     {
-      title: '产品英文名(english name)',
-      key: 'englishName',
+      title: '备件号(partno)',
+      key: 'partno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
+    
     {
-      title: '型号(model)',
-      key: 'model',
+      title: '产品英文名(english name)',
+      key: 'englishName',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
     {
-      title: '备件号(partno)',
-      key: 'partno',
+      title: '质量等级(quality grade)',
+      key: 'qualityGrade',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
     {
-      title: '订货号(orderno)',
-      key: 'orderno',
+      title: '币种(currency)',
+      key: 'currency',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '图号(drawingno)',
-      key: 'drawingno',
+      title: '折后单价(price)',
+      key: 'taxPrice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
-    // {
-    //   title: '厂家(factory)',
-    //   key: 'factory',
-    //   placeholder: '请输入${title}',
-    //   width:"200px",
-    //   defaultValue:'',
-    //   type: JVxeTypes.normal,
-    // },
     {
-      title: '质量等级(quality grade)',
-      key: 'qualityGrade',
+      title: '上次报价(last price)',
+      key: 'lastPice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '数量(quantity)',
-      key: 'quantity',
+      title: '折扣(discount)',
+      key: 'discount',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      width:"200px",
-      defaultValue:'',
-    },
-    {
-      title: '选定供应商(selection supplier)',
-      key: 'selectionSupplier',
-      type: JVxeTypes.slot,
-      slotName: 'selectionSupplier',
-      placeholder: '请输入${title}',
       defaultValue:'',  
       width:"200px",
     },
+   
+    // {
+    //   title: '折后金额(amount)',
+    //   key: 'taxAmount',
+    //   type: JVxeTypes.normal,
+    //   placeholder: '请输入${title}',
+    //   defaultValue:'',  
+    //   width:"200px",
+    // },
+    
     {
-      title: '付款条件(payment terms)',
-      key: 'paymentTerm',
+      title: '折后美元单价(tax price)',
+      key: 'taxPriceUsd',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '发货方式(delivery)',
-      key: 'delivery',
+      title: '折后美元金额(tax amount)',
+      key: 'taxAmountUsd',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '交期(delivery time)',
-      key: 'deliveryDayChild',
+      title: '美元汇率(exchangeRate)',
+      key: 'exchangeRateUsd',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '报价有效期(quotation validity)',
-      key: 'quotationValidity',
+      title: '产品中文名(chinese name)',
+      key: 'chineseName',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
     {
-      title: '上次报价(last price)',
-      key: 'lastPice',
+      title: '型号(model)',
+      key: 'model',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
+    
     {
-      title: '折扣(discount)',
-      key: 'discount',
+      title: '订货号(orderno)',
+      key: 'orderno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '折后单价(price)',
-      key: 'taxPrice',
+      title: '图号(drawingno)',
+      key: 'drawingno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
+    // {
+    //   title: '厂家(factory)',
+    //   key: 'factory',
+    //   placeholder: '请输入${title}',
+    //   width:"200px",
+    //   defaultValue:'',
+    //   type: JVxeTypes.normal,
+    // },
+    
     {
-      title: '折后金额(amount)',
-      key: 'taxAmount',
+      title: '数量(quantity)',
+      key: 'quantity',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
+    
     {
-      title: '币种(currency)',
-      key: 'currency',
+      title: '付款条件(payment terms)',
+      key: 'paymentTerm',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '美元单价(tax price)',
-      key: 'taxPriceUsd',
+      title: '发货方式(delivery)',
+      key: 'delivery',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '美元金额(tax amount)',
-      key: 'taxAmountUsd',
+      title: '交期(delivery time)',
+      key: 'deliveryDayChild',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '美元汇率(exchangeRate)',
-      key: 'exchangeRateUsd',
+      title: '报价有效期(quotation validity)',
+      key: 'quotationValidity',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
+    
     {
       title: '备注(note)',
       key: 'notes',
@@ -329,30 +338,34 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
     },
   ]
   export const SupplierQuotationColumns: JVxeColumn[] = [
+   
     {
-      title: '产品分类(product class)',
-      key: 'productClass',
+      title: '产品编码(product code)',
+      key: 'productCode',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
+      fixed: 'left',
     },
     {
-      title: '产品编码(product code)',
-      key: 'productCode',
-      type: JVxeTypes.normal,
-      placeholder: '请输入${title}',
+      title: '报价供应商(quotation supplier)',
+      key: 'suppilerName',
       width:"200px",
+      placeholder: '请输入${title}',
       defaultValue:'',
+      type: JVxeTypes.normal,
+      fixed: 'left',
     },
     {
-      title: '产品中文名(chinese name)',
-      key: 'chineseName',
+      title: '备件号(partno)',
+      key: 'partno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
+   
     {
       title: '产品英文名(english name)',
       key: 'englishName',
@@ -362,140 +375,151 @@ export const SelectQuotationFormProductColumns: JVxeColumn[] = [
       defaultValue:'',
     },
     {
-      title: '型号(model)',
-      key: 'model',
+      title: '质量等级(quality grade)',
+      key: 'qualityGrade',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       width:"200px",
       defaultValue:'',
     },
     {
-      title: '备件号(partno)',
-      key: 'partno',
+      title: '币种(currency)',
+      key: 'currency',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '订货号(orderno)',
-      key: 'orderno',
+      title: '折后单价(price)',
+      key: 'taxPrice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '图号(drawingno)',
-      key: 'drawingno',
+      title: '上次报价(last price)',
+      key: 'lastPice',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '厂家(factory)',
-      key: 'factory',
+      title: '折扣(discount)',
+      key: 'discount',
+      type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
-      type: JVxeTypes.normal,
     },
     {
-      title: '质量等级(quality grade)',
-      key: 'qualityGrade',
+      title: '折后美元单价(tax price)',
+      key: 'taxPriceUsd',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
-      defaultValue:'',
     },
     {
-      title: '报价供应商(quotation supplier)',
-      key: 'suppilerName',
-      width:"200px",
-      placeholder: '请输入${title}',
-      defaultValue:'',
-      type: JVxeTypes.normal,
-    },
-    {
-      title: '付款条件(payment trems)',
-      key: 'paymentTerms',
+      title: '折后美元金额(tax amount)',
+      key: 'taxAmountUsd',
       type: JVxeTypes.normal,
-      width:"200px",
       placeholder: '请输入${title}',
-      defaultValue:'',
+      defaultValue:'',  
+      width:"200px",
     },
     {
-      title: '发货方式(delivery)',
-      key: 'delivery',
+      title: '美元汇率(exchangeRateUsd)',
+      key: 'exchangeRateUsd',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
+      defaultValue:'',  
       width:"200px",
     },
-    {
-      title: '交期(deliery time)',
-      key: 'childDeliveryTime',
+    // {
+    //   title: '产品分类(product class)',
+    //   key: 'productClass',
+    //   type: JVxeTypes.normal,
+    //   placeholder: '请输入${title}',
+    //   width:"200px",
+    //   defaultValue:'',
+    // },
+     {
+      title: '产品中文名(chinese name)',
+      key: 'chineseName',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '折扣(discount)',
-      key: 'discount',
+      title: '型号(model)',
+      key: 'model',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '折后单价(price)',
-      key: 'taxPrice',
+      title: '订货号(orderno)',
+      key: 'orderno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '币种(currency)',
-      key: 'currency',
+      title: '图号(drawingno)',
+      key: 'drawingno',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      defaultValue:'',
     },
     {
-      title: '上次报价(last price)',
-      key: 'lastPice',
-      type: JVxeTypes.normal,
+      title: '厂家(factory)',
+      key: 'factory',
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
-    },
+      defaultValue:'',
+      type: JVxeTypes.normal,
+    },    
     {
-      title: '折后金额(amount)',
-      key: 'taxAmount',
+      title: '付款条件(payment trems)',
+      key: 'paymentTerms',
       type: JVxeTypes.normal,
-      placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
+      placeholder: '请输入${title}',
+      defaultValue:'',
     },
     {
-      title: '美元单价(tax price)',
-      key: 'taxPriceUsd',
+      title: '发货方式(delivery)',
+      key: 'delivery',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
-      defaultValue:'',  
       width:"200px",
     },
     {
-      title: '美元金额(tax amount)',
-      key: 'taxAmountUsd',
+      title: '交期(deliery time)',
+      key: 'childDeliveryTime',
       type: JVxeTypes.normal,
       placeholder: '请输入${title}',
       defaultValue:'',  
       width:"200px",
     },
+   
+  
+    // {
+    //   title: '折后金额(amount)',
+    //   key: 'taxAmount',
+    //   type: JVxeTypes.normal,
+    //   placeholder: '请输入${title}',
+    //   defaultValue:'',  
+    //   width:"200px",
+    // },
+    
     {
       title: '备注(note)',
       key: 'notes',