Commit e1cdfb8b by lixinming

no message

parent 2e158dd9
......@@ -27,6 +27,7 @@ export async function registerEnterprise(uscc:string, param) {
if ( dataBaseInfo&& dataBaseInfo.uscc) throw new BizError(ERRORENUM.该企业已存在, `${param.uscc}已经在库中存在`);
param.isCreate = true;
await createEnterprise(uscc, TaskId, param);
return {isSuccess:true};
......
......@@ -52,7 +52,8 @@ export async function fuHuaQiTaskList(uscc:string) {
}
dataList.forEach(info => {
onceObj.enterpriseList.push({name:info.name, id:info.uscc});
let addInfo:any = {name:info.name, id:info.uscc, isCreate:info.isCreate || false};
onceObj.enterpriseList.push(addInfo);
});
result.push(onceObj);
}
......
......@@ -19,6 +19,7 @@ const enterpriseSchema = new Schema({
oldLogonAdd:String,//迁入前注册地址
logonAdd:String,//注册地址
operatingAdd:String,//经营地址
isCreate:{type:Boolean, default:false},//是否新建
// isPhysicalPresence:{type:Boolean, default:true},//是否实地孵化 暂时弃用
leasedArea:Number,//租赁面积(平方米)
draftLock:{type:Boolean, default:false},//草稿锁,true为提交之后,false为草稿
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment