'调用K3组件反审核单据

7 篇文章 0 订阅


Public Function UnCheckK3Bill(ByVal lTranType As Long, ByVal lInterID As Long) As Boolean
On Error GoTo Err
    Dim MOBJ As Object
    Dim DictParam As KFO.Dictionary
    Dim obj As Object
    Dim ReturnCode As Long
    Dim ReturnString As String
    Dim vectItemInfo As KFO.Vector
    Dim MultiCheckLevel As Long
    UnCheckK3Bill = True
    Set MOBJ = CreateObject("K3MCheckBill.CheckNow")
    Set DictParam = New KFO.Dictionary
    DictParam("PropString") = sPropsString
    DictParam("TransType") = lTranType
    DictParam("InterID") = lInterID
    DictParam("CheckerID") = 0
    DictParam("CheckSwitch") = 0 'check
    DictParam("ReCheck") = 0
    DictParam("OperateType") = 0
    DictParam("CheckDate") = Format(Now, "yyyy-MM-dd hh:mm:ss")
    DictParam("ReturnCode") = ReturnCode
    DictParam("ReturnString") = ReturnString
    Set DictParam("vectItemInfo") = vectItemInfo
    DictParam("MultiCheckLevel") = MultiCheckLevel
    DictParam("WorkFlowFlag") = 0 '发送工作流消息标志
    DictParam("BillNO") = gsBillNo
    DictParam("OperateCode") = 2
 
    MOBJ.CheckBill DictParam
    If DictParam("ReturnCode") < 0 Then
       Msg DictParam("ReturnString")
       UnCheckK3Bill = False
    Else
        'Msg "反审核成功!"
    End If

    Set DictParam = Nothing
    Set MOBJ = Nothing
    Exit Function
Err:
    UnCheckK3Bill = False
    Msg Err.Description
End Function



DictParam("OperateCode") = 2'反审核
【八戒】赖洪 2015/12/4 10:18:37

DictParam("OperateCode") = 1 是审核



  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在 Vue 框架中,JSX 是一种用于声明虚拟 DOM 的语法。如果需要在 Vue 中使用 JSX,则需要使用 Vue JSX 插件。在编写具有嵌套关系的组件时,我们可以通过在子组件中使用 props 进行数据传递。然后,我们可以在子组件中通过触发事件来调用组件中的方法。 在子组件中,我们可以通过 $emit 方法来触发自定义事件并传递数据。例如,我们可以在子组件中添加以下代码: ``` <button @click="$emit('update:message', message + '!')">点击更新</button> ``` 这里,我们在子组件的按钮上绑定了一个 click 事件,并在该事件中使用 $emit 方法触发了一个名为 update:message 的自定义事件,并携带了 message + '!' 的数据。 在父组件中,我们可以使用 v-on 指令监听该自定义事件,并在该事件中调用一个方法。例如,我们可以在父组件中添加以下代码: ``` <my-component v-on:update:message="updateMessage"></my-component> ``` 这里,我们在父组件中使用 v-on 指令监听了子组件触发的 update:message 自定义事件,并将其绑定到了父组件中的 updateMessage 方法上。 最后,在父组件中,我们需要定义一个名为 updateMessage 的方法来处理子组件传递过来的数据。例如,我们可以在父组件的 methods 对象中添加以下代码: ``` methods: { updateMessage: function (message) { this.message = message } } ``` 这里,我们定义了一个名为 updateMessage 的方法,并将其绑定到了子组件触发的 update:message 自定义事件上。在该方法中,我们将传递过来的数据赋值给了父组件的 message 数据属性。这样,每次子组件中的按钮被点击时,父组件的 message 数据属性都会被更新。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值