调拨维护

This commit is contained in:
2024-06-07 16:20:37 +08:00
parent 601726ecd8
commit d0240d5acc
2 changed files with 9 additions and 4 deletions

View File

@@ -6,7 +6,10 @@
<view class="zd-col-24 zd-row jcflexstart">
<view class="zd-col-7"><search-box v-model="val1" /></view>
<view class="zd-col-8 select_wraper mgl10">
<zxz-uni-data-select placeholder="请选择组织信息" v-model="value1" filterable :localdata="range1"></zxz-uni-data-select>
<zxz-uni-data-select placeholder="请选择调入组织信息" v-model="value1" filterable :localdata="range1"></zxz-uni-data-select>
</view>
<view class="zd-col-8 select_wraper mgl10">
<zxz-uni-data-select placeholder="请选择调出组织信息" v-model="value2" filterable :localdata="range1"></zxz-uni-data-select>
</view>
</view>
<button class="confirm-button" @tap="toSearch">查询</button>
@@ -268,6 +271,7 @@
modalObj: {},
disabled: false,
value1: '',
value2: '',
range1: [],
dataList3: [],
iid: '',
@@ -317,7 +321,7 @@
},
// 一级表格接口
async _allocationPage () {
let res = await allocationPage(this.val1, this.value1, this.queryParams1.pageNum + '', this.queryParams1.pageSize + '')
let res = await allocationPage(this.val1, this.value1, this.value2, this.queryParams1.pageNum + '', this.queryParams1.pageSize + '')
if (res.code === 1) {
this.dataList1 = [...res.result]
this.totalCount1 = Number(res.totalElements)

View File

@@ -79,11 +79,12 @@ export const getWarehouseInfo = () => request({
data: {}
})
// 2.查询调拨单据
export const allocationPage = (fuzzy, kczzbm, cgybm, page, size) => request({
export const allocationPage = (fuzzy, drkcbm, dckcbm, page, size) => request({
url:'api/allocationBill/allocationPage',
data: {
fuzzy: fuzzy,
kczzbm: kczzbm,
drkcbm: drkcbm,
dckcbm: dckcbm,
page: page,
size: size
}