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> <template>
<view class='layout-column'> <view class='layout-column'>
<view id="parent" style="width:fit-content;"> <view id="parent" class="parent-view" style="width:fit-content;">
<slot></slot> <slot></slot>
</view> </view>
<view <view

View File

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