数据修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<nav-bar title="移库"></nav-bar>
|
<nav-bar title="盘点"></nav-bar>
|
||||||
<view class="search-confirm-wrap">
|
<view class="search-confirm-wrap">
|
||||||
<view class="zd-row">
|
<view class="zd-row">
|
||||||
<view class="zd-row zd-col-14">
|
<view class="zd-row zd-col-14">
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<button class="confirm-button" @tap="toSearch">查询</button>
|
<button class="confirm-button" @tap="toSearch">查询</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-row jcflexstart table-title_wraper">移库</view>
|
<view class="zd-row jcflexstart table-title_wraper">盘点</view>
|
||||||
<view class="grid-wrap">
|
<view class="grid-wrap">
|
||||||
<view class="zdrow-wrap">
|
<view class="zdrow-wrap">
|
||||||
<view class="zd-row sticky zd-th-wraper">
|
<view class="zd-row sticky zd-th-wraper">
|
||||||
|
|||||||
@@ -507,7 +507,8 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
let res = await easOutInBillUpdate(this.crType, this.checkData)
|
let str = this.checkData.join(',')
|
||||||
|
let res = await easOutInBillUpdate(this.crType, str)
|
||||||
if (res.code === 1) {
|
if (res.code === 1) {
|
||||||
this.disabled1 = false
|
this.disabled1 = false
|
||||||
this.checkData = []
|
this.checkData = []
|
||||||
|
|||||||
@@ -78,7 +78,6 @@
|
|||||||
<th>收货数量</th>
|
<th>收货数量</th>
|
||||||
<th>收货仓库编码</th>
|
<th>收货仓库编码</th>
|
||||||
<th>收货仓库名称</th>
|
<th>收货仓库名称</th>
|
||||||
<th>收货库位名称</th>
|
|
||||||
<th>件数</th>
|
<th>件数</th>
|
||||||
<th>更多</th>
|
<th>更多</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -108,7 +107,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</td>
|
</td>
|
||||||
<td>{{el.ckmc}}</td>
|
<td>{{el.ckmc}}</td>
|
||||||
<td>{{el.kwmc}}</td>
|
|
||||||
<td>{{el.num}}</td>
|
<td>{{el.num}}</td>
|
||||||
<td @tap.stop="getDetails(4,el)"><uni-icons type="more-filled" size="14" color="#fff"></uni-icons></td>
|
<td @tap.stop="getDetails(4,el)"><uni-icons type="more-filled" size="14" color="#fff"></uni-icons></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -45,10 +45,10 @@ export const easOutInBillDetailPage = (djid, page, size) => request({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
// 3.审核出入库单据
|
// 3.审核出入库单据
|
||||||
export const easOutInBillUpdate = (type, arr) => request({
|
export const easOutInBillUpdate = (type, djid) => request({
|
||||||
url:'api/easOutInBill/audit',
|
url:'api/easOutInBill/audit',
|
||||||
type: type,
|
type: type,
|
||||||
data: arr
|
data: {type: type, djid: djid}
|
||||||
})
|
})
|
||||||
// 4.查询出单据明细库位
|
// 4.查询出单据明细库位
|
||||||
export const queryInventoryInfo = (arr) => request({
|
export const queryInventoryInfo = (arr) => request({
|
||||||
@@ -107,7 +107,7 @@ export const updateAssignDtl = (arr) => request({
|
|||||||
})
|
})
|
||||||
// 分配库位查看详情
|
// 分配库位查看详情
|
||||||
export const inWarehouseAssignLocation = (arr, type) => request({
|
export const inWarehouseAssignLocation = (arr, type) => request({
|
||||||
url:'api/easOutInBillDetail/inWarehouseAssignLocation',
|
url:'api/stIvtStockAssignDtl/warehouseAssignLocation',
|
||||||
data: {details: arr, type: type}
|
data: {details: arr, type: type}
|
||||||
})
|
})
|
||||||
// 分配库位查看详情确认
|
// 分配库位查看详情确认
|
||||||
@@ -117,7 +117,7 @@ export const addAssignDtl = (arr) => request({
|
|||||||
})
|
})
|
||||||
// 库存提交
|
// 库存提交
|
||||||
export const inWarehouseCommit = (arr, type) => request({
|
export const inWarehouseCommit = (arr, type) => request({
|
||||||
url:'api/easOutInBillDetail/inWarehouseCommit',
|
url:'api/easOutInBillDetail/warehouseCommit',
|
||||||
data: {details: arr, type: type}
|
data: {details: arr, type: type}
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -256,17 +256,12 @@ export const receiptBillDetailSetStor = (ckbm, details) => request({
|
|||||||
*/
|
*/
|
||||||
// 移库-主表格
|
// 移库-主表格
|
||||||
export const stIvtMoveinvMovePage = (fuzzy, ckbm, page, size) => request({
|
export const stIvtMoveinvMovePage = (fuzzy, ckbm, page, size) => request({
|
||||||
url:'api/stIvtMoveinv/movePage',
|
url:'api/stIvtMoveinv/movePage?fuzzy=' + fuzzy + '&ckbm=' + ckbm + '&page=' + page + '&size=' + size,
|
||||||
data: {
|
method: 'GET'
|
||||||
fuzzy: fuzzy,
|
|
||||||
ckbm: ckbm,
|
|
||||||
page: page,
|
|
||||||
size: size
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
// 移库-副表格
|
// 移库-副表格
|
||||||
export const moveDtlByMoveId = (id) => request({
|
export const moveDtlByMoveId = (id) => request({
|
||||||
url:'api/stIvtMoveinvdtl/moveDtlByMoveId/' + id,
|
url:'api/stIvtMoveinvdtl/moveDtlByMoveId?id=' + id,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
})
|
})
|
||||||
// 移库-修改数量和移出库位
|
// 移库-修改数量和移出库位
|
||||||
@@ -285,17 +280,12 @@ export const stIvtMoveinvConfirmMove = (arr) => request({
|
|||||||
*/
|
*/
|
||||||
// 盘点-主表格
|
// 盘点-主表格
|
||||||
export const stIvtCheckdtlCheckPage = (fuzzy, ckbm, page, size) => request({
|
export const stIvtCheckdtlCheckPage = (fuzzy, ckbm, page, size) => request({
|
||||||
url:'api/stIvtCheckdtl/checkPage',
|
url:'api/stIvtCheckdtl/checkPage?fuzzy=' + fuzzy + '&ckbm=' + ckbm + '&page=' + page + '&size=' + size,
|
||||||
data: {
|
method: 'GET'
|
||||||
fuzzy: fuzzy,
|
|
||||||
ckbm: ckbm,
|
|
||||||
page: page,
|
|
||||||
size: size
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
// 盘点-副表格
|
// 盘点-副表格
|
||||||
export const checkDtlByCheckCode = (id) => request({
|
export const checkDtlByCheckCode = (id) => request({
|
||||||
url:'api/stIvtCheckdtl/checkDtlByCheckCode/' + id,
|
url:'api/stIvtCheckdtl/checkDtlByCheckCode?check_code=' + id,
|
||||||
method: 'GET'
|
method: 'GET'
|
||||||
})
|
})
|
||||||
// 盘点-修改盘点数量
|
// 盘点-修改盘点数量
|
||||||
|
|||||||
@@ -2351,4 +2351,27 @@ export const allocationBillDetail = () => {
|
|||||||
"desc": "查询成功"
|
"desc": "查询成功"
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
}
|
||||||
|
export const stIvtCheckdtlCheckPage = () => {
|
||||||
|
let res = {
|
||||||
|
"pageNum": 1,
|
||||||
|
"pageSize": 10,
|
||||||
|
"totalPage": 109,
|
||||||
|
"totalElements": 1084,
|
||||||
|
"result": [
|
||||||
|
{
|
||||||
|
"id": "0201",
|
||||||
|
"material_code": "btAAAAW8Wd5QCrde",
|
||||||
|
"qty": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "0202",
|
||||||
|
"material_code": "btAAAAW8WdpQCrde",
|
||||||
|
"qty": "1"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"code": 1,
|
||||||
|
"desc": "查询成功"
|
||||||
|
}
|
||||||
|
return res
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user