李林
2024-03-22 21ac6eaa16c46edfe331627c59fc1974f78003fb
功能调整
已修改2个文件
14 ■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/Inspection.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-inspect-order-plan.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -130,6 +130,7 @@
<script>
    export default {
        props: ['orderId'],
        data() {
            return {
        sampleVisible:false,
@@ -138,10 +139,15 @@
                    sampleName: null,
                    state: null
                },
        productList:[]
        productList:[],
                id: 0
            }
        },
        created() {
            this.id = this.orderId
        },
        mounted() {
        },
        methods: {
      handleChangeSample(row){
src/components/view/b1-inspect-order-plan.vue
@@ -164,7 +164,7 @@
        <div style="width: 100%;height: 100%;" v-if="activeFace >0">
            <Add :active="activeFace" :currentId="currentId"/>
        </div>
    <Inspection v-if="state==1" @goback="state=0"/>
    <Inspection v-if="state==1" @goback="state=0" :orderId="orderId"/>
    </div>
</template>
@@ -269,7 +269,8 @@
        state:0,//0:台账页,1:检验页面,默认为0
                activeFace: 0, //1:下单,2:查看,3:审核
                currentId: null,
                entityCopy: {}
                entityCopy: {},
                orderId: 0
            }
        },
        created() {
@@ -414,6 +415,7 @@
            },
      handleInspection(row){
        this.state = 1;
                this.orderId = row.id
      }
        }
    }