原料出库
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<view class="uni-input">{{index1 !== '' ? options1[index1].text : ''}}</view>
|
||||
</picker>
|
||||
</view>
|
||||
<view class="uni-icons icon_right" @tap="toPhone"></view>
|
||||
<view class="uni-icons icon_right"></view>
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-5">
|
||||
@@ -55,7 +55,7 @@
|
||||
<span class="filter_label">是否配盘</span>
|
||||
</view>
|
||||
<view class="zd-col-19 zd-row jcflexend">
|
||||
<switch :checked="isSwitchOn" color="#FFCC33" style="transform:scale(0.7)" @change="switch1Change"/>
|
||||
<switch :checked="isSwitchOn" color="#4e6ef2" style="transform:scale(0.7)" @change="switch1Change"/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -76,7 +76,7 @@
|
||||
<tbody>
|
||||
<tr v-for="(e, i) in dataList" :key="i" @click="toChose(e)" :class="{'checked': e.vehicle_code === pkId}">
|
||||
<td class="fontcol1">{{e.vehicle_code}}</td>
|
||||
<td><view class="fontbg fontbg1">{{e.vehicle_type}}</view></td>
|
||||
<td><view class="fontbg">{{e.vehicle_type}}</view></td>
|
||||
<td class="fontcol2">{{e.material_code}}</td>
|
||||
<td class="fontcol2">{{e.material_name}}</td>
|
||||
<td>{{e.point_code}}</td>
|
||||
@@ -112,7 +112,7 @@
|
||||
<tbody>
|
||||
<tr v-for="e in dataList1" :key="e.group_id" @click="toCheck(e)" :class="{'checked': e.checked}">
|
||||
<td class="fontcol1">{{e.vehicle_code}}</td>
|
||||
<td><view class="fontbg fontbg1">{{e.vehicle_type}}</view></td>
|
||||
<td><view class="fontbg">{{e.vehicle_type}}</view></td>
|
||||
<td class="fontcol2">{{e.material_code}}</td>
|
||||
<td class="fontcol2">{{e.material_name}}</td>
|
||||
<td>{{e.point_code}}</td>
|
||||
@@ -165,7 +165,7 @@
|
||||
},
|
||||
created () {
|
||||
this._getVehicleType()
|
||||
this._getMaterial()
|
||||
this._queryMaterial()
|
||||
this._queryExistGroup()
|
||||
},
|
||||
methods: {
|
||||
@@ -178,7 +178,7 @@
|
||||
this.index1 = e.detail.value
|
||||
},
|
||||
/** 物料下拉框*/
|
||||
async _getMaterial (e) {
|
||||
async _queryMaterial (e) {
|
||||
let res = await queryMaterial(e)
|
||||
res.map(el => {
|
||||
this.$set(el, 'value', el.material_id)
|
||||
|
||||
Reference in New Issue
Block a user