|
@@ -47,38 +47,17 @@ export const columns: BasicColumn[] = [
|
|
|
dataIndex: 'referenceNumber'
|
|
|
},
|
|
|
{
|
|
|
- title: '请求交货日期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'requestedDeliveryDate',
|
|
|
- customRender:({text}) =>{
|
|
|
- text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
|
- return text;
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- title: '建议截止日期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'adviseBeforeDate',
|
|
|
- customRender:({text}) =>{
|
|
|
- text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
|
- return text;
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- title: '提交日期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'submittedDate'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '创建日期',
|
|
|
+ title: '提交',
|
|
|
align:"center",
|
|
|
- dataIndex: 'createdDate'
|
|
|
+ dataIndex: 'submit',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text==0){
|
|
|
+ return '否(no)'
|
|
|
+ }else if(t.text==1){
|
|
|
+ return '是(yes)'
|
|
|
+ }
|
|
|
+ }
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '内容',
|
|
|
- // align:"center",
|
|
|
- // dataIndex: 'content'
|
|
|
- // },
|
|
|
{
|
|
|
title: '同步状态',
|
|
|
align:"center",
|
|
@@ -93,11 +72,43 @@ export const columns: BasicColumn[] = [
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '关闭',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'close',
|
|
|
+ customRender:function (t, r, index) {
|
|
|
+ if(t.text==0){
|
|
|
+ return '否(no)'
|
|
|
+ }else if(t.text==1){
|
|
|
+ return '是(yes)'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '关闭原因',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'closeInfo'
|
|
|
+ },
|
|
|
+ // ,{
|
|
|
+ // title: '提交日期',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'submittedDate'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '同步信息',
|
|
|
align:"center",
|
|
|
dataIndex: 'syncInfo'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '创建日期',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'createdDate'
|
|
|
+ },
|
|
|
+ // {
|
|
|
+ // title: '内容',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'content'
|
|
|
+ // },
|
|
|
{
|
|
|
title: '同步人',
|
|
|
align:"center",
|
|
@@ -113,6 +124,24 @@ export const columns: BasicColumn[] = [
|
|
|
align:"center",
|
|
|
dataIndex: 'syncCode'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '请求交货日期',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'requestedDeliveryDate',
|
|
|
+ customRender:({text}) =>{
|
|
|
+ text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
|
+ return text;
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '建议截止日期',
|
|
|
+ align:"center",
|
|
|
+ dataIndex: 'adviseBeforeDate',
|
|
|
+ customRender:({text}) =>{
|
|
|
+ text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
|
+ return text;
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
title: 'subject',
|
|
|
align:"center",
|
|
@@ -188,11 +217,11 @@ export const columns: BasicColumn[] = [
|
|
|
align:"center",
|
|
|
dataIndex: 'buyerEmail'
|
|
|
},
|
|
|
- {
|
|
|
- title: 'status',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'status'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: 'status',
|
|
|
+ // align:"center",
|
|
|
+ // dataIndex: 'status'
|
|
|
+ // },
|
|
|
];
|
|
|
//查询数据
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
@@ -208,6 +237,46 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
component: 'Input',
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
|
+ {
|
|
|
+ label: "提交",
|
|
|
+ field: "submit",
|
|
|
+ component: 'Select',
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ { label: '是(yes)', value: '1' },
|
|
|
+ { label: '否(no)', value: '0' }
|
|
|
+ ],
|
|
|
+ clearable: true,
|
|
|
+ placeholder: '请选择状态'
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "关闭",
|
|
|
+ field: "close",
|
|
|
+ component: 'Select',
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ { label: '是(yes)', value: '1' },
|
|
|
+ { label: '否(no)', value: '0' }
|
|
|
+ ],
|
|
|
+ clearable: true,
|
|
|
+ placeholder: '请选择状态'
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "同步状态",
|
|
|
+ field: "sync",
|
|
|
+ component: 'Select',
|
|
|
+ componentProps: {
|
|
|
+ options: [
|
|
|
+ { label: '未同步(no)', value: '0' },
|
|
|
+ { label: '同步成功(yes)', value: '1' },
|
|
|
+ { label: '同步失败(err)', value: '2' }
|
|
|
+ ],
|
|
|
+ clearable: true,
|
|
|
+ placeholder: '请选择状态'
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
label: "提交日期",
|
|
|
field: "submittedDate",
|