优化
This commit is contained in:
@@ -116,16 +116,15 @@
|
|||||||
id: '',
|
id: '',
|
||||||
code: '',
|
code: '',
|
||||||
val1: '',
|
val1: '',
|
||||||
val2: '',
|
|
||||||
pkId: '',
|
pkId: '',
|
||||||
pkObj: {},
|
pkObj: {},
|
||||||
// dataList: [],
|
dataList: [],
|
||||||
dataList: [
|
// dataList: [
|
||||||
{site_code: 's01', vehicle_code: 'v01', checked: false},
|
// {site_code: 's01', vehicle_code: 'v01', checked: false},
|
||||||
{site_code: 's02', vehicle_code: 'v02', checked: false},
|
// {site_code: 's02', vehicle_code: 'v02', checked: false},
|
||||||
{site_code: 's03', vehicle_code: 'v03', checked: false},
|
// {site_code: 's03', vehicle_code: 'v03', checked: false},
|
||||||
{site_code: 's04', vehicle_code: 'v04', checked: false}
|
// {site_code: 's04', vehicle_code: 'v04', checked: false}
|
||||||
],
|
// ],
|
||||||
checkedArr: [],
|
checkedArr: [],
|
||||||
pkId: '',
|
pkId: '',
|
||||||
currentData: {},
|
currentData: {},
|
||||||
@@ -146,7 +145,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleAdd () {
|
handleAdd () {
|
||||||
if (!this.val1 || !this.val2) {
|
if (!this.val1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.dataList.map(el => {
|
this.dataList.map(el => {
|
||||||
|
|||||||
@@ -22,10 +22,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="zd-row border-bottom">
|
<view class="zd-row border-bottom">
|
||||||
<view class="zd-col-7">
|
<view class="zd-col-7">
|
||||||
<span class="filter_label filter_input_disabled">料桶号</span>
|
<span class="filter_label">料桶号</span>
|
||||||
</view>
|
</view>
|
||||||
<view class="zd-col-24 filter_select">
|
<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>
|
</view>
|
||||||
<view class="zd-row border-bottom">
|
<view class="zd-row border-bottom">
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
toJump () {
|
toJump () {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/ftdl/wl-list?title=查询物料§code=' + this.index
|
url: '/pages/zw/wl-list?title=查询物料§code=' + this.index
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
async _getPdaCallMaterialSect () {
|
async _getPdaCallMaterialSect () {
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
toJump () {
|
toJump () {
|
||||||
this.getMaterialSuppByVehicleCode()
|
this._getMaterialSuppByVehicleCode()
|
||||||
},
|
},
|
||||||
selectChange4 (e) {
|
selectChange4 (e) {
|
||||||
this.index4 = e
|
this.index4 = e
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
<view class="zd-col-17">
|
<view class="zd-col-17">
|
||||||
<search-box
|
<search-box
|
||||||
v-model="val1"
|
v-model="val1"
|
||||||
|
@handleChange="handleChange"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -84,9 +85,14 @@
|
|||||||
this.title = options.title
|
this.title = options.title
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
// this.seachList()
|
this.seachList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handleChange (e) {
|
||||||
|
if (e) {
|
||||||
|
this.seachList()
|
||||||
|
}
|
||||||
|
},
|
||||||
seachList () {
|
seachList () {
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this._getInBillPointList()
|
this._getInBillPointList()
|
||||||
|
|||||||
@@ -88,7 +88,7 @@
|
|||||||
onLoad (options) {
|
onLoad (options) {
|
||||||
this.title = options.title
|
this.title = options.title
|
||||||
this.sectcode = options.sectcode
|
this.sectcode = options.sectcode
|
||||||
// this.searchList()
|
this.searchList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchList () {
|
searchList () {
|
||||||
|
|||||||
Reference in New Issue
Block a user