材料站领料单
This commit is contained in:
parent
31a5e5f06b
commit
be33ba43cc
|
|
@ -274,6 +274,15 @@ export function getApplyInfo(id) {
|
|||
})
|
||||
}
|
||||
|
||||
// 获取领料单
|
||||
export function getPickListApi(data) {
|
||||
return request({
|
||||
url: '/material/material_lease_apply_info/getPickList',
|
||||
method: 'get',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
// 领料申请-删除
|
||||
export function applyRemove(ids) {
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -195,11 +195,12 @@
|
|||
</div>
|
||||
<div class="item" style="width: 50%; display: flex; align-items: center; flex-wrap: wrap">
|
||||
<div style="display: flex; align-items: center">
|
||||
<div style="width: 50px">领料:</div>
|
||||
<div style="width: 50px;margin-right: 18px">领料:</div>
|
||||
<img
|
||||
v-if="leaseApplyData.leaseSignUrl"
|
||||
:src="leaseApplyData.leaseSignUrl"
|
||||
style="width: 50px; height: 110px; transform: rotate(-90deg)"
|
||||
style="width: 40px; height: 90px"
|
||||
:style="{transform: leaseApplyData.leaseSignType == 0 ? 'rotate(90deg)' : ''}"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -256,7 +257,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getListLeaseApply, getApplyInfo, applyRemove } from '@/api/materialsStation'
|
||||
import { getListLeaseApply, getPickListApi, applyRemove } from '@/api/materialsStation'
|
||||
import vueEasyPrint from 'vue-easy-print'
|
||||
import printJS from 'print-js'
|
||||
|
||||
|
|
@ -367,8 +368,7 @@ export default {
|
|||
this.leaseApplyDetails = []
|
||||
this.leaseApplyData = {}
|
||||
this.open = true
|
||||
var ids = row.id
|
||||
const res = await getApplyInfo(ids)
|
||||
const res = await getPickListApi({ id: row.id })
|
||||
this.leaseApplyDetails = res.data.leaseApplyDetailsList
|
||||
this.leaseApplyData = res.data.leaseApplyInfo
|
||||
},
|
||||
|
|
|
|||
|
|
@ -186,11 +186,12 @@
|
|||
</div>
|
||||
<div class="item" style="width: 50%; display: flex; align-items: center; flex-wrap: wrap">
|
||||
<div style="display: flex; align-items: center">
|
||||
<div style="width: 50px">领料:</div>
|
||||
<div style="width: 50px;margin-right: 18px">领料:</div>
|
||||
<img
|
||||
v-if="leaseApplyData.leaseSignUrl"
|
||||
:src="leaseApplyData.leaseSignUrl"
|
||||
style="width: 70px; height: 50px"
|
||||
style="width: 40px; height: 90px"
|
||||
:style="{transform: leaseApplyData.leaseSignType == 0 ? 'rotate(90deg)' : ''}"
|
||||
alt=""
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -247,7 +248,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { getListLeaseApply, getApplyInfo, applyRemove } from '@/api/materialsStation'
|
||||
import { getListLeaseApply, getPickListApi, applyRemove } from '@/api/materialsStation'
|
||||
import vueEasyPrint from 'vue-easy-print'
|
||||
import printJS from 'print-js'
|
||||
|
||||
|
|
@ -359,8 +360,7 @@ export default {
|
|||
this.leaseApplyData = {}
|
||||
this.title = '领料单'
|
||||
this.open = true
|
||||
var ids = row.id
|
||||
const res = await getApplyInfo(ids)
|
||||
const res = await getPickListApi({ id: row.id})
|
||||
this.leaseApplyDetails = res.data.leaseApplyDetailsList
|
||||
this.leaseApplyData = res.data.leaseApplyInfo
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue