|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<el-dialog |
|
|
|
title="物料选择" |
|
|
|
:title="$t('outbill.placeholder.product_select')" |
|
|
|
append-to-body |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
destroy-on-close |
|
|
@ -17,7 +17,7 @@ |
|
|
|
v-model="query.material_code" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="物料编码、名称" |
|
|
|
:placeholder="$t('outbill.placeholder.name_code')" |
|
|
|
style="width: 200px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -26,7 +26,7 @@ |
|
|
|
v-model="query.pcsn" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="子卷号" |
|
|
|
:placeholder="$t('outbill.placeholder.pcsn')" |
|
|
|
style="width: 200px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -35,7 +35,7 @@ |
|
|
|
v-model="query.sap_pcsn" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="sap批次" |
|
|
|
:placeholder="$t('outbill.placeholder.sap_pcsn')" |
|
|
|
style="width: 200px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -44,7 +44,7 @@ |
|
|
|
v-model="query.package_box_sn" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="箱号" |
|
|
|
:placeholder="$t('outbill.dialog.package_box_sn')" |
|
|
|
style="width: 250px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -53,7 +53,7 @@ |
|
|
|
v-model="query.width_standard" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="幅宽" |
|
|
|
:placeholder="$t('outbill.dialog.width')" |
|
|
|
style="width: 250px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -62,7 +62,7 @@ |
|
|
|
v-model="query.thickness_request" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="厚度" |
|
|
|
:placeholder="$t('outbill.dialog.thickness')" |
|
|
|
style="width: 250px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -71,7 +71,7 @@ |
|
|
|
v-model="query.customer_name" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="客户" |
|
|
|
:placeholder="$t('outbill.dialog.cust_simple_name')" |
|
|
|
style="width: 250px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -80,7 +80,7 @@ |
|
|
|
v-model="query.struct_code" |
|
|
|
clearable |
|
|
|
size="mini" |
|
|
|
placeholder="仓位" |
|
|
|
:placeholder="$t('outbill.dialog.struct_code')" |
|
|
|
style="width: 250px;" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="crud.toQuery" |
|
|
@ -98,21 +98,21 @@ |
|
|
|
:header-cell-style="{background:'#f5f7fa',color:'#606266'}" |
|
|
|
> |
|
|
|
<el-table-column type="selection" width="55" /> |
|
|
|
<el-table-column sortable prop="instorage_time" label="入库日期" :min-width="flexWidth('instorage_time',crud.data,'入库日期')" /> |
|
|
|
<el-table-column prop="material_code" label="物料编码" :min-width="flexWidth('material_code',crud.data,'物料编码')" /> |
|
|
|
<el-table-column prop="material_name" label="物料名称" :min-width="flexWidth('material_name',crud.data,'物料名称')" /> |
|
|
|
<el-table-column prop="struct_name" label="仓位" :min-width="flexWidth('struct_name',crud.data,'仓位')" /> |
|
|
|
<el-table-column prop="box_no" label="箱号" :min-width="flexWidth('box_no',crud.data,'箱号')" /> |
|
|
|
<el-table-column prop="pcsn" label="子卷号" :min-width="flexWidth('pcsn',crud.data,'子卷号')" /> |
|
|
|
<el-table-column prop="sap_pcsn" label="sap批次" :min-width="flexWidth('sap_pcsn',crud.data,'sap批次')" /> |
|
|
|
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" label="重量" /> |
|
|
|
<el-table-column show-overflow-tooltip prop="qty_unit_name" label="重量单位" /> |
|
|
|
<el-table-column sortable prop="instorage_time" :label="$t('outbill.dialog.instorage_time')" :min-width="flexWidth('instorage_time',crud.data,'入库日期')" /> |
|
|
|
<el-table-column prop="material_code" :label="$t('outbill.dialog.material_code')" :min-width="flexWidth('material_code',crud.data,'物料编码')" /> |
|
|
|
<el-table-column prop="material_name" :label="$t('outbill.dialog.material_name')" :min-width="flexWidth('material_name',crud.data,'物料名称')" /> |
|
|
|
<el-table-column prop="struct_name" :label="$t('outbill.dialog.struct_name')" :min-width="flexWidth('struct_name',crud.data,'仓位')" /> |
|
|
|
<el-table-column prop="box_no" :label="$t('outbill.dialog.package_box_sn')" :min-width="flexWidth('box_no',crud.data,'箱号')" /> |
|
|
|
<el-table-column prop="pcsn" :label="$t('outbill.placeholder.pcsn')" :min-width="flexWidth('pcsn',crud.data,'子卷号')" /> |
|
|
|
<el-table-column prop="sap_pcsn" :label="$t('outbill.placeholder.sap_pcsn')" :min-width="flexWidth('sap_pcsn',crud.data,'sap批次')" /> |
|
|
|
<el-table-column show-overflow-tooltip prop="plan_qty" :formatter="crud.formatNum3" :label="$t('outbill.dialog.plan_qty')" /> |
|
|
|
<el-table-column show-overflow-tooltip prop="qty_unit_name" :label="$t('outbill.dialog.qty_unit_name')" /> |
|
|
|
</el-table> |
|
|
|
<!--分页组件--> |
|
|
|
<pagination /> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button slot="left" type="info" @click="dialogVisible = false">关闭</el-button> |
|
|
|
<el-button slot="left" type="primary" @click="submit">保存</el-button> |
|
|
|
<el-button slot="left" type="info" @click="dialogVisible = false">{{ $t('outbill.placeholder.close') }}</el-button> |
|
|
|
<el-button slot="left" type="primary" @click="submit">{{ $t('outbill.placeholder.open') }}</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</template> |
|
|
|