|
@@ -27,12 +27,12 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '项目(project)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'projectId'
|
|
|
+ dataIndex: 'projectId_dictText'
|
|
|
},
|
|
|
{
|
|
|
title: '客户(customer)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'customerId'
|
|
|
+ dataIndex: 'customerId_dictText'
|
|
|
},
|
|
|
{
|
|
|
title: '采购方式(procurement method)',
|
|
@@ -67,7 +67,7 @@ export const columns: BasicColumn[] = [
|
|
|
{
|
|
|
title: '投标结果(tender result)',
|
|
|
align:"center",
|
|
|
- dataIndex: 'tenderResult'
|
|
|
+ dataIndex: 'tenderResult_dictText'
|
|
|
},
|
|
|
{
|
|
|
title: '备注(notes)',
|
|
@@ -111,7 +111,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: "投标结果(tender result)",
|
|
|
field: 'tenderResult',
|
|
|
- component: 'JSelectMultiple',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
componentProps:{
|
|
|
dictCode:"tender_result"
|
|
|
},
|
|
@@ -143,7 +143,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
labelWidth:150,
|
|
|
componentProps: {
|
|
|
valueType: 'Date',
|
|
|
- showTime:true
|
|
|
+ showTime:false
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
@@ -154,7 +154,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
labelWidth:180,
|
|
|
componentProps: {
|
|
|
valueType: 'Date',
|
|
|
- showTime:true
|
|
|
+ showTime:false
|
|
|
},
|
|
|
//colProps: {span: 6},
|
|
|
},
|
|
@@ -175,7 +175,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: "提交(submit)",
|
|
|
field: 'submit',
|
|
|
- component: 'JSelectMultiple',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
labelWidth:150,
|
|
|
componentProps:{
|
|
|
dictCode:"yes_or_no"
|
|
@@ -204,6 +204,7 @@ export const formSchema: FormSchema[] = [
|
|
|
field: 'billCode',
|
|
|
component: 'Input',
|
|
|
labelWidth:220,
|
|
|
+ dynamicDisabled:true
|
|
|
},
|
|
|
{
|
|
|
label: '项目(project)',
|
|
@@ -271,8 +272,8 @@ export const formSchema: FormSchema[] = [
|
|
|
labelWidth:150,
|
|
|
component: 'DatePicker',
|
|
|
componentProps: {
|
|
|
- showTime: true,
|
|
|
- valueFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
+ showTime: false,
|
|
|
+ valueFormat: 'YYYY-MM-DD'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -281,8 +282,8 @@ export const formSchema: FormSchema[] = [
|
|
|
labelWidth:220,
|
|
|
component: 'DatePicker',
|
|
|
componentProps: {
|
|
|
- showTime: true,
|
|
|
- valueFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
+ showTime: false,
|
|
|
+ valueFormat: 'YYYY-MM-DD'
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -316,7 +317,7 @@ export const formSchema: FormSchema[] = [
|
|
|
label: '参与家数(households)',
|
|
|
field: 'households',
|
|
|
labelWidth:150,
|
|
|
- component: 'Input',
|
|
|
+ component: 'InputNumber',
|
|
|
},
|
|
|
{
|
|
|
label: '备注(notes)',
|
|
@@ -371,7 +372,7 @@ export function getBpmFormSchema(_formData): FormSchema[]{
|
|
|
return formSchema;
|
|
|
}
|
|
|
export function getCustomerOptions(){
|
|
|
- let params = {pageSize:'-1'}
|
|
|
+ let params = {pageSize:'-1',status:1}
|
|
|
defHttp.get({url:'/cuspCode/cuspCustomerProfile/list',params}, { isTransformResponse: false }).then(res=>{
|
|
|
if(res){
|
|
|
res.result.records.forEach(item=>{
|