This commit is contained in:
郭飞 2025-04-27 10:53:25 +08:00
commit cc3e1a5b64
4 changed files with 13 additions and 3 deletions

View File

@ -350,6 +350,7 @@
}, },
changeLocation(e) { changeLocation(e) {
// this.BoxListInfo = []; // this.BoxListInfo = [];
this.LOCATIONNAME = e.value;
}, },
getERPLocation() { getERPLocation() {
this.items = []; this.items = [];

View File

@ -54,7 +54,7 @@
<br /> <br />
<u-row> <u-row>
<label>选择库位:</label>&nbsp;&nbsp;&nbsp;&nbsp; <label>选择库位:</label>&nbsp;&nbsp;&nbsp;&nbsp;
<zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location" :disabled="Locatiaon_state"> <zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location" :disabled="Locatiaon_state" @change="changeLocationName">
</zxzUniDataSelect> </zxzUniDataSelect>
</u-row> </u-row>
<br/> <br/>
@ -302,6 +302,9 @@
this.focusPalletName = true this.focusPalletName = true
} */ } */
}, },
changeLocationName(e) {
this.LOCATIONNAME = e.value;
},
getERPLocation() { getERPLocation() {
this.items = []; this.items = [];
this.$MyRequest('/api/storage/getERPLocation', { this.$MyRequest('/api/storage/getERPLocation', {

View File

@ -15,7 +15,7 @@
<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="LOCATIONNAME" :localdata="items_Location" <zxzUniDataSelect filterable v-model="LOCATIONNAME" :localdata="items_Location"
@inputChange="getitems_LocationAll"></zxzUniDataSelect> @inputChange="getitems_LocationAll" @change="changeLocationName"></zxzUniDataSelect>
</u-form-item> </u-form-item>
<zb-table style="height: 200upx;" ref="zbTable" :show-header="true" :columns="column" :stripe="true" <zb-table style="height: 200upx;" ref="zbTable" :show-header="true" :columns="column" :stripe="true"
:fit="true" :highlight="true" :border="true" :data="sumList"></zb-table> :fit="true" :highlight="true" :border="true" :data="sumList"></zb-table>
@ -388,6 +388,9 @@
//this.LOCATIONNAME = "" //this.LOCATIONNAME = ""
//this.getLocationName(); //this.getLocationName();
}, },
changeLocationName(e) {
this.LOCATIONNAME = e.value;
},
// //
getfocus(nextfocus) { getfocus(nextfocus) {
this.initfocus() this.initfocus()

View File

@ -86,7 +86,7 @@
<u-row> <u-row>
<label>选择库位:</label>&nbsp;&nbsp;&nbsp;&nbsp; <label>选择库位:</label>&nbsp;&nbsp;&nbsp;&nbsp;
<!-- <uni-data-select v-model="LOCATIONNAME" :localdata="items_Location" @change="change2"></uni-data-select> --> <!-- <uni-data-select v-model="LOCATIONNAME" :localdata="items_Location" @change="change2"></uni-data-select> -->
<zxzUniDataSelect filterable @inputChange="getitems_LocationAll" v-model="LOCATIONNAME" :localdata="items_Location" :disabled="Locatiaon_state"> <zxzUniDataSelect filterable @inputChange="getitems_LocationAll" v-model="LOCATIONNAME" :localdata="items_Location" :disabled="Locatiaon_state" @change="changeLocationName">
</zxzUniDataSelect> </zxzUniDataSelect>
</u-row> </u-row>
<!-- <br /> <!-- <br />
@ -328,6 +328,9 @@
} */ } */
}, },
changeLocationName(e) {
this.LOCATIONNAME = e.value;
},
getERPLocation() { getERPLocation() {
this.items = []; this.items = [];
this.$MyRequest('/api/storage/getERPLocation', { this.$MyRequest('/api/storage/getERPLocation', {