fix:修改退料

This commit is contained in:
郭飞 2025-04-23 16:28:36 +08:00
parent 159931a528
commit c596f28377
2 changed files with 23 additions and 14 deletions

View File

@ -1,6 +1,6 @@
<template>
<view class='layout-column'>
<view id="parent" style="width:fit-content;">
<view id="parent" class="parent-view" style="width:fit-content;">
<slot></slot>
</view>
<view

View File

@ -7,16 +7,18 @@
<u-col span="10"><label>{{ERPFACTORYNAME}} {{ERPFACTORY}}</label> </u-col>
</u-row> -->
<!-- <u-form-item :border-bottom="false">
<u-form-item :border-bottom="false">
<label>选择仓库:</label>&nbsp;&nbsp;&nbsp;&nbsp;
<zxzUniDataSelect filterable v-model="ERPLOCATION" :localdata="items" @change="change">
</zxzUniDataSelect>
</u-form-item> -->
<u-form-item :border-bottom="false">
</u-form-item>
<!-- <u-form-item :border-bottom="false">
<label>选择库位</label>
<!-- <zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location"-->
<zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location"-->
<!-- :disabled="Locatiaon_state"></zxzUniDataSelect> -->
<downSelect ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
<u-form-item :border-bottom="false">
<label>选择库位: </label>
<downSelect class="downSelect-col" ref='selectRef' showKey="storageName" mode='single' :dataList="items_Location" @resultBack="resultBack">
<u-input :border="true" v-model="LOCATIONNAME" placeholder="请输入" @input="handleInput"/>
</downSelect>
</u-form-item>
@ -391,7 +393,7 @@
})
this.orgObject = JSON.parse(uni.getStorageSync('orgObject'))
// this.getERPLocation();
this.getERPLocation();
this.getTimeData();
// let Things = 20
// for (var i = 0; i < Things; i++) {
@ -587,11 +589,11 @@
var materialSpecName = barCodeArr[0];
this.$MyRequest('/ProduceReturn/getBarCode', {
MATERIALPACKINGNAME: this.MATERIALPACKINGNAME/* ,
MATERIALPACKINGNAME: this.MATERIALPACKINGNAME,
ERPLOCATION: this.ERPLOCATION,
ERPFACTORY: this.ERPFACTORY,
LOCATIONNAME: this.LOCATIONNAME,
materialSpecName: materialSpecName */
materialSpecName: materialSpecName
}).then(res => {
if (res.data.success) {
var _Arr = res.data.resultObj;
@ -839,8 +841,15 @@
}
}
</script>
<style lang="scss">
.downSelect-col {
width: 83.5%;
::v-deep .parent-view {
width: 100% !important
}
}
switch {
color: #FFCC33;
}