mm
This commit is contained in:
@@ -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("订单创建成功")
|
||||
|
||||
Reference in New Issue
Block a user