原材料出库模糊查询
This commit is contained in:
@@ -4,11 +4,19 @@
|
||||
<view class="zd_content">
|
||||
<view class="zd_wrapper">
|
||||
<view class="filter_item">
|
||||
<view class="filter_label_wraper">
|
||||
<span class="filter_label">起始点位</span>
|
||||
</view>
|
||||
<view class="filter_input_wraper">
|
||||
<zxz-uni-data-select v-model="index1" filterable :localdata="options1" @inputChange="inputChange1" @change="selectChange1"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="filter_item">
|
||||
<view class="filter_label">起始点位</view>
|
||||
<view class="filter_input_wraper">
|
||||
<uni-data-select v-model="index1" :localdata="options1" @change="selectChange1"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="filter_item">
|
||||
<view class="filter_label">回温模式</view>
|
||||
<view class="filter_input_wraper">
|
||||
@@ -59,9 +67,17 @@
|
||||
this._pointSearch('YL')
|
||||
},
|
||||
methods: {
|
||||
selectChange1 (e) {
|
||||
this.index1 = e
|
||||
inputChange1 (e) {
|
||||
// console.log(e)
|
||||
},
|
||||
selectChange1(e) {
|
||||
if (e) {
|
||||
this.index1 = e.point_code
|
||||
}
|
||||
},
|
||||
// selectChange1 (e) {
|
||||
// this.index1 = e
|
||||
// },
|
||||
selectChange2 (e) {
|
||||
this.index2 = e
|
||||
},
|
||||
|
||||
@@ -10,10 +10,11 @@ export const regionSearch = () => request({
|
||||
})
|
||||
|
||||
// 根据区域查询点位
|
||||
export const pointSearch = (rcode) => request({
|
||||
export const pointSearch = (rcode, pcode) => request({
|
||||
url:'api/pda/point',
|
||||
data: {
|
||||
region_code: rcode
|
||||
region_code: rcode,
|
||||
point_code: pcode
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user