This commit is contained in:
2024-05-11 15:21:48 +08:00
parent 5cdd141dc4
commit cf2a5a7861
31 changed files with 860 additions and 490 deletions

View File

@@ -2,7 +2,7 @@
/*
* @Date: 2020-12-29 16:49:28
* @LastEditors: zwq
* @LastEditTime: 2024-04-17 09:24:05
* @LastEditTime: 2024-04-25 16:39:43
* @FilePath: \basic-admin\src\filters\basicData\index.js
* @Description:
*/
@@ -51,6 +51,7 @@ const table = {
taskSource: {
1: 'mes下发',
2: 'wms手动',
3: '自动包装线',
},
cancellation: {
1: '否',
@@ -72,7 +73,7 @@ const table = {
5: '取消',
},
region: {
1: '一次分切区域',
1: '一次分切区域1线',
2: '一次分拣区域',
3: '二次分切区域',
4: '二次分拣区域',
@@ -80,6 +81,9 @@ const table = {
6: '涂覆区域',
7: '其他',
8: '自动包装区域',
9: '一次分切区域2线',
10: '一次分切区域3线',
11: '一次分切区域4线',
},
deliveryType: {
1: '单托盘出库',

View File

@@ -2,45 +2,53 @@
* @Author: zwq
* @Date: 2023-09-22 15:36:40
* @LastEditors: zwq
* @LastEditTime: 2023-09-26 15:59:57
* @LastEditTime: 2024-05-06 11:03:59
* @Description:
-->
<template>
<div class="tableInner">
<el-input v-model="list[itemProp]" @blur="changeInput" />
</div>
<div class="tableInner">
<el-input
v-model="list[itemProp]"
:id="'inputFocus'+injectData._pageIndex"
@blur="changeInput"
@keyup.enter.native="nextInput" />
</div>
</template>
<script>
export default {
name: "InputArea",
props: {
injectData: {
type: Object,
default: () => ({}),
},
itemProp: {
type: String,
},
},
data() {
return {
list: this.injectData,
};
},
methods: {
changeInput() {
this.list.sType = 1
this.$emit("emitData", this.list,1);
},
},
name: 'InputArea',
props: {
injectData: {
type: Object,
default: () => ({}),
},
itemProp: {
type: String,
},
},
data() {
return {
list: this.injectData,
};
},
methods: {
changeInput() {
this.list.sType = 1;
this.$emit('emitData', this.list, 1);
},
nextInput(){
this.list.sType = 3;
this.$emit('emitData', this.list, 3);
}
},
};
</script>
<style scoped>
.tableInner >>> .el-input__inner {
color: #409EFF;
border: 1px rgb(232, 231, 231) solid;
padding: 0;
text-align: center;
height: 30px;
color: #409eff;
border: 1px rgb(232, 231, 231) solid;
padding: 0;
text-align: center;
height: 30px;
}
</style>