修改包材出库修改3

yangwl
mengjiao 11 months ago
parent f627e159c6
commit 6ded0fe128

@ -8,7 +8,14 @@ export function listOutorder(query) {
params: query params: query
}); });
} }
// 查询包材出库单列表
export function listOutorderZU(query) {
return request({
url: '/wms/outorder/listZU',
method: 'post',
params: query
});
}
// 查询包材出库单详细 // 查询包材出库单详细
export function getOutorder(ID) { export function getOutorder(ID) {
return request({ return request({

@ -161,7 +161,16 @@
</template> </template>
<script> <script>
import { listOutorder, getOutorder, delOutorder, PurchaseOrderOutboundPda, addPurchaseOrderOutbound, getlistCK, OutboundPostingSAP } from "@/api/wms/outorder"; import {
listOutorder,
getOutorder,
delOutorder,
PurchaseOrderOutboundPda,
addPurchaseOrderOutbound,
getlistCK,
OutboundPostingSAP,
listOutorderZU
} from '@/api/wms/outorder'
export default { export default {
name: "Outorder", name: "Outorder",
@ -398,7 +407,7 @@ export default {
// this.outorderList.forEach((item, index) => { // this.outorderList.forEach((item, index) => {
// item.index = index + 1 // item.index = index + 1
// }); // });
listOutorder(this.queryParams).then(response => { listOutorderZU(this.queryParams).then(response => {
this.outorderList = response.rows; this.outorderList = response.rows;
this.outorderList.forEach((item,index) => { this.outorderList.forEach((item,index) => {
item.index = index+1 item.index = index+1

Loading…
Cancel
Save