|
|
|
|
@ -8,15 +8,7 @@ |
|
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
|
<el-button size="small" type="primary" @click="handleDesign()">新增出库单 |
|
|
|
|
</el-button> |
|
|
|
|
<!-- <el-button size="small" plain @click="handleExport()">出库单导出 |
|
|
|
|
</el-button> --> |
|
|
|
|
</template> |
|
|
|
|
<!-- <template slot-scope="scope" slot="purchaseEndInfo"> |
|
|
|
|
<el-button type="text" @click.stop="purchaseFn(scope.row)" |
|
|
|
|
v-if="scope.row.purchaseEndInfo != '无'"> |
|
|
|
|
{{scope.row.purchaseEndInfo }}</el-button> |
|
|
|
|
<span>{{ scope.row.purchaseEndInfo || '无' }}</span> |
|
|
|
|
</template> --> |
|
|
|
|
<template slot-scope="scope" slot="demandEndInfo"> |
|
|
|
|
<el-button |
|
|
|
|
type="text" |
|
|
|
|
@ -38,7 +30,7 @@ |
|
|
|
|
|
|
|
|
|
<!-- 需求单明细 --> |
|
|
|
|
<needDialog :showDialog="purchaseOpen" v-if="purchaseOpen" @closeDialog="closeDialog" |
|
|
|
|
:purchaseTitle="purchaseTitle"> |
|
|
|
|
:purchaseTitle="purchaseTitle" :id="id"> |
|
|
|
|
</needDialog> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
|
@ -240,6 +232,7 @@ export default { |
|
|
|
|
this.purchaseOpen = true |
|
|
|
|
this.purchaseTitle = row.demandEndInfo + '需求单详情' |
|
|
|
|
this.id = row.id |
|
|
|
|
console.log(this.id,'需求单的id') |
|
|
|
|
}, |
|
|
|
|
closeDialog() { |
|
|
|
|
this.purchaseOpen = false |
|
|
|
|
|