|
@@ -6,11 +6,11 @@ import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types'
|
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
|
|
//列表数据
|
|
|
export const columns: BasicColumn[] = [
|
|
|
- {
|
|
|
- title: '交易编号',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'transactionId'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '交易编号',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'transactionId'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '客户号',
|
|
|
align:"center",
|
|
@@ -21,16 +21,16 @@ export const columns: BasicColumn[] = [
|
|
|
align:"center",
|
|
|
dataIndex: 'buyerName'
|
|
|
},
|
|
|
- {
|
|
|
- title: '供应商号',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'supplierTnId'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '供应商名称',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'supplierName'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '供应商号',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'supplierTnId'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '供应商名称',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'supplierName'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '优先级',
|
|
|
align:"center",
|
|
@@ -70,14 +70,28 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'submittedDate'
|
|
|
},
|
|
|
{
|
|
|
- title: '内容',
|
|
|
+ title: '创建日期',
|
|
|
align:"center",
|
|
|
- dataIndex: 'content'
|
|
|
+ dataIndex: 'createdDate'
|
|
|
},
|
|
|
+ // {
|
|
|
+ // title: '内容',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'content'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '同步状态',
|
|
|
align:"center",
|
|
|
- dataIndex: 'sync'
|
|
|
+ dataIndex: 'sync',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text==0){
|
|
|
+ return '未同步(no)'
|
|
|
+ }else if(t.text==1){
|
|
|
+ return '同步成功(yes)'
|
|
|
+ }else if(t.text==2){
|
|
|
+ return '同步失败(error)'
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '同步信息',
|
|
@@ -109,31 +123,31 @@ export const columns: BasicColumn[] = [
|
|
|
align:"center",
|
|
|
dataIndex: 'comment'
|
|
|
},
|
|
|
- {
|
|
|
- title: 'requisitionId',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'requisitionId'
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'requestForQuoteId',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'requestForQuoteId'
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'quoteId',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'quoteId'
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'offeredQuality',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'offeredQuality'
|
|
|
- },
|
|
|
- {
|
|
|
- title: 'taxStatus',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'taxStatus'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: 'requisitionId',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'requisitionId'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'requestForQuoteId',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'requestForQuoteId'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'quoteId',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'quoteId'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'offeredQuality',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'offeredQuality'
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'taxStatus',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'taxStatus'
|
|
|
+ // },
|
|
|
{
|
|
|
title: 'paymentTerms',
|
|
|
align:"center",
|
|
@@ -207,11 +221,11 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
];
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
- {
|
|
|
- label: '交易编号',
|
|
|
- field: 'transactionId',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: '交易编号',
|
|
|
+ // field: 'transactionId',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
{
|
|
|
label: '客户号',
|
|
|
field: 'buyerTnId',
|
|
@@ -232,16 +246,16 @@ export const formSchema: FormSchema[] = [
|
|
|
];
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- label: '供应商号',
|
|
|
- field: 'supplierTnId',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: '供应商名称',
|
|
|
- field: 'supplierName',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: '供应商号',
|
|
|
+ // field: 'supplierTnId',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: '供应商名称',
|
|
|
+ // field: 'supplierName',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
{
|
|
|
label: '优先级',
|
|
|
field: 'priority',
|
|
@@ -282,11 +296,11 @@ export const formSchema: FormSchema[] = [
|
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- label: '内容',
|
|
|
- field: 'content',
|
|
|
- component: 'InputTextArea',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: '内容',
|
|
|
+ // field: 'content',
|
|
|
+ // component: 'InputTextArea',
|
|
|
+ // },
|
|
|
{
|
|
|
label: 'subject',
|
|
|
field: 'subject',
|
|
@@ -297,31 +311,31 @@ export const formSchema: FormSchema[] = [
|
|
|
field: 'comment',
|
|
|
component: 'Input',
|
|
|
},
|
|
|
- {
|
|
|
- label: 'requisitionId',
|
|
|
- field: 'requisitionId',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'requestForQuoteId',
|
|
|
- field: 'requestForQuoteId',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'quoteId',
|
|
|
- field: 'quoteId',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'offeredQuality',
|
|
|
- field: 'offeredQuality',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
- {
|
|
|
- label: 'taxStatus',
|
|
|
- field: 'taxStatus',
|
|
|
- component: 'Input',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: 'requisitionId',
|
|
|
+ // field: 'requisitionId',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: 'requestForQuoteId',
|
|
|
+ // field: 'requestForQuoteId',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: 'quoteId',
|
|
|
+ // field: 'quoteId',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: 'offeredQuality',
|
|
|
+ // field: 'offeredQuality',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: 'taxStatus',
|
|
|
+ // field: 'taxStatus',
|
|
|
+ // component: 'Input',
|
|
|
+ // },
|
|
|
{
|
|
|
label: 'paymentTerms',
|
|
|
field: 'paymentTerms',
|
|
@@ -378,70 +392,63 @@ export const formSchema: FormSchema[] = [
|
|
|
//子表单数据
|
|
|
//子表表格配置
|
|
|
export const saleInterfaceItemColumns: JVxeColumn[] = [
|
|
|
- {
|
|
|
- title: 'headId',
|
|
|
- key: 'headId',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步状态(0-未同步,1-同步成功,2-同步失败)',
|
|
|
- key: 'sync',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步信息',
|
|
|
- key: 'syncInfo',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步人',
|
|
|
- key: 'syncBy',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步时间',
|
|
|
- key: 'syncTime',
|
|
|
- type: JVxeTypes.datetime,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步单号',
|
|
|
- key: 'syncCode',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '同步后的产品编码',
|
|
|
- key: 'syncItemCode',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '内容',
|
|
|
- key: 'content',
|
|
|
- type: JVxeTypes.textarea,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: 'headId',
|
|
|
+ // key: 'headId',
|
|
|
+ // type: JVxeTypes.input,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步状态(0-未同步,1-同步成功,2-同步失败)',
|
|
|
+ // key: 'sync',
|
|
|
+ // type: JVxeTypes.inputNumber,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步信息',
|
|
|
+ // key: 'syncInfo',
|
|
|
+ // type: JVxeTypes.input,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步人',
|
|
|
+ // key: 'syncBy',
|
|
|
+ // type: JVxeTypes.input,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步时间',
|
|
|
+ // key: 'syncTime',
|
|
|
+ // type: JVxeTypes.datetime,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步单号',
|
|
|
+ // key: 'syncCode',
|
|
|
+ // type: JVxeTypes.input,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '同步后的产品编码',
|
|
|
+ // key: 'syncItemCode',
|
|
|
+ // type: JVxeTypes.input,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
+
|
|
|
{
|
|
|
title: 'number',
|
|
|
key: 'number',
|
|
@@ -485,14 +492,14 @@ export const saleInterfaceItemColumns: JVxeColumn[] = [
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
},
|
|
|
- {
|
|
|
- title: 'unitPrice',
|
|
|
- key: 'unitPrice',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: 'unitPrice',
|
|
|
+ // key: 'unitPrice',
|
|
|
+ // type: JVxeTypes.inputNumber,
|
|
|
+ // width:"200px",
|
|
|
+ // placeholder: '请输入${title}',
|
|
|
+ // defaultValue:'',
|
|
|
+ // },
|
|
|
{
|
|
|
title: 'comment',
|
|
|
key: 'comment',
|
|
@@ -500,6 +507,13 @@ export const saleInterfaceItemColumns: JVxeColumn[] = [
|
|
|
width:"200px",
|
|
|
placeholder: '请输入${title}',
|
|
|
defaultValue:'',
|
|
|
+ },{
|
|
|
+ title: '内容',
|
|
|
+ key: 'content',
|
|
|
+ type: JVxeTypes.textarea,
|
|
|
+ width:"200px",
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue:'',
|
|
|
},
|
|
|
]
|
|
|
|