Commit 3f32759f authored by renjintao's avatar renjintao

mesplan

parent fb72273f
...@@ -700,7 +700,7 @@ export default { ...@@ -700,7 +700,7 @@ export default {
statusList: [], //状态类型 statusList: [], //状态类型
rowData: {}, //编辑、查看的当前行数据 rowData: {}, //编辑、查看的当前行数据
ModalInfoStaut: "", ModalInfoStaut: "",
sendList:[], sendList: []
}; };
}, },
created() { created() {
...@@ -853,8 +853,14 @@ export default { ...@@ -853,8 +853,14 @@ export default {
this.ModalInfo = false; this.ModalInfo = false;
}, },
openSendModal() { openSendModal() {
this.sendModal = true; alert(JSON.stringify(this.sendList))
this.rowData = sendList; alert(this.sendList.length)
if (this.senList.length > 0) {
this.sendModal = true;
this.rowData = this.sendList;
} else {
this.$Message.error("请选择订单");
}
}, },
remove(id) { remove(id) {
this.deletelModal = true; this.deletelModal = true;
...@@ -966,7 +972,7 @@ export default { ...@@ -966,7 +972,7 @@ export default {
//批量选择 //批量选择
let selectRows = a; let selectRows = a;
this.arrPartPkId = []; this.arrPartPkId = [];
this.sendList=a; this.sendList = a;
// selectRows.forEach(e => { // selectRows.forEach(e => {
// this.arrPartPkId.push(e.part_task_pk); // this.arrPartPkId.push(e.part_task_pk);
// }); // });
......
<template> <template>
<div style="width:100%;margin:0 auto" :style="{height:divHeight}"> <div style="width:100%;margin:0 auto" :style="{height:divHeight}">
<Detail v-if="info.status" :info="info"></Detail> <Detail v-if="row.length==1" :info="row[0]"></Detail>
<Table <Table
:loading="loading" :loading="loading"
border border
...@@ -249,7 +249,8 @@ export default { ...@@ -249,7 +249,8 @@ export default {
trigger: "change" trigger: "change"
} }
] ]
} },
rowList:[],
}; };
}, },
props: { props: {
...@@ -331,7 +332,7 @@ export default { ...@@ -331,7 +332,7 @@ export default {
row(v) { row(v) {
if (v != []) { if (v != []) {
this.orderSearchForm = this.$u.clone(this.row); this.orderSearchForm = this.$u.clone(this.row);
this.placeholdeinfo=this.orderSearchForm.productName
} }
} }
} }
......
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