Commit 9667fd23 by Sxy

流程优化

parent 7446a739
......@@ -119,7 +119,7 @@ class DeliverService extends ServiceBase {
}
let status;
let txstatus;
let materialInfo;
let materialInfo = {};
switch (deliverData.delivery_status) {
case system.SERVERSESTATUS.SUBMITING:
status = system.SERVERSESTATUS.DISPOSEING;
......@@ -129,11 +129,10 @@ class DeliverService extends ServiceBase {
const { material, qualification } = deliverData;
const { proposerInfo: { recipientInfo } } = material;
if (!qualification) {
throw new Error("请上传资质信息")
materialInfo.qualification = qualification
}
materialInfo = {
qualification,
recipientInfo: {
if (!recipientInfo) {
materialInfo.recipientInfo = {
...recipientInfo,
phone: encryptStr(recipientInfo.phone),
}
......
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