|
@@ -1,7 +1,9 @@
|
|
|
+import { stat } from 'fs';
|
|
|
import { BasicColumn } from '/@/components/Table';
|
|
|
import { FormSchema } from '/@/components/Table';
|
|
|
import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
+import { status } from 'nprogress';
|
|
|
//列表数据
|
|
|
export const columns: BasicColumn[] = [
|
|
|
{
|
|
@@ -83,7 +85,7 @@ export const searchFormSchema: FormSchema[] = [
|
|
|
labelWidth: 150,
|
|
|
component: 'JSelect',
|
|
|
componentProps: {
|
|
|
- getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspCustomerProfile/list?pageSize=-1'}),
|
|
|
+ getOptionUrl: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list?pageSize=-1&status=1'}),
|
|
|
showField:"currency_dictText+name"
|
|
|
},
|
|
|
colProps: {span: 12},
|
|
@@ -138,7 +140,7 @@ export const formSchema: FormSchema[] = [
|
|
|
componentProps: {
|
|
|
// mode: 'multiple',//multiple: 多选;不填写为单选
|
|
|
//请求api,返回结果{ result: { records: [{'id':'1',name:'scott'},{'id':'2',name:'小张'}] }}
|
|
|
- api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list',params:{pageSize: -1}}),
|
|
|
+ api: () => defHttp.get({ url: '/cuspCode/cuspSupplierProfile/list',params:{pageSize: -1,status:1}}),
|
|
|
//数值转成String
|
|
|
numberToString: false,
|
|
|
//标题字段
|