人工退料

This commit is contained in:
2025-10-21 14:36:04 +08:00
parent 547be02059
commit d739200a9f
3 changed files with 20 additions and 6 deletions

View File

@@ -53,7 +53,7 @@
title: '',
val1: '',
val2: '',
options: [{text:'空位', value:'1'}, {text:'空托盘', value: '2'}, {text:'托盘绑定', value: '3'}],
options: [{text:'空位', value:'1'}, {text:'空载具', value: '2'}, {text:'托盘绑定', value: '3'}],
index: '',
disabled: false
};

View File

@@ -140,6 +140,11 @@
this.title = options.title
this.id = options.id
},
onShow() {
if (this.$store.getters.dataList !== []) {
this.dataList = this.$store.getters.publicArr
}
},
created () {
},
methods: {
@@ -155,6 +160,7 @@
this.dataList.map(el => {
this.$set(el, 'checked', false)
})
this.$store.dispatch('setPublicArr', this.dataList)
},
// async _getPlate () {
// try {

View File

@@ -81,6 +81,14 @@
</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">
<uni-data-select v-model="index5" :localdata="options5" @change="selectChange5"></uni-data-select>
</view>
</view>
<!-- <view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label filter_input_disabled">供应商编码</span>
</view>
@@ -95,7 +103,7 @@
<view class="zd-col-17">
<input type="text" class="filter_input filter_input_disabled" v-model="currentData.supp_name" disabled>
</view>
</view>
</view> -->
</view>
</view>
</view>
@@ -111,7 +119,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import NumberInput from '@/components/NumberInput.vue'
import {suppList, getMaterialSuppByVehicleCode, checkoutbillBackMaterial} from '@/utils/getData4.js'
import {supplierdroplist, getMaterialSuppByVehicleCode, checkoutbillBackMaterial} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -138,12 +146,12 @@
onShow() {
},
created () {
this._suppList()
this._supplierdroplist()
},
methods: {
async _suppList () {
async _supplierdroplist () {
try {
let res = await suppList()
let res = await supplierdroplist()
if (res) {
this.options5 = res.data
} else {