This commit is contained in:
2025-09-12 11:01:46 +08:00
parent fe0dbbf8ac
commit 088946e2ad
5 changed files with 20 additions and 15 deletions

View File

@@ -116,16 +116,15 @@
id: '',
code: '',
val1: '',
val2: '',
pkId: '',
pkObj: {},
// dataList: [],
dataList: [
{site_code: 's01', vehicle_code: 'v01', checked: false},
{site_code: 's02', vehicle_code: 'v02', checked: false},
{site_code: 's03', vehicle_code: 'v03', checked: false},
{site_code: 's04', vehicle_code: 'v04', checked: false}
],
dataList: [],
// dataList: [
// {site_code: 's01', vehicle_code: 'v01', checked: false},
// {site_code: 's02', vehicle_code: 'v02', checked: false},
// {site_code: 's03', vehicle_code: 'v03', checked: false},
// {site_code: 's04', vehicle_code: 'v04', checked: false}
// ],
checkedArr: [],
pkId: '',
currentData: {},
@@ -146,7 +145,7 @@
}
},
handleAdd () {
if (!this.val1 || !this.val2) {
if (!this.val1) {
return
}
this.dataList.map(el => {

View File

@@ -22,10 +22,10 @@
</view>
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label filter_input_disabled">料桶号</span>
<span class="filter_label">料桶号</span>
</view>
<view class="zd-col-24 filter_select">
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.storagevehicle_code" @tap="toJump">
<input type="text" class="filter_input" v-model="currentData.storagevehicle_code" @tap="toJump">
</view>
</view>
<view class="zd-row border-bottom">
@@ -140,7 +140,7 @@
methods: {
toJump () {
uni.navigateTo({
url: '/pages/ftdl/wl-list?title=查询物料&sectcode=' + this.index
url: '/pages/zw/wl-list?title=查询物料&sectcode=' + this.index
})
},
async _getPdaCallMaterialSect () {

View File

@@ -154,7 +154,7 @@
}
},
toJump () {
this.getMaterialSuppByVehicleCode()
this._getMaterialSuppByVehicleCode()
},
selectChange4 (e) {
this.index4 = e

View File

@@ -11,6 +11,7 @@
<view class="zd-col-17">
<search-box
v-model="val1"
@handleChange="handleChange"
/>
</view>
</view>
@@ -84,9 +85,14 @@
this.title = options.title
},
created () {
// this.seachList()
this.seachList()
},
methods: {
handleChange (e) {
if (e) {
this.seachList()
}
},
seachList () {
this.dataList = []
this._getInBillPointList()

View File

@@ -88,7 +88,7 @@
onLoad (options) {
this.title = options.title
this.sectcode = options.sectcode
// this.searchList()
this.searchList()
},
methods: {
searchList () {