Commit ad029250 authored by 仇晓婷's avatar 仇晓婷

整机排产优化

parent 13456309
......@@ -23,7 +23,7 @@
<Checkbox
v-model="li.checked"
@on-change="checkData(li)"
:disabled="isdisabled"
:disabled="li.status==0?false:true"
>订单号:{{li.mesCode}}</Checkbox>
</Col>
<Col :span="4" class="order-ringht">
......@@ -114,7 +114,7 @@
</FormItem>
<FormItem>
<Button style="margin-left: 8px" @click="closeOk">取消</Button>
<Button type="primary" @click="lowerHair">下发</Button>
<Button type="primary" @click="lowerHair" v-if="showXia">下发</Button>
</FormItem>
</Form>
</div>
......@@ -135,8 +135,8 @@ export default {
data() {
return {
list: [],
showXia: true,
status: "0", //全部排产-1,0为未排产;2为已排查;
isdisabled: false,
formItem: {
radio: "0",
time: "",
......@@ -192,10 +192,10 @@ export default {
changeStatus(name) {
this.status = name;
this.orderlist(this.status);
if (this.status == 1) {
this.isdisabled = true;
if (this.status == 0) {
this.showXia = true;
} else {
this.isdisabled = false;
this.showXia = false;
}
},
//排产池列表
......
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