<page-plugin isAuth="{{authInfo['SF_ERP_PRODUCT_PROCESS_VIEW']}}" loading="{{loading}}"
  is-login="{{isLogin}}" bind:handleLogin="handleLogin">
  <block wx:for="{{ process }}" wx:key="parent_process_id">
    <view class="p_process_name-box">
      <view class="p_process_name">{{ item.p_process_name }}</view>
    </view>
    <view class="process-child-box2">
      <view class="process-child-box2-content">
        <view class="process-tr process-head-tr">
          <view class="process-th">工序名称</view>
          <view class="process-th">可作数</view>
        </view>
        <block wx:for="{{ item.child }}" wx:key="process_id" wx:for-item="child" wx:for-index="ci">
          <view class="process-tr process-tr-active" bind:tap="navDetail"
            data-index="{{ index+','+ci }}">
            <view class="process-td">{{ child.process_name }}</view>
            <view class="process-td">{{ child.num }}</view>
          </view>
        </block>
      </view>
    </view>
  </block>
</page-plugin>