Commit 3b235bbe authored by 仇晓婷's avatar 仇晓婷

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents 19fd0a8f 9fd98ed7
<template> <template>
<div class="data-filling"> <div class="data-filling">
<div class="data-title"> <div class="data-title flex">
<span class="ml20">产品号</span> <div class="fg">
<ProductNumberSelect <span class="ml20">产品号</span>
v-model="product_ID" <ProductNumberSelect
:eid="row.orderId" v-model="product_ID"
ref="codes" :eid="row.orderId"
@on-change="change" ref="codes"
class="select-produt-name" @on-change="change"
/> :multiple="false"
class="select-produt-name"
/>
</div>
<!-- <template v-if="datasearch.isMain!=1"> <!-- <template v-if="datasearch.isMain!=1">
<span class="ml20">汇报板次</span> <span class="ml20">汇报板次</span>
<Select @on-change="boardonchange" v-model="board_ID" class="w200"> <Select @on-change="boardonchange" v-model="board_ID" class="w200">
...@@ -20,7 +24,8 @@ ...@@ -20,7 +24,8 @@
>{{ item.boardNumber }}</Option> >{{ item.boardNumber }}</Option>
</Select> </Select>
</template>--> </template>-->
<Button type="primary" @click="QcCardChecker(1)" class="title_btn ml10">自检</Button> <div class="tr">
<Button type="primary" @click="QcCardChecker(1)" class="title_btn ml10">自检</Button>
<Button type="primary" :disabled="ishavhj" @click="QcCardChecker(2)" class="title_btn ml10">互检</Button> <Button type="primary" :disabled="ishavhj" @click="QcCardChecker(2)" class="title_btn ml10">互检</Button>
<Button type="primary" :disabled="ishavzj" @click="SendCheck()" class="title_btn ml10">送检</Button> <Button type="primary" :disabled="ishavzj" @click="SendCheck()" class="title_btn ml10">送检</Button>
<Button <Button
...@@ -29,6 +34,8 @@ ...@@ -29,6 +34,8 @@
@click="SendCheckRecord()" @click="SendCheckRecord()"
class="title_btn ml10" class="title_btn ml10"
>送检记录</Button> >送检记录</Button>
</div>
</div> </div>
<div class="table-i"> <div class="table-i">
<Table border :columns="columns12" :data="recorddata"> <Table border :columns="columns12" :data="recorddata">
...@@ -413,7 +420,7 @@ export default { ...@@ -413,7 +420,7 @@ export default {
}); });
}, },
change(v) { change(v) {
this.datasearch.productcode = v.join(","); this.datasearch.productcode = v;
this.loaddata(); this.loaddata();
}, },
showrecordData(params, fill_in_user_type, isedit) { showrecordData(params, fill_in_user_type, isedit) {
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
</Form> </Form>
</div> </div>
</div> </div>
<div class="futer flex fc-ev" v-if="ranglist.length>0||fanlist.length>0||feilist.length>0"> <div class="futer flex fc-ev" v-if="hegelist.length>0||ranglist.length>0||fanlist.length>0||feilist.length>0">
<Button class="button" size="large" type="primary" @click="sendOrder" v-if="feilist.length>0" >送审</Button> <Button class="button" size="large" type="primary" @click="sendOrder" v-if="feilist.length>0" >送审</Button>
<Button class="button" size="large" type="primary" @click="submit" v-else>保存</Button> <Button class="button" size="large" type="primary" @click="submit" v-else>保存</Button>
<!-- :disabled="hegelist.length!=0&&fanlist.length!=0&&ranglist.length!=0" --> <!-- :disabled="hegelist.length!=0&&fanlist.length!=0&&ranglist.length!=0" -->
...@@ -220,7 +220,8 @@ export default { ...@@ -220,7 +220,8 @@ export default {
} }
if(u.productStatus==4){ if(u.productStatus==4){
this.fanlist.push(u) this.fanlist.push(u)
}if(u.productStatus==0){ }
if(u.productStatus==0){
this.cardlist.push(u) this.cardlist.push(u)
} }
}); });
...@@ -332,19 +333,19 @@ export default { ...@@ -332,19 +333,19 @@ export default {
okModal() { okModal() {
let unmb = this.num; let unmb = this.num;
if (unmb == 1) { if (unmb == 1) {
this.cansolhege(); this.cansolRang();
this.suModal = false; this.suModal = false;
} }
if (unmb == 2) { if (unmb == 2) {
this.cansolfei(); this.cansolfan();
this.suModal = false; this.suModal = false;
} }
if (unmb == 3) { if (unmb == 3) {
this.cansolRang(); this.cansolfei();
this.suModal = false; this.suModal = false;
} }
if (unmb == 4) { if (unmb == 0) {
this.cansolfan(); this.cansolhege();
this.suModal = false; this.suModal = false;
} }
}, },
...@@ -545,6 +546,7 @@ export default { ...@@ -545,6 +546,7 @@ export default {
} }
} }
} }
// console.log(lists)
let parmes={ let parmes={
dispatchId: this.$route.query.id, dispatchId: this.$route.query.id,
orderId: this.$route.query.orderId, orderId: this.$route.query.orderId,
...@@ -585,6 +587,7 @@ export default { ...@@ -585,6 +587,7 @@ export default {
if(res.success){ if(res.success){
// this.$refs.orderSendReview.info.orderInfo.code = res.result.code // this.$refs.orderSendReview.info.orderInfo.code = res.result.code
this.entity.code = res.result.code this.entity.code = res.result.code
this.entity.idlist = res.result.id
}else{ }else{
console.log("获取编号失败") console.log("获取编号失败")
} }
...@@ -600,10 +603,12 @@ export default { ...@@ -600,10 +603,12 @@ export default {
// 确定送审 // 确定送审
orderSendOk() { orderSendOk() {
// console.log("old->",this.entity) // console.log("old->",this.entity)
let orderids = []
orderids.push(this.entity.idlist)
console.log("new->",this.entity) console.log("new->",this.entity)
let parmese ={ let parmese ={
schemaId: "c2e09c9b-02a9-4188-97a6-cdb68d50a64a", schemaId: "c2e09c9b-02a9-4188-97a6-cdb68d50a64a",
idList: this.entity.orderIds, idList: orderids,
code: this.entity.code, code: this.entity.code,
operatorIdList: this.$refs.orderSendReview.returnDataList(), operatorIdList: this.$refs.orderSendReview.returnDataList(),
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment