This commit is contained in:
2020-08-06 22:56:33 +08:00
parent d8127ddae2
commit 113faa50ce
50 changed files with 1480 additions and 855 deletions

View File

@@ -576,16 +576,17 @@ function TRPNewOrder:setEventDelegate()
order.wfType = "0" -- 0正常工单1退货工单
-- 附件
local wfOptions = {}
if self.images and #(self.images) > 0 then
order.wfOptions = {}
for i, v in ipairs(self.images) do
table.insert(order.wfOptions, v.uploadInfor)
table.insert(wfOptions, v.uploadInfor)
end
end
-----------------------------------
showHotWheel()
NetProto.send.createWfInfo(
order,
wfOptions,
function(content)
if content.success then
MyUtl.toastS("订单创建成功")