Browse Source

国际化修改

1219
zhang 1 month ago
parent
commit
f4048e8eb9
  1. 60
      lms/nladmin-ui/src/views/wms/st/inbill/TaskDialog.vue
  2. 86
      lms/nladmin-ui/src/views/wms/st/inbill/ViewDialog.vue
  3. 64
      lms/nladmin-ui/src/views/wms/st/outbill/TaskDialog.vue
  4. 12
      lms/nladmin-ui/src/views/wms/st/outbill/UploadDialog.vue
  5. 112
      lms/nladmin-ui/src/views/wms/st/outbill/ViewDialog.vue

60
lms/nladmin-ui/src/views/wms/st/inbill/TaskDialog.vue

@ -11,16 +11,16 @@
<span slot="title" class="dialog-footer"> <span slot="title" class="dialog-footer">
<div class="crud-opts2"> <div class="crud-opts2">
<span class="el-dialog__title2">入库单任务操作</span> <span class="el-dialog__title2">{{ $t('inbill.placeholder.end17') }}</span>
<span class="crud-opts-right2"> <span class="crud-opts-right2">
<!--左侧插槽--> <!--左侧插槽-->
<slot name="left" /> <slot name="left" />
<el-button slot="left" type="info" @click="dialogVisible2 = false">关闭</el-button> <el-button slot="left" type="info" @click="dialogVisible2 = false">{{ $t('inbill.placeholder.end6') }}</el-button>
</span> </span>
</div> </div>
</span> </span>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span">入库单据明细项</span> <span class="role-span">{{ $t('inbill.placeholder.end18') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -34,33 +34,33 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@row-click="clcikRow" @row-click="clcikRow"
> >
<el-table-column show-overflow-tooltip type="index" label="序号" align="center" /> <el-table-column show-overflow-tooltip type="index" :label="$t('inbill.dialog.index')" align="center" />
<el-table-column show-overflow-tooltip prop="bill_code" label="单据号" align="center" /> <el-table-column show-overflow-tooltip prop="bill_code" :label="$t('inbill.placeholder.bill_code')" align="center" />
<el-table-column show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column show-overflow-tooltip prop="material_code" :label="$t('inbill.dialog.material_code')" align="center" />
<el-table-column show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column show-overflow-tooltip prop="material_name" :label="$t('inbill.dialog.material_name')" align="center" />
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷号" align="center" /> <el-table-column show-overflow-tooltip prop="pcsn" :label="$t('inbill.dialog.pcsn')" align="center" />
<el-table-column show-overflow-tooltip prop="sap_pcsn" label="SAP批次" align="center" /> <el-table-column show-overflow-tooltip prop="sap_pcsn" :label="$t('inbill.dialog.sap_pcsn')" align="center" />
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" :label="$t('inbill.dialog.plan_qty')" align="center" />
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="assign_qty" prop="assign_qty"
:formatter="crud.formatNum3" :formatter="crud.formatNum3"
label="已分配数量" :label="$t('inbill.dialog.assign_qty')"
align="center" align="center"
/> />
<el-table-column show-overflow-tooltip prop="unassign_qty" :formatter="crud.formatNum3" label="未分配数量" align="center" /> <el-table-column show-overflow-tooltip prop="unassign_qty" :formatter="crud.formatNum3" :label="$t('inbill.dialog.unassign_qty')" align="center" />
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="重量单位" align="center" /> <el-table-column show-overflow-tooltip prop="qty_unit_name" :label="$t('inbill.dialog.qty_unit_name')" align="center" />
</el-table> </el-table>
</el-card> </el-card>
<el-card class="box-card" shadow="never" :body-style="{padding:'20px 20px 0 20px'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'20px 20px 0 20px'}">
<el-form ref="form" :inline="true" :model="form" :rules="rules" size="mini"> <el-form ref="form" :inline="true" :model="form" :rules="rules" size="mini">
<el-form-item prop="checked"> <el-form-item prop="checked">
<el-checkbox v-model="form.checked" true-label="1" false-label="0" @change="checkedChange()">仅显示未完成的任务</el-checkbox> <el-checkbox v-model="form.checked" true-label="1" false-label="0" @change="checkedChange()">{{ $t('inbill.placeholder.end19') }}</el-checkbox>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-card> </el-card>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span">入库单据任务项</span> <span class="role-span">{{ $t('inbill.placeholder.end20') }}</span>
<span class="crud-opts-right2"> <span class="crud-opts-right2">
<!--左侧插槽--> <!--左侧插槽-->
<slot name="left" /> <slot name="left" />
@ -72,7 +72,7 @@
size="mini" size="mini"
@click="delTask()" @click="delTask()"
> >
删除 {{ $t('inbill.placeholder.end21') }}
</el-button> </el-button>
<el-button <el-button
slot="left" slot="left"
@ -82,7 +82,7 @@
size="mini" size="mini"
@click="reIssueTask()" @click="reIssueTask()"
> >
下发 {{ $t('inbill.placeholder.end22') }}
</el-button> </el-button>
<el-button <el-button
slot="left" slot="left"
@ -92,7 +92,7 @@
size="mini" size="mini"
@click="confirmTask()" @click="confirmTask()"
> >
标识完成 {{ $t('inbill.placeholder.end23') }}
</el-button> </el-button>
</span> </span>
</div> </div>
@ -109,18 +109,18 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@row-click="clcikDisRow" @row-click="clcikDisRow"
> >
<el-table-column width="60" prop="seq_no" label="序号" align="center" /> <el-table-column width="60" prop="seq_no" :label="$t('inbill.dialog.index')" align="center" />
<el-table-column width="150" prop="material_code" label="物料编码" align="center" /> <el-table-column width="150" prop="material_code" :label="$t('inbill.dialog.material_code')" align="center" />
<el-table-column width="150" prop="material_name" label="物料名称" align="center" /> <el-table-column width="150" prop="material_name" :label="$t('inbill.dialog.material_name')" align="center" />
<el-table-column width="170" prop="pcsn" label="子卷号" align="center" /> <el-table-column width="170" prop="pcsn" :label="$t('inbill.dialog.pcsn')" align="center" />
<el-table-column width="120" prop="sap_pcsn" label="SAP批次" align="center" /> <el-table-column width="120" prop="sap_pcsn" :label="$t('inbill.dialog.sap_pcsn')" align="center" />
<el-table-column width="230" prop="box_no" label="木箱码" align="center" /> <el-table-column width="230" prop="box_no" :label="$t('inbill.dialog.box_no')" align="center" />
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" :label="$t('inbill.dialog.plan_qty1')" align="center" />
<el-table-column show-overflow-tooltip prop="struct_code" label="分配货位" align="center" /> <el-table-column show-overflow-tooltip prop="struct_code" :label="$t('inbill.dialog.struct_code')" align="center" />
<el-table-column show-overflow-tooltip prop="work_status" label="指令状态" :formatter="statusFormat" align="center" /> <el-table-column show-overflow-tooltip prop="work_status" :label="$t('inbill.dialog.work_status')" :formatter="statusFormat" align="center" />
<el-table-column show-overflow-tooltip prop="task_code" label="指令操作号" align="center" /> <el-table-column show-overflow-tooltip prop="task_code" :label="$t('inbill.dialog.task_code')" align="center" />
<el-table-column show-overflow-tooltip prop="point_code" label="入库点位编码" align="center" /> <el-table-column show-overflow-tooltip prop="point_code" :label="$t('inbill.dialog.point_code')" align="center" />
<el-table-column show-overflow-tooltip prop="point_name" label="入库点位名称" align="center" /> <el-table-column show-overflow-tooltip prop="point_name" :label="$t('inbill.dialog.point_name')" align="center" />
</el-table> </el-table>
</el-card> </el-card>

86
lms/nladmin-ui/src/views/wms/st/inbill/ViewDialog.vue

@ -1,7 +1,7 @@
<template> <template>
<el-dialog <el-dialog
append-to-body append-to-body
title="入库详情" :title="$t('inbill.placeholder.end24')"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
destroy-on-close destroy-on-close
fullscreen fullscreen
@ -9,16 +9,16 @@
@open="open" @open="open"
> >
<el-form ref="form" style="border: 1px solid #cfe0df;margin-top: 10px;padding-top: 10px;" :inline="true" :model="form" size="mini" label-width="85px" label-suffix=":"> <el-form ref="form" style="border: 1px solid #cfe0df;margin-top: 10px;padding-top: 10px;" :inline="true" :model="form" size="mini" label-width="85px" label-suffix=":">
<el-form-item label="单据号" prop="bill_code"> <el-form-item :label="$t('inbill.placeholder.bill_code')" prop="bill_code">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('inbill.placeholder.bill_code') }}:</label>
<el-input v-model="form.bill_code" disabled placeholder="系统生成" clearable style="width: 210px" /> <el-input v-model="form.bill_code" disabled placeholder="$t('inbill.placeholder.end15')" clearable style="width: 210px" />
</el-form-item> </el-form-item>
<el-form-item label="仓库" prop="stor_id"> <el-form-item :label="$t('inbill.dialog.stor_name')" prop="stor_id">
<label slot="label">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('inbill.dialog.stor_name') }}:</label>
<el-select <el-select
v-model="form.stor_id" v-model="form.stor_id"
clearable clearable
placeholder="仓库" :placeholder="$t('inbill.dialog.stor_name')"
class="filter-item" class="filter-item"
style="width: 210px" style="width: 210px"
:disabled="true" :disabled="true"
@ -31,11 +31,11 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="业务类型" prop="bill_type"> <el-form-item :label="$t('inbill.dialog.bill_type')" prop="bill_type">
<el-select <el-select
v-model="form.bill_type" v-model="form.bill_type"
clearable clearable
placeholder="业务类型" :placeholder="$t('inbill.dialog.bill_type')"
style="width: 210px" style="width: 210px"
class="filter-item" class="filter-item"
:disabled="true" :disabled="true"
@ -48,12 +48,12 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="单据状态" prop="bill_status"> <el-form-item :label="$t('inbill.dialog.bill_status')" prop="bill_status">
<el-select <el-select
v-model="form.bill_status" v-model="form.bill_status"
clearable clearable
style="width: 210px" style="width: 210px"
placeholder="单据状态" :placeholder="$t('inbill.dialog.bill_status')"
class="filter-item" class="filter-item"
disabled disabled
> >
@ -65,12 +65,12 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="明细数" prop="detail_count"> <el-form-item :label="$t('inbill.dialog.detail_count')" prop="detail_count">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('inbill.dialog.detail_count') }}:</label>
<el-input v-model="form.detail_count" size="mini" disabled style="width: 210px" /> <el-input v-model="form.detail_count" size="mini" disabled style="width: 210px" />
</el-form-item> </el-form-item>
<el-form-item label="总重量" prop="total_qty"> <el-form-item :label="$t('inbill.dialog.total_qty')" prop="total_qty">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('inbill.dialog.total_qty') }}:</label>
<el-input-number <el-input-number
v-model="form.total_qty" v-model="form.total_qty"
:controls="false" :controls="false"
@ -80,16 +80,16 @@
style="width: 210px" style="width: 210px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="业务日期" prop="biz_date"> <el-form-item :label="$t('inbill.dialog.biz_date')" prop="biz_date">
<el-date-picker v-model="form.biz_date" type="date" placeholder="选择日期" style="width: 210px" value-format="yyyy-MM-dd" :disabled="true" /> <el-date-picker v-model="form.biz_date" type="date" :placeholder="$t('inbill.dialog.select_date')" style="width: 210px" value-format="yyyy-MM-dd" :disabled="true" />
</el-form-item> </el-form-item>
<el-form-item label="备注" prop="remark"> <el-form-item :label="$t('inbill.dialog.remark')" prop="remark">
<label slot="label">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('inbill.dialog.remark') }}:</label>
<el-input v-model="form.remark" style="width: 380px;" rows="2" type="textarea" :disabled="true" /> <el-input v-model="form.remark" style="width: 380px;" rows="2" type="textarea" :disabled="true" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span2">入库明细</span> <span class="role-span2">{{ $t('inbill.placeholder.end26') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -104,22 +104,22 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDtlCurrentChange" @current-change="handleDtlCurrentChange"
> >
<el-table-column type="index" label="序号" width="55" align="center" /> <el-table-column type="index" :label="$t('inbill.dialog.index')" width="55" align="center" />
<el-table-column min-width="120" show-overflow-tooltip prop="bill_code" label="单据号" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="bill_code" :label="$t('inbill.placeholder.bill_code')" align="center" />
<el-table-column :formatter="bill_statusFormat" prop="bill_status" label="状态" /> <el-table-column :formatter="bill_statusFormat" prop="bill_status" :label="$t('inbill.dialog.bill_status')" />
<el-table-column min-width="120" show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_code" :label="$t('inbill.dialog.material_code')" align="center" />
<el-table-column min-width="120" show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_name" :label="$t('inbill.dialog.material_name')" align="center" />
<el-table-column prop="pcsn" label="子卷号" width="150" align="center" /> <el-table-column prop="pcsn" :label="$t('inbill.dialog.pcsn')" width="150" align="center" />
<el-table-column prop="sap_pcsn" label="SAP批次号" width="150" align="center" /> <el-table-column prop="sap_pcsn" :label="$t('inbill.dialog.sap_pcsn')" width="150" align="center" />
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column prop="plan_qty" :formatter="crud.formatNum3" :label="$t('inbill.dialog.plan_qty')" align="center" />
<el-table-column prop="qty_unit_name" label="单位" align="center" /> <el-table-column prop="qty_unit_name" :label="$t('inbill.dialog.qty_unit_name')" align="center" />
<el-table-column prop="source_bill_type" label="源单类型" align="center" width="130px" :formatter="invtypeFormat" /> <el-table-column prop="source_bill_type" :label="$t('inbill.dialog.source_bill_type')" align="center" width="130px" :formatter="invtypeFormat" />
<el-table-column prop="source_bill_code" label="源单号" align="center" width="130px" /> <el-table-column prop="source_bill_code" :label="$t('inbill.dialog.source_bill_code')" align="center" width="130px" />
<el-table-column show-overflow-tooltip prop="remark" label="明细备注" align="center" /> <el-table-column show-overflow-tooltip prop="remark" :label="$t('inbill.dialog.remark')" align="center" />
</el-table> </el-table>
</el-card> </el-card>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span">作业明细</span> <span class="role-span">{{ $t('inbill.placeholder.end25') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -134,16 +134,16 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDisCurrentChange" @current-change="handleDisCurrentChange"
> >
<el-table-column min-width="120" show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_code" :label="$t('inbill.dialog.material_code')" align="center" />
<el-table-column min-width="120" show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_name" :label="$t('inbill.dialog.material_name')" align="center" />
<el-table-column prop="pcsn" label="子卷号" align="center" width="150"/> <el-table-column prop="pcsn" :label="$t('inbill.dialog.pcsn')" align="center" width="150" />
<el-table-column prop="sap_pcsn" label="SAP批次号" align="center" /> <el-table-column prop="sap_pcsn" :label="$t('inbill.dialog.sap_pcsn')" align="center" />
<el-table-column prop="box_no" label="载具号" align="center" /> <el-table-column prop="box_no" :label="$t('inbill.dialog.box_no')" align="center" />
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column prop="plan_qty" :formatter="crud.formatNum3" :label="$t('inbill.dialog.plan_qty')" align="center" />
<el-table-column prop="next_point_code" label="起始位置" align="center" /> <el-table-column prop="next_point_code" :label="$t('inbill.dialog.next_point_code')" align="center" />
<el-table-column prop="struct_code" label="目的位置" align="center" /> <el-table-column prop="struct_code" :label="$t('inbill.dialog.end_point_code')" align="center" />
<el-table-column prop="task_code" label="任务号" align="center" /> <el-table-column prop="task_code" :label="$t('inbill.dialog.task_code1')" align="center" />
<el-table-column prop="task_type_name" label="任务类型" align="center" width="150px" /> <el-table-column prop="task_type_name" :label="$t('inbill.dialog.task_type_name')" align="center" width="150px" />
</el-table> </el-table>
</el-card> </el-card>
</el-dialog> </el-dialog>

64
lms/nladmin-ui/src/views/wms/st/outbill/TaskDialog.vue

@ -11,16 +11,16 @@
<span slot="title" class="dialog-footer"> <span slot="title" class="dialog-footer">
<div class="crud-opts2"> <div class="crud-opts2">
<span class="el-dialog__title2">出库单指令操作</span> <span class="el-dialog__title2">{{ $t('outbill.placeholder.end41') }}</span>
<span class="crud-opts-right2"> <span class="crud-opts-right2">
<!--左侧插槽--> <!--左侧插槽-->
<slot name="left" /> <slot name="left" />
<el-button slot="left" type="info" @click="dialogVisible = false">关闭</el-button> <el-button slot="left" type="info" @click="dialogVisible = false">{{ $t('outbill.placeholder.close') }}</el-button>
</span> </span>
</div> </div>
</span> </span>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span2">出库明细</span> <span class="role-span2">{{ $t('outbill.placeholder.end12') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -34,26 +34,26 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDtlCurrentChange" @current-change="handleDtlCurrentChange"
> >
<el-table-column prop="bill_status" label="状态" align="center" width="110px" :formatter="bill_statusFormat" /> <el-table-column prop="bill_status" :label="$t('outbill.placeholder.bill_status')" align="center" width="110px" :formatter="bill_statusFormat" />
<el-table-column show-overflow-tooltip prop="bill_code" label="单据号" align="center" /> <el-table-column show-overflow-tooltip prop="bill_code" :label="$t('outbill.placeholder.bill_code')" align="center" />
<el-table-column show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column show-overflow-tooltip prop="material_code" :label="$t('outbill.dialog.material_code')" align="center" />
<el-table-column show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column show-overflow-tooltip prop="material_name" :label="$t('outbill.dialog.material_name')" align="center" />
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷号" align="center" /> <el-table-column show-overflow-tooltip prop="pcsn" :label="$t('outbill.placeholder.pcsn')" align="center" />
<el-table-column show-overflow-tooltip prop="sap_pcsn" label="sap批次" align="center" /> <el-table-column show-overflow-tooltip prop="sap_pcsn" :label="$t('outbill.placeholder.sap_pcsn')" align="center" />
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.plan_qty')" align="center" />
<el-table-column show-overflow-tooltip prop="assign_qty" :formatter="crud.formatNum3" label="已分配重量" align="center" /> <el-table-column show-overflow-tooltip prop="assign_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.assign_qty')" align="center" />
<el-table-column show-overflow-tooltip prop="unassign_qty" :formatter="crud.formatNum3" label="未分配重量" align="center" /> <el-table-column show-overflow-tooltip prop="unassign_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.unassign_qty')" align="center" />
<el-table-column show-overflow-tooltip prop="source_bill_type" label="源单类型" align="center" /> <el-table-column show-overflow-tooltip prop="source_bill_type" :label="$t('outbill.dialog.source_bill_type')" align="center" />
<el-table-column show-overflow-tooltip prop="source_bill_code" label="源单编号" align="center" /> <el-table-column show-overflow-tooltip prop="source_bill_code" :label="$t('outbill.dialog.source_bill_code')" align="center" />
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="单位" align="center" /> <el-table-column show-overflow-tooltip prop="qty_unit_name" :label="$t('outbill.dialog.qty_unit_name')" align="center" />
</el-table> </el-table>
</el-card> </el-card>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span">作业明细</span> <span class="role-span">{{ $t('outbill.placeholder.end32') }}</span>
<div class="crud-opts-form"> <div class="crud-opts-form">
<el-form ref="form" :inline="true" :model="form" size="mini"> <el-form ref="form" :inline="true" :model="form" size="mini">
<el-form-item prop="checked"> <el-form-item prop="checked">
<el-checkbox v-model="form.checked" @change="queryTableDdis">仅显示未完成的作业指令</el-checkbox> <el-checkbox v-model="form.checked" @change="queryTableDdis">{{ $t('outbill.placeholder.end42') }}</el-checkbox>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -69,7 +69,7 @@
:disabled="button1" :disabled="button1"
@click="issueTask" @click="issueTask"
> >
下发 {{ $t('outbill.placeholder.end43') }}
</el-button> </el-button>
<el-button <el-button
slot="left" slot="left"
@ -80,7 +80,7 @@
:disabled="button2" :disabled="button2"
@click="finishTask" @click="finishTask"
> >
标示完成 {{ $t('outbill.placeholder.end44') }}
</el-button> </el-button>
</span> </span>
</div> </div>
@ -96,20 +96,20 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDisCurrentChange" @current-change="handleDisCurrentChange"
> >
<el-table-column show-overflow-tooltip prop="material_code" label="物料编码" align="center" width="130px" /> <el-table-column show-overflow-tooltip prop="material_code" :label="$t('outbill.dialog.material_code')" align="center" width="130px" />
<el-table-column show-overflow-tooltip prop="material_name" label="物料名称" align="center" width="130px" /> <el-table-column show-overflow-tooltip prop="material_name" :label="$t('outbill.dialog.material_name')" align="center" width="130px" />
<el-table-column show-overflow-tooltip prop="pcsn" label="子卷批次号" align="center" width="140px" /> <el-table-column show-overflow-tooltip prop="pcsn" :label="$t('outbill.placeholder.pcsn')" align="center" width="140px" />
<el-table-column show-overflow-tooltip prop="sap_pcsn" label="sap批次号" align="center" width="120px" /> <el-table-column show-overflow-tooltip prop="sap_pcsn" :label="$t('outbill.dialog.sap_pcsn')" align="center" width="120px" />
<el-table-column show-overflow-tooltip prop="box_no" label="箱号" align="center" width="250px" /> <el-table-column show-overflow-tooltip prop="box_no" :label="$t('outbill.dialog.package_box_sn')" align="center" width="250px" />
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.plan_qty')" align="center" />
<el-table-column show-overflow-tooltip prop="struct_code" label="起始位置" align="center" width="120px" /> <el-table-column show-overflow-tooltip prop="struct_code" :label="$t('outbill.dialog.next_point_code')" align="center" width="120px" />
<el-table-column show-overflow-tooltip prop="next_point_code" label="目的位置" align="center" width="120px" /> <el-table-column show-overflow-tooltip prop="next_point_code" :label="$t('outbill.dialog.end_point_code')" align="center" width="120px" />
<el-table-column show-overflow-tooltip prop="task_code" label="任务号" align="center" /> <el-table-column show-overflow-tooltip prop="task_code" :label="$t('outbill.dialog.task_code')" align="center" />
<el-table-column show-overflow-tooltip prop="task_type_name" label="任务类型" align="center" width="150px" /> <el-table-column show-overflow-tooltip prop="task_type_name" :label="$t('outbill.dialog.task_type_name')" align="center" width="150px" />
<el-table-column show-overflow-tooltip prop="task_status" label="状态" align="center" width="120px" :formatter="task_statusFormat" min-width="150px" /> <el-table-column show-overflow-tooltip prop="task_status" :label="$t('outbill.dialog.task_status')" align="center" width="120px" :formatter="task_statusFormat" min-width="150px" />
<el-table-column align="center" label="操作" width="160" fixed="right"> <el-table-column align="center" :label="$t('outbill.dialog.operate')" width="160" fixed="right">
<template scope="scope"> <template scope="scope">
<el-button type="danger" class="filter-item" size="mini" icon="el-icon-delete" @click.native.prevent="deleteRow(scope.row)">删除</el-button> <el-button type="danger" class="filter-item" size="mini" icon="el-icon-delete" @click.native.prevent="deleteRow(scope.row)">{{ $t('outbill.placeholder.delete') }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

12
lms/nladmin-ui/src/views/wms/st/outbill/UploadDialog.vue

@ -1,6 +1,6 @@
<template> <template>
<el-dialog <el-dialog
title="导入Excel文件" :title="('outbill.placeholder.end37')"
append-to-body append-to-body
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
destroy-on-close destroy-on-close
@ -25,14 +25,14 @@
> >
<i class="el-icon-upload" /> <i class="el-icon-upload" />
<div class="el-upload__text"> <div class="el-upload__text">
将文件拖到此处 {{ $t('outbill.placeholder.end38') }}
<em>点击上传</em> <em>{{ $t('outbill.placeholder.end39') }}</em>
</div> </div>
<div slot="tip" class="el-upload__tip">只能上传Excel文件且不超过10MB</div> <div slot="tip" class="el-upload__tip">{{ $t('outbill.placeholder.end40') }}</div>
</el-upload> </el-upload>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button> <el-button @click="dialogVisible = false">{{ $t('outbill.dialog.cancel') }}</el-button>
<el-button type="primary" @click="submit"> </el-button> <el-button type="primary" @click="submit">{{ $t('outbill.dialog.confirm') }}</el-button>
</span> </span>
</el-dialog> </el-dialog>
</template> </template>

112
lms/nladmin-ui/src/views/wms/st/outbill/ViewDialog.vue

@ -1,7 +1,7 @@
<template> <template>
<el-dialog <el-dialog
append-to-body append-to-body
title="出库单详情" :title="$t('outbill.placeholder.end30')"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
destroy-on-close destroy-on-close
fullscreen fullscreen
@ -9,16 +9,16 @@
@open="open" @open="open"
> >
<el-form ref="form" style="border: 1px solid #cfe0df;margin-top: 10px;padding-top: 10px;" :inline="true" :model="form" size="mini" label-width="85px" label-suffix=":"> <el-form ref="form" style="border: 1px solid #cfe0df;margin-top: 10px;padding-top: 10px;" :inline="true" :model="form" size="mini" label-width="85px" label-suffix=":">
<el-form-item label="单据号" prop="bill_code"> <el-form-item :label="$t('outbill.placeholder.bill_code')" prop="bill_code">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('outbill.placeholder.bill_code') }}:</label>
<el-input v-model="form.bill_code" disabled placeholder="系统生成" clearable style="width: 210px" /> <el-input v-model="form.bill_code" disabled :placeholder="$t('outbill.placeholder.end15')" clearable style="width: 210px" />
</el-form-item> </el-form-item>
<el-form-item label="仓库" prop="stor_id"> <el-form-item :label="$t('outbill.placeholder.stor_name')" prop="stor_id">
<label slot="label">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('outbill.placeholder.stor_name') }}:</label>
<el-select <el-select
v-model="form.stor_id" v-model="form.stor_id"
clearable clearable
placeholder="仓库" :placeholder="$t('outbill.placeholder.stor_name')"
class="filter-item" class="filter-item"
style="width: 210px" style="width: 210px"
:disabled="true" :disabled="true"
@ -31,13 +31,13 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="业务类型" prop="bill_type"> <el-form-item :label="$t('outbill.placeholder.bill_type')" prop="bill_type">
<el-select <el-select
v-model="form.bill_type" v-model="form.bill_type"
clearable clearable
filterable filterable
size="mini" size="mini"
placeholder="业务类型" :placeholder="$t('outbill.placeholder.bill_type')"
class="filter-item" class="filter-item"
disabled disabled
> >
@ -49,12 +49,12 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="单据状态" prop="bill_status"> <el-form-item :label="$t('outbill.placeholder.bill_status')" prop="bill_status">
<el-select <el-select
v-model="form.bill_status" v-model="form.bill_status"
clearable clearable
style="width: 210px" style="width: 210px"
placeholder="单据状态" :placeholder="$t('outbill.placeholder.bill_status')"
class="filter-item" class="filter-item"
disabled disabled
> >
@ -66,12 +66,12 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="明细数" prop="detail_count"> <el-form-item :label="$t('outbill.dialog.detail_count')" prop="detail_count">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('outbill.dialog.detail_count') }}:</label>
<el-input v-model="form.detail_count" size="mini" disabled style="width: 210px" /> <el-input v-model="form.detail_count" size="mini" disabled style="width: 210px" />
</el-form-item> </el-form-item>
<el-form-item label="总重量" prop="total_qty"> <el-form-item :label="$t('outbill.dialog.total_qty1')" prop="total_qty">
<label slot="label">&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('outbill.dialog.total_qty1') }}:</label>
<el-input-number <el-input-number
v-model="form.total_qty" v-model="form.total_qty"
:controls="false" :controls="false"
@ -81,15 +81,15 @@
style="width: 210px" style="width: 210px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="业务日期" prop="biz_date"> <el-form-item :label="$t('outbill.dialog.biz_date')" prop="biz_date">
<el-date-picker v-model="form.biz_date" type="date" placeholder="选择日期" style="width: 210px" value-format="yyyy-MM-dd" :disabled="true" /> <el-date-picker v-model="form.biz_date" type="date" :placeholder="$t('outbill.dialog.select_date')" style="width: 210px" value-format="yyyy-MM-dd" :disabled="true" />
</el-form-item> </el-form-item>
<el-form-item label="移入仓库" prop="out_stor_id" v-if="form.bill_type === '1004'"> <el-form-item v-if="form.bill_type === '1004'" :label="$t('outbill.placeholder.end11')" prop="out_stor_id">
<label slot="label">移入仓库:</label> <label slot="label">{{ $t('outbill.placeholder.end11') }}:</label>
<el-select <el-select
v-model="form.out_stor_id" v-model="form.out_stor_id"
clearable clearable
placeholder="仓库" :placeholder="$t('outbill.placeholder.stor_name')"
class="filter-item" class="filter-item"
style="width: 210px" style="width: 210px"
:disabled="true" :disabled="true"
@ -102,13 +102,13 @@
/> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="备注" prop="remark"> <el-form-item :label="$t('outbill.dialog.remark')" prop="remark">
<label slot="label">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:</label> <label slot="label">{{ $t('outbill.dialog.remark') }}:</label>
<el-input v-model="form.remark" style="width: 380px;" rows="2" type="textarea" :disabled="true" /> <el-input v-model="form.remark" style="width: 380px;" rows="2" type="textarea" :disabled="true" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span2">出库明细</span> <span class="role-span2">{{ $t('outbill.placeholder.end12') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -123,27 +123,27 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDtlCurrentChange" @current-change="handleDtlCurrentChange"
> >
<el-table-column type="index" label="序号" width="55" align="center" /> <el-table-column type="index" :label="$t('outbill.dialog.index')" width="55" align="center" />
<el-table-column prop="bill_code" label="单据号" align="center" width="120"/> <el-table-column prop="bill_code" :label="$t('outbill.placeholder.bill_code')" align="center" width="120" />
<el-table-column :formatter="bill_statusFormat" prop="bill_status" label="状态" /> <el-table-column :formatter="bill_statusFormat" prop="bill_status" :label="$t('outbill.placeholder.bill_status')" />
<el-table-column min-width="140" show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column min-width="140" show-overflow-tooltip prop="material_code" :label="$t('outbill.placeholder.material_code')" align="center" />
<el-table-column min-width="120" show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_name" :label="$t('outbill.placeholder.material_name')" align="center" />
<el-table-column prop="pcsn" label="子卷号" width="150px" align="center" show-overflow-tooltip /> <el-table-column prop="pcsn" :label="$t('outbill.placeholder.pcsn')" width="150px" align="center" show-overflow-tooltip />
<el-table-column prop="sap_pcsn" label="sap批次" width="120px" align="center" show-overflow-tooltip /> <el-table-column prop="sap_pcsn" :label="$t('outbill.placeholder.sap_pcsn')" width="120px" align="center" show-overflow-tooltip />
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column prop="plan_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.plan_qty')" align="center" />
<el-table-column prop="assign_qty" :formatter="crud.formatNum3" label="已分配重量" align="center" width="100px" /> <el-table-column prop="assign_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.assign_qty')" align="center" width="100px" />
<el-table-column prop="unassign_qty" :formatter="crud.formatNum3" label="未分配重量" align="center" width="100px" /> <el-table-column prop="unassign_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.unassign_qty')" align="center" width="100px" />
<el-table-column prop="qty_unit_name" label="单位" align="center" /> <el-table-column prop="qty_unit_name" :label="$t('outbill.dialog.qty_unit_name')" align="center" />
<!-- <el-table-column prop="source_bill_type" label="源单类型" align="center" width="130px" :formatter="invtypeFormat" />--> <!-- <el-table-column prop="source_bill_type" label="源单类型" align="center" width="130px" :formatter="invtypeFormat" />-->
<el-table-column prop="source_bill_code" label="源单号" align="center" width="130px" /> <el-table-column prop="source_bill_code" :label="$t('outbill.dialog.source_bill_code')" align="center" width="130px" />
<el-table-column prop="vbeln" label="交货单号" align="center" width="120px" /> <el-table-column prop="vbeln" :label="$t('outbill.placeholder.vbeln')" align="center" width="120px" />
<el-table-column prop="posnr" label="行号" align="center" width="70px" /> <el-table-column prop="posnr" :label="$t('outbill.dialog.posnr')" align="center" width="70px" />
<el-table-column prop="width" label="幅宽" align="center" width="110px" /> <el-table-column prop="width" :label="$t('outbill.dialog.width')" align="center" width="110px" />
<el-table-column show-overflow-tooltip prop="remark" label="明细备注" align="center" /> <el-table-column show-overflow-tooltip prop="remark" :label="$t('outbill.dialog.remark')" align="center" />
</el-table> </el-table>
</el-card> </el-card>
<div class="crud-opts2"> <div class="crud-opts2">
<span class="role-span">作业明细</span> <span class="role-span">{{ $t('outbill.dialog.end32') }}</span>
</div> </div>
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}"> <el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
<!--表格渲染--> <!--表格渲染-->
@ -158,20 +158,20 @@
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" :header-cell-style="{background:'#f5f7fa',color:'#606266'}"
@current-change="handleDisCurrentChange" @current-change="handleDisCurrentChange"
> >
<el-table-column min-width="120" show-overflow-tooltip prop="material_code" label="物料编码" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_code" :label="$t('outbill.dialog.material_code')" align="center" />
<el-table-column min-width="120" show-overflow-tooltip prop="material_name" label="物料名称" align="center" /> <el-table-column min-width="120" show-overflow-tooltip prop="material_name" :label="$t('outbill.dialog.material_name')" align="center" />
<el-table-column prop="pcsn" label="子卷批次号" align="center" show-overflow-tooltip /> <el-table-column prop="pcsn" :label="$t('outbill.placeholder.pcsn')" align="center" show-overflow-tooltip />
<el-table-column prop="sap_pcsn" label="sap批次号" align="center" show-overflow-tooltip /> <el-table-column prop="sap_pcsn" :label="$t('outbill.placeholder.sap_pcsn')" align="center" show-overflow-tooltip />
<el-table-column prop="box_no" label="箱号" align="center" width="250px" show-overflow-tooltip /> <el-table-column prop="box_no" :label="$t('outbill.placeholder.box_no')" align="center" width="250px" show-overflow-tooltip />
<el-table-column prop="plan_qty" :formatter="crud.formatNum3" label="重量" align="center" /> <el-table-column prop="plan_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.plan_qty')" align="center" />
<el-table-column prop="struct_code" label="仓位" align="center" show-overflow-tooltip /> <el-table-column prop="struct_code" :label="$t('outbill.dialog.struct_code')" align="center" show-overflow-tooltip />
<el-table-column prop="sect_name" label="区域" align="center" show-overflow-tooltip /> <el-table-column prop="sect_name" :label="$t('outbill.placeholder.sect_name')" align="center" show-overflow-tooltip />
<el-table-column show-overflow-tooltip prop="instorage_time" width="150px" label="入库时间" align="center" /> <el-table-column show-overflow-tooltip prop="instorage_time" width="150px" :label="$t('outbill.dialog.instorage_time')" align="center" />
<el-table-column show-overflow-tooltip prop="is_overdue" width="150px" label="是否超期" align="center" :formatter="formatOverdue"/> <el-table-column show-overflow-tooltip prop="is_overdue" width="150px" :label="$t('outbill.dialog.is_overdue')" align="center" :formatter="formatOverdue" />
<!-- <el-table-column prop="next_point_code" label="目的位置" align="center" />--> <!-- <el-table-column prop="next_point_code" label="目的位置" align="center" />-->
<!-- <el-table-column prop="task_code" label="任务号" align="center" />--> <!-- <el-table-column prop="task_code" label="任务号" align="center" />-->
<!-- <el-table-column prop="task_type" label="任务类型" align="center" width="150px" :formatter="taskdtl_typeFormat" />--> <!-- <el-table-column prop="task_type" label="任务类型" align="center" width="150px" :formatter="taskdtl_typeFormat" />-->
<el-table-column prop="task_status" label="状态" align="center" width="110px" :formatter="task_statusFormat" /> <el-table-column prop="task_status" :label="$t('outbill.dialog.task_status')" align="center" width="110px" :formatter="task_statusFormat" />
</el-table> </el-table>
</el-card> </el-card>
</el-dialog> </el-dialog>
@ -181,15 +181,13 @@
import { crud } from '@crud/crud' import { crud } from '@crud/crud'
import checkoutbill from '@/views/wms/st/outbill/checkoutbill' import checkoutbill from '@/views/wms/st/outbill/checkoutbill'
import crudStorattr from '@/views/wms/basedata/st/stor/storattr'
import crudRawAssist from '@/views/wms/st/inbill/rawassist'
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor' import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
export default { export default {
name: 'ViewDialog', name: 'ViewDialog',
components: { }, components: { },
mixins: [crud()], mixins: [crud()],
dicts: ['io_bill_status', 'work_status', 'task_status', 'SCH_TASK_TYPE_DTL','ST_INV_OUT_TYPE', 'INANDOUT_BILL_TYPE', 'IS_OR_NOT'], dicts: ['io_bill_status', 'work_status', 'task_status', 'SCH_TASK_TYPE_DTL', 'ST_INV_OUT_TYPE', 'INANDOUT_BILL_TYPE', 'IS_OR_NOT'],
props: { props: {
dialogShow: { dialogShow: {
type: Boolean, type: Boolean,

Loading…
Cancel
Save