添加供应商功能及修改员工头像问题
This commit is contained in:
parent
d11b21dd74
commit
9ed5a1ac42
|
|
@ -49,7 +49,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'openingBankNo'
|
dataIndex: 'openingBankNo'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '资质照片',
|
title: '营业执照',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'imgPath',
|
dataIndex: 'imgPath',
|
||||||
customRender: render.renderImage,
|
customRender: render.renderImage,
|
||||||
|
|
@ -139,7 +139,7 @@ export const columns2: BasicColumn[] = [
|
||||||
dataIndex: 'openingBankNo'
|
dataIndex: 'openingBankNo'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '资质照片',
|
title: '营业执照',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'imgPath',
|
dataIndex: 'imgPath',
|
||||||
customRender: render.renderImage,
|
customRender: render.renderImage,
|
||||||
|
|
@ -192,7 +192,7 @@ export const superQuerySchema = {
|
||||||
supplyState: {title: '供应状态',order: 5,view: 'list', type: 'string',dictCode: '',},
|
supplyState: {title: '供应状态',order: 5,view: 'list', type: 'string',dictCode: '',},
|
||||||
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
||||||
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
||||||
imgPath: {title: '资质照片',order: 8,view: 'image', type: 'string',},
|
imgPath: {title: '营业执照',order: 8,view: 'image', type: 'string',},
|
||||||
status: {title: '审核状态',order: 9,view: 'text', type: 'string',},
|
status: {title: '审核状态',order: 9,view: 'text', type: 'string',},
|
||||||
auditContent: {title: '审核内容',order: 10,view: 'text', type: 'string',},
|
auditContent: {title: '审核内容',order: 10,view: 'text', type: 'string',},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -105,9 +105,9 @@
|
||||||
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
||||||
const labelCol = reactive({
|
const labelCol = reactive({
|
||||||
xs:24,
|
xs:24,
|
||||||
sm:8,
|
sm:6,
|
||||||
xl:8,
|
xl:6,
|
||||||
xxl:8
|
xxl:6
|
||||||
});
|
});
|
||||||
const wrapperCol = reactive({
|
const wrapperCol = reactive({
|
||||||
xs: 24,
|
xs: 24,
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'openingBankNo'
|
dataIndex: 'openingBankNo'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '资质照片',
|
title: '营业执照',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'imgPath',
|
dataIndex: 'imgPath',
|
||||||
customRender: render.renderImage,
|
customRender: render.renderImage,
|
||||||
|
|
@ -58,7 +58,10 @@ export const columns: BasicColumn[] = [
|
||||||
title: '入驻日期',
|
title: '入驻日期',
|
||||||
align: "center",
|
align: "center",
|
||||||
dataIndex: 'createTime',
|
dataIndex: 'createTime',
|
||||||
width: 160
|
width: 160,
|
||||||
|
customRender: function ({ text }) {
|
||||||
|
return text?text.substring(0,10):'';
|
||||||
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -72,6 +75,6 @@ export const superQuerySchema = {
|
||||||
supplyState: {title: '供应状态',order: 5,view: 'list', type: 'string',dictCode: 'supply_status',},
|
supplyState: {title: '供应状态',order: 5,view: 'list', type: 'string',dictCode: 'supply_status',},
|
||||||
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
||||||
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
||||||
imgPath: {title: '资质照片',order: 8,view: 'image', type: 'string',},
|
imgPath: {title: '营业执照',order: 8,view: 'image', type: 'string',},
|
||||||
createTime: {title: '创建日期',order: 9,view: 'datetime', type: 'string',},
|
createTime: {title: '创建日期',order: 9,view: 'datetime', type: 'string',},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -104,9 +104,9 @@
|
||||||
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
|
||||||
const labelCol = reactive({
|
const labelCol = reactive({
|
||||||
xs:24,
|
xs:24,
|
||||||
sm:8,
|
sm:6,
|
||||||
xl:8,
|
xl:6,
|
||||||
xxl:8
|
xxl:6
|
||||||
});
|
});
|
||||||
const wrapperCol = reactive({
|
const wrapperCol = reactive({
|
||||||
xs: 24,
|
xs: 24,
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="资质照片" v-bind="validateInfos.imgPath" id="NuBizSuppliersApplyForm-imgPath" name="imgPath">
|
<a-form-item label="营业执照" v-bind="validateInfos.imgPath" id="NuBizSuppliersApplyForm-imgPath" name="imgPath">
|
||||||
<j-image-upload :fileMax="1" v-model:value="formData.imgPath" ></j-image-upload>
|
<j-image-upload :fileMax="1" v-model:value="formData.imgPath" ></j-image-upload>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item label="资质照片" v-bind="validateInfos.imgPath" id="NuBizSuppliersInfoForm-imgPath" name="imgPath">
|
<a-form-item label="营业执照" v-bind="validateInfos.imgPath" id="NuBizSuppliersInfoForm-imgPath" name="imgPath">
|
||||||
<j-image-upload :fileMax="1" v-model:value="formData.imgPath" ></j-image-upload>
|
<j-image-upload :fileMax="1" v-model:value="formData.imgPath" ></j-image-upload>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ export const columns: BasicColumn[] = [
|
||||||
dataIndex: 'wechartId'
|
dataIndex: 'wechartId'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '资质照片',
|
title: '营业执照',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'imgPath',
|
dataIndex: 'imgPath',
|
||||||
customRender:render.renderImage,
|
customRender:render.renderImage,
|
||||||
|
|
@ -152,7 +152,7 @@ export const formSchema: FormSchema[] = [
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '资质照片',
|
label: '营业执照',
|
||||||
field: 'imgPath',
|
field: 'imgPath',
|
||||||
component: 'JImageUpload',
|
component: 'JImageUpload',
|
||||||
componentProps:{
|
componentProps:{
|
||||||
|
|
@ -179,7 +179,7 @@ export const superQuerySchema = {
|
||||||
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
|
||||||
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
openingBankNo: {title: '开户行账号',order: 7,view: 'text', type: 'string',},
|
||||||
wechartId: {title: '微信账号',order: 8,view: 'text', type: 'string',},
|
wechartId: {title: '微信账号',order: 8,view: 'text', type: 'string',},
|
||||||
imgPath: {title: '资质照片',order: 9,view: 'image', type: 'string',},
|
imgPath: {title: '营业执照',order: 9,view: 'image', type: 'string',},
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue