|
@@ -148,6 +148,39 @@ export const PuechaseQuotationFormShipColumns: JVxeColumn[] = [
|
|
|
},
|
|
|
]
|
|
|
export const PuechaseQuotationFormProductColumns: JVxeColumn[] = [
|
|
|
+ {
|
|
|
+ title: '备件号(partno)',
|
|
|
+ key: 'partno',
|
|
|
+ type: JVxeTypes.normal,
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ width:"200px",
|
|
|
+ fixed: 'left',
|
|
|
+ defaultValue:'',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '产品英文名(english name)',
|
|
|
+ key: 'englishName',
|
|
|
+ type: JVxeTypes.input,
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ width:"200px",
|
|
|
+ defaultValue:'',
|
|
|
+ fixed: 'left',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '数量(quantity)',
|
|
|
+ key: 'quantity',
|
|
|
+ type: JVxeTypes.inputNumber,
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ width:"200px",
|
|
|
+ defaultValue:'',
|
|
|
+ validateRules: [{ required: true, message: '' }],
|
|
|
+ fixed: 'left',
|
|
|
+ // formatter({ cellValue, row, column }) {
|
|
|
+ // row.taxAmount = Number(row.quantity)*Number(row.taxPrice)
|
|
|
+ // row.taxAmount = isNaN( row.taxAmount)?'':Number(row.taxAmount).toFixed(4)
|
|
|
+ // return cellValue
|
|
|
+ // },
|
|
|
+ },
|
|
|
{
|
|
|
title: '交期(delivery day)',
|
|
|
key: 'deliveryDayChild',
|
|
@@ -180,14 +213,7 @@ export const PuechaseQuotationFormProductColumns: JVxeColumn[] = [
|
|
|
width:"200px",
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
- {
|
|
|
- title: '产品英文名(english name)',
|
|
|
- key: 'englishName',
|
|
|
- type: JVxeTypes.input,
|
|
|
- placeholder: '请输入${title}',
|
|
|
- width:"200px",
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
title: '型号(model)',
|
|
|
key: 'model',
|
|
@@ -196,14 +222,7 @@ export const PuechaseQuotationFormProductColumns: JVxeColumn[] = [
|
|
|
width:"200px",
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
- {
|
|
|
- title: '备件号(partno)',
|
|
|
- key: 'partno',
|
|
|
- type: JVxeTypes.normal,
|
|
|
- placeholder: '请输入${title}',
|
|
|
- width:"200px",
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
title: '订货号(orderno)',
|
|
|
key: 'orderno',
|
|
@@ -263,20 +282,7 @@ export const PuechaseQuotationFormProductColumns: JVxeColumn[] = [
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
- {
|
|
|
- title: '数量(quantity)',
|
|
|
- key: 'quantity',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- placeholder: '请输入${title}',
|
|
|
- width:"200px",
|
|
|
- defaultValue:'',
|
|
|
- validateRules: [{ required: true, message: '' }],
|
|
|
- // formatter({ cellValue, row, column }) {
|
|
|
- // row.taxAmount = Number(row.quantity)*Number(row.taxPrice)
|
|
|
- // row.taxAmount = isNaN( row.taxAmount)?'':Number(row.taxAmount).toFixed(4)
|
|
|
- // return cellValue
|
|
|
- // },
|
|
|
- },
|
|
|
+
|
|
|
{
|
|
|
title: '折扣(discount)',
|
|
|
key: 'discount',
|