配件领料单优化
This commit is contained in:
parent
1b5bd7f075
commit
9c15ca3d58
|
|
@ -120,7 +120,7 @@
|
|||
/>
|
||||
|
||||
<!-- 领料单弹窗 -->
|
||||
<el-dialog :visible.sync="open" width="1000px" :title="title" append-to-body>
|
||||
<el-dialog :visible.sync="open" width="1000px" :title="title" append-to-body v-loading="loading">
|
||||
<div style="height: 500px; overflow-y: scroll; padding: 0 20px">
|
||||
<!-- <vue-easy-print tableShow ref="remarksPrintRef" class="print"> -->
|
||||
<div id="checkId">
|
||||
|
|
@ -342,14 +342,23 @@ export default {
|
|||
methods: {
|
||||
//打开领料单
|
||||
async handleLld(row) {
|
||||
this.leaseApplyData = {}
|
||||
this.leaseApplyDetails = []
|
||||
this.title = '领料单'
|
||||
this.open = true
|
||||
const res = await getPartLeaseByTaskIdApi({ taskId: row.taskId })
|
||||
console.log('🚀 ~ handleLld ~ res:', res)
|
||||
this.leaseApplyDetails = res.data.detailsList
|
||||
this.leaseApplyData = res.data.details
|
||||
this.leaseApplyData.createTime = row.createTime
|
||||
this.leaseApplyData.code = row.code
|
||||
this.loading = true
|
||||
try {
|
||||
const res = await getPartLeaseByTaskIdApi({ taskId: row.taskId })
|
||||
console.log('🚀 ~ handleLld ~ res:', res)
|
||||
this.leaseApplyDetails = res.data.detailsList
|
||||
this.leaseApplyData = res.data.details
|
||||
this.leaseApplyData.createTime = row.createTime
|
||||
this.leaseApplyData.code = row.code
|
||||
} catch (error) {
|
||||
console.log('🚀 ~ handleLld ~ error:', error)
|
||||
} finally {
|
||||
this.loading = false
|
||||
}
|
||||
},
|
||||
//打印
|
||||
print() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue