Commit 9dcf529c authored by 仇晓婷's avatar 仇晓婷

排产结果页面

parent 3447fee5
......@@ -89,7 +89,7 @@ export default {
},
{
title: "零件图号",
key: "part_id",
key: "part_number",
align: "center"
},
{
......
......@@ -24,32 +24,32 @@
</Col>
</Row>
<Row v-for="(item,index) in dataList" :key="item.id">
<Col span="4">
<span class="expand-value">{{ item.op_task_pk }}</span>
<Col span="4" class="expand-value">
<span>{{ item.task_seq }}</span>
</Col>
<Col span="3">
<span class="expand-value">{{ item.task_name }}</span>
<Col span="3" class="expand-value">
<span>{{ item.task_name }}</span>
</Col>
<Col span="3">
<span class="expand-value">{{ item.put_into_qty }}</span>
<Col span="3" class="expand-value">
<span>{{ item.put_into_qty }}</span>
</Col>
<Col span="3">
<span class="expand-value">{{ item.dispatch_qty }}</span>
<Col span="3" class="expand-value">
<span>{{ item.dispatch_qty }}</span>
</Col>
<Col span="4">
<span class="expand-value">{{ item.plan_start }}</span>
<Col span="4" class="expand-value">
<span>{{ item.plan_start }}</span>
</Col>
<Col span="4">
<span class="expand-value">{{ item.plan_finish }}</span>
<Col span="4" class="expand-value">
<span>{{ item.plan_finish }}</span>
</Col>
<Col span="3">
<span class="expand-value">{{ row.equip_id }}</span>
<Col span="3" class="expand-value">
<span>{{ row.equip_id }}</span>
</Col>
</Row>
</div>
</template>
<script>
import Api from './api'
import Api from "./api";
export default {
props: {
row: Object
......@@ -57,33 +57,36 @@ export default {
data() {
return {
dataList: []
}
};
},
mounted() {
this.getList(this.row)
this.getList(this.row);
},
methods: {
getList(row) {
Api.getdetail({
part_task_pk: row.id,
scheduleId: row.schedule_id
}).then((r) => {
}).then(r => {
if (r.success) {
this.dataList = r.result
this.dataList = r.result;
}
})
});
}
}
}
};
</script>
<style lang='less'>
.result-aps {
.expand-row {
text-align: center;
margin: 5px 0;
font-weight: bold;
}
.expand-value {
text-align: center;
margin: 3px 0;
}
// .ivu-row {
// font-weight: bold !important;
// }
}
td.ivu-table-expanded-cell {
padding: 0 !important;
......
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