Commit 9667fd23 by Sxy

流程优化

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