opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-08-06 15:58:41 +08:00
parent a6d51dd827
commit d999a4a33c
7 changed files with 43 additions and 6 deletions

View File

@@ -172,6 +172,22 @@
/>
</el-select>
</el-form-item>
<el-form-item label="目的楼层" prop="floor_code">
<el-select
v-model="form2.floor_code"
clearable
placeholder="请选择"
class="filter-item"
style="width: 150px;"
>
<el-option
v-for="item in dict.floor_code"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
</el-form>
</div>
</div>
@@ -220,6 +236,7 @@
<el-table-column show-overflow-tooltip prop="insert_time" width="150px" label="入库时间" align="center" />
<el-table-column show-overflow-tooltip prop="task_code" width="150px" label="任务号" align="center" />
<el-table-column show-overflow-tooltip prop="point_code" width="150px" label="出库点" align="center" />
<el-table-column show-overflow-tooltip prop="floor_code" width="150px" label="目的楼层" align="center" />
</el-table>
</el-card>
<StructIvt :dialog-show.sync="structshow" :stor-id="storId" :open-array="openParam" :rowmst="openRow" @StructIvtClosed="queryTableDtl2" />
@@ -237,7 +254,7 @@ export default {
name: 'DivDialog',
components: { StructIvt },
mixins: [crud()],
dicts: ['io_bill_status', 'work_status'],
dicts: ['io_bill_status', 'work_status', 'floor_code'],
props: {
dialogShow: {
type: Boolean,
@@ -281,7 +298,8 @@ export default {
form2: {
unassign_qty: '0',
assign_qty: '0',
point_code: ''
point_code: '',
floor_code: ''
},
sects: [],
pointList: [],
@@ -444,9 +462,14 @@ export default {
this.crud.notify('请先选择站点!', CRUD.NOTIFICATION_TYPE.INFO)
return
}
if (this.form2.floor_code === '') {
this.crud.notify('请先选择楼层!', CRUD.NOTIFICATION_TYPE.INFO)
return
}
this.loadingSetAllPoint = true
const data = {
'point_code': this.form2.point_code,
'floor_code': this.form2.floor_code,
'iostorinv_id': this.mstrow.iostorinv_id,
'bill_code': this.mstrow.bill_code,
'checked': this.checked

View File

@@ -158,7 +158,8 @@
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" />
<el-table-column prop="struct_code" label="仓位" align="center" show-overflow-tooltip />
<el-table-column prop="sect_name" label="区域" align="center" show-overflow-tooltip />
<el-table-column prop="point_code" label="目的位" align="center" />
<el-table-column prop="point_code" label="目的提升机点位" align="center" />
<el-table-column prop="floor_code" label="目的楼层" align="center" />
<el-table-column prop="task_code" label="任务号" align="center" />
<el-table-column prop="task_status" label="状态" align="center" width="110px" :formatter="task_statusFormat" />
</el-table>