添加供应商功能及修改员工头像问题

This commit is contained in:
yangjun 2026-03-23 16:28:11 +08:00
parent d11b21dd74
commit 9ed5a1ac42
7 changed files with 20 additions and 17 deletions

View File

@ -49,7 +49,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'openingBankNo'
},
{
title: '资质照片',
title: '营业执照',
align: "center",
dataIndex: 'imgPath',
customRender: render.renderImage,
@ -139,7 +139,7 @@ export const columns2: BasicColumn[] = [
dataIndex: 'openingBankNo'
},
{
title: '资质照片',
title: '营业执照',
align: "center",
dataIndex: 'imgPath',
customRender: render.renderImage,
@ -192,7 +192,7 @@ export const superQuerySchema = {
supplyState: {title: '供应状态',order: 5,view: 'list', type: 'string',dictCode: '',},
openingBank: {title: '开户行',order: 6,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',},
auditContent: {title: '审核内容',order: 10,view: 'text', type: 'string',},
};

View File

@ -105,9 +105,9 @@
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
const labelCol = reactive({
xs:24,
sm:8,
xl:8,
xxl:8
sm:6,
xl:6,
xxl:6
});
const wrapperCol = reactive({
xs: 24,

View File

@ -48,7 +48,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'openingBankNo'
},
{
title: '资质照片',
title: '营业执照',
align: "center",
dataIndex: 'imgPath',
customRender: render.renderImage,
@ -58,7 +58,10 @@ export const columns: BasicColumn[] = [
title: '入驻日期',
align: "center",
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',},
openingBank: {title: '开户行',order: 6,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',},
};

View File

@ -104,9 +104,9 @@
const [registerTable, { reload, collapseAll, updateTableDataRecord, findTableDataRecord, getDataSource }, { rowSelection, selectedRowKeys }] = tableContext;
const labelCol = reactive({
xs:24,
sm:8,
xl:8,
xxl:8
sm:6,
xl:6,
xxl:6
});
const wrapperCol = reactive({
xs: 24,

View File

@ -43,7 +43,7 @@
</a-form-item>
</a-col>
<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>
</a-form-item>
</a-col>

View File

@ -40,7 +40,7 @@
</a-form-item>
</a-col>
<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>
</a-form-item>
</a-col>

View File

@ -51,7 +51,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'wechartId'
},
{
title: '资质照片',
title: '营业执照',
align:"center",
dataIndex: 'imgPath',
customRender:render.renderImage,
@ -152,7 +152,7 @@ export const formSchema: FormSchema[] = [
component: 'Input',
},
{
label: '资质照片',
label: '营业执照',
field: 'imgPath',
component: 'JImageUpload',
componentProps:{
@ -179,7 +179,7 @@ export const superQuerySchema = {
openingBank: {title: '开户行',order: 6,view: 'text', type: 'string',},
openingBankNo: {title: '开户行账号',order: 7,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',},
};
/**