配件领料单优化
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">
|
<div style="height: 500px; overflow-y: scroll; padding: 0 20px">
|
||||||
<!-- <vue-easy-print tableShow ref="remarksPrintRef" class="print"> -->
|
<!-- <vue-easy-print tableShow ref="remarksPrintRef" class="print"> -->
|
||||||
<div id="checkId">
|
<div id="checkId">
|
||||||
|
|
@ -342,14 +342,23 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
//打开领料单
|
//打开领料单
|
||||||
async handleLld(row) {
|
async handleLld(row) {
|
||||||
|
this.leaseApplyData = {}
|
||||||
|
this.leaseApplyDetails = []
|
||||||
this.title = '领料单'
|
this.title = '领料单'
|
||||||
this.open = true
|
this.open = true
|
||||||
|
this.loading = true
|
||||||
|
try {
|
||||||
const res = await getPartLeaseByTaskIdApi({ taskId: row.taskId })
|
const res = await getPartLeaseByTaskIdApi({ taskId: row.taskId })
|
||||||
console.log('🚀 ~ handleLld ~ res:', res)
|
console.log('🚀 ~ handleLld ~ res:', res)
|
||||||
this.leaseApplyDetails = res.data.detailsList
|
this.leaseApplyDetails = res.data.detailsList
|
||||||
this.leaseApplyData = res.data.details
|
this.leaseApplyData = res.data.details
|
||||||
this.leaseApplyData.createTime = row.createTime
|
this.leaseApplyData.createTime = row.createTime
|
||||||
this.leaseApplyData.code = row.code
|
this.leaseApplyData.code = row.code
|
||||||
|
} catch (error) {
|
||||||
|
console.log('🚀 ~ handleLld ~ error:', error)
|
||||||
|
} finally {
|
||||||
|
this.loading = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
//打印
|
//打印
|
||||||
print() {
|
print() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue