重量限制
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
<span class="filter_label">物料单重(kg)</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<NumberInput v-model="currentData.single_weight" />
|
||||
<NumberInput v-model="currentData.single_weight"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
@@ -52,13 +52,21 @@
|
||||
<uni-data-select v-model="index" :localdata="options" @change="selectChange"></uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<!-- <view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">料桶编码</span>
|
||||
</view>
|
||||
<view class="zd-col-17">
|
||||
<search-box v-model="currentData.vehicle_code" @handleChange="handleChange" @handleDel="handleDel" />
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">料桶编码</span>
|
||||
</view>
|
||||
<view class="zd-col-17 filter_select">
|
||||
<zxz-uni-data-select v-model="index1" filterable :localdata="options1"></zxz-uni-data-select>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -73,7 +81,7 @@
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import SearchBox from '@/components/SearchBox.vue'
|
||||
import NumberInput from '@/components/NumberInput.vue'
|
||||
import {suppList, combination} from '@/utils/getData4.js'
|
||||
import {vehiclelist, suppList, combination} from '@/utils/getData4.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -87,12 +95,15 @@
|
||||
currentData: {},
|
||||
options: [],
|
||||
index: '',
|
||||
options1: [],
|
||||
index1: '',
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
onLoad (options) {
|
||||
this.title = options.title
|
||||
this._suppList()
|
||||
this._vehiclelist()
|
||||
},
|
||||
onShow () {
|
||||
if (this.$store.getters.publicObj !== '') {
|
||||
@@ -116,6 +127,11 @@
|
||||
this.options = []
|
||||
}
|
||||
},
|
||||
/** 料桶编码下拉框*/
|
||||
async _vehiclelist () {
|
||||
let res = await vehiclelist()
|
||||
this.options1 = [...res]
|
||||
},
|
||||
toJump () {
|
||||
uni.navigateTo({
|
||||
url: '/pages/common/mater-list?title=查询物料'
|
||||
|
||||
Reference in New Issue
Block a user