<template>
    <ifrm ref="ifrm">
        <!-- 镀后检验 -->
        <uni-forms ref="form" err-show-type="toast">
            <uni-forms-item name="allegation"><input type="text" :focus="isFocus" v-model="value" class="uni-input-border" placeholder="请扫描流程卡" /></uni-forms-item>
        </uni-forms>
        <t-table style="margin-top:20rpx">
            <t-tr>
                <t-td>流程卡号</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>车间订单号</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>批单号</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>零件编码</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>零件名称</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>上序号</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>上序名称</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>工序号</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>工序名称</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>班组</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>检验数量</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>合格数量</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>不合格数量</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>报废数量</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>是否合格</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>不良原因</t-td>
                <t-td></t-td>
            </t-tr>
            <t-tr>
                <t-td>不良描述</t-td>
                <t-td></t-td>
            </t-tr>
        </t-table>
        <view class="buttonBox"><button class="button" type="primary">保存</button></view>
    </ifrm>
</template>

<script>
import ifrm from '@/pages/index/ifrm';
import tTable from '@/components/t-table/t-table.vue';
import tTh from '@/components/t-table/t-th.vue';
import tTr from '@/components/t-table/t-tr.vue';
import tTd from '@/components/t-table/t-td.vue';
export default {
    components: {
        ifrm,
        tTable,
        tTh,
        tTr,
        tTd
    },
    data() {
        return {
            value: '',
            isFocus: true,
            current: 0,
            items: ['外协', '热表']
        };
    },
    methods: {
        onClickItem(e) {
            if (this.current != e.currentIndex) {
                this.current = e.currentIndex;
            }
        }
    },
    onNavigationBarButtonTap(btn) {
        this.$refs.ifrm.topMenuClick(btn);
    },
    onShow() {}
};
</script>

<style scoped>
.tabsBox {
    margin-top: 40rpx;
}
.contentBox {
}
</style>
