前端国际化
This commit is contained in:
@@ -11,21 +11,21 @@
|
||||
label-width="80px"
|
||||
label-suffix=":"
|
||||
>
|
||||
<el-form-item label="模糊查询">
|
||||
<el-form-item :label="$t('common.inputCodeOrName')">
|
||||
<el-input
|
||||
v-model="query.bill_code"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="入库单号"
|
||||
:placeholder="$t('common.in_code')"
|
||||
@keyup.enter.native="crud.toQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属仓库">
|
||||
<el-form-item :label="$t('common.stor_name')">
|
||||
<el-select
|
||||
v-model="query.stor_id"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="全部"
|
||||
:placeholder="$t('common.Please_select')"
|
||||
class="filter-item"
|
||||
@change="crud.toQuery"
|
||||
>
|
||||
@@ -38,23 +38,23 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="创建时间" prop="createTime">
|
||||
<el-form-item :label="$t('common.create_time')" prop="createTime">
|
||||
<el-date-picker
|
||||
v-model="query.createTime"
|
||||
type="daterange"
|
||||
value-format="yyyy-MM-dd HH:mm:ss"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"
|
||||
:start-placeholder="$t('common.startDate')"
|
||||
:end-placeholder="$t('common.endDate')"
|
||||
:default-time="['00:00:00', '23:59:59']"
|
||||
@change="crud.toQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="生成方式">
|
||||
<el-form-item :label="$t('common.create_mode')">
|
||||
<el-select
|
||||
v-model="query.create_mode"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="生成方式"
|
||||
:placeholder="$t('common.create_mode')"
|
||||
class="filter-item"
|
||||
@change="crud.toQuery"
|
||||
>
|
||||
@@ -67,13 +67,13 @@
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="业务类型">
|
||||
<el-form-item :label="$t('common.bill_type')">
|
||||
<el-select
|
||||
v-model="query.bill_type"
|
||||
clearable
|
||||
filterable
|
||||
size="mini"
|
||||
placeholder="业务类型"
|
||||
:placeholder="$t('common.bill_type')"
|
||||
class="filter-item"
|
||||
@change="crud.toQuery"
|
||||
>
|
||||
@@ -86,21 +86,21 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="子卷号">
|
||||
<el-form-item :label="$t('common.container_name')">
|
||||
<el-input
|
||||
v-model="query.pcsn"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="子卷号"
|
||||
:placeholder="$t('common.container_name')"
|
||||
@keyup.enter.native="crud.toQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="SAP批次">
|
||||
<el-form-item :label="$t('common.pcsn')">
|
||||
<el-input
|
||||
v-model="query.sap_pcsn"
|
||||
clearable
|
||||
size="mini"
|
||||
placeholder="SAP批次"
|
||||
:placeholder="$t('common.pcsn')"
|
||||
@keyup.enter.native="crud.toQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
@@ -132,27 +132,27 @@
|
||||
@selection-change="crud.selectionChangeHandler"
|
||||
>
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_code" width="130" label="单据号">
|
||||
<el-table-column show-overflow-tooltip prop="bill_code" width="130" :label="$t('common.bill_code')">
|
||||
<template slot-scope="scope">
|
||||
<el-link type="warning" @click="toView(scope.$index, scope.row)">{{ scope.row.bill_code }}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column show-overflow-tooltip :formatter="formatStatus" width="100" prop="bill_status" label="单据状态" />
|
||||
<el-table-column prop="stor_name" label="仓库" width="100" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_type" :formatter="bill_typeFormat" label="业务类型" />
|
||||
<el-table-column show-overflow-tooltip width="135" prop="biz_date" label="业务日期" />
|
||||
<el-table-column show-overflow-tooltip :formatter="create_modeFormat" prop="create_mode" label="生成方式" width="100" />
|
||||
<el-table-column label="明细数" align="center" prop="detail_count" width="100" />
|
||||
<el-table-column label="总重量" align="center" prop="total_qty" width="100" />
|
||||
<el-table-column show-overflow-tooltip label="备注" align="center" prop="remark" width="100" />
|
||||
<el-table-column show-overflow-tooltip label="制单人" align="center" prop="input_optname" />
|
||||
<el-table-column show-overflow-tooltip label="制单时间" align="center" prop="input_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip label="修改人" align="center" prop="update_optname" />
|
||||
<el-table-column show-overflow-tooltip label="修改时间" align="center" prop="update_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip label="分配人" align="center" prop="dis_optname" />
|
||||
<el-table-column show-overflow-tooltip label="分配时间" align="center" prop="dis_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip label="确认人" align="center" prop="confirm_optname" />
|
||||
<el-table-column show-overflow-tooltip label="确认时间" align="center" prop="confirm_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip :formatter="formatStatus" width="100" prop="bill_status" :label="$t('common.bill_status')" />
|
||||
<el-table-column prop="stor_name" :label="$t('common.stor_name')" width="100" />
|
||||
<el-table-column show-overflow-tooltip prop="bill_type" :formatter="bill_typeFormat" :label="$t('common.bill_type')" />
|
||||
<el-table-column show-overflow-tooltip width="135" prop="biz_date" :label="$t('common.biz_date')" />
|
||||
<el-table-column show-overflow-tooltip :formatter="create_modeFormat" prop="create_mode" :label="$t('common.create_mode')" width="100" />
|
||||
<el-table-column :label="$t('common.detail_count')" align="center" prop="detail_count" width="100" />
|
||||
<el-table-column :label="$t('common.total_qty')" align="center" prop="total_qty" width="100" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.remark')" align="center" prop="remark" width="100" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.input_optname')" align="center" prop="input_optname" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.input_time')" align="center" prop="input_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.update_optname')" align="center" prop="update_optname" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.update_time')" align="center" prop="update_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.dis_optname')" align="center" prop="dis_optname" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.dis_time')" align="center" prop="dis_time" width="140" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.confirm_optname')" align="center" prop="confirm_optname" />
|
||||
<el-table-column show-overflow-tooltip :label="$t('common.confirm_time')" align="center" prop="confirm_time" width="140" />
|
||||
</el-table>
|
||||
<!--分页组件-->
|
||||
<pagination />
|
||||
@@ -250,7 +250,7 @@ export default {
|
||||
charge() {
|
||||
const _selectData = this.$refs.table.selection
|
||||
crudInchargefrom.charge(_selectData[0]).then(res => {
|
||||
this.crud.notify('操作完成!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.notify(this.$t('common.Operation_success'), CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.crud.toQuery()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user