rev:库存报表增加子卷数
This commit is contained in:
@@ -68,6 +68,7 @@
|
||||
region.region_name,
|
||||
sub.sap_pcsn,
|
||||
sub.package_box_sn,
|
||||
sub.quanlity_in_box,
|
||||
sub.sale_order_name,
|
||||
case when plan.paper_tube_or_FRP = '1' then '纸管' when plan.paper_tube_or_FRP = '2' then 'FRP管' end AS paper_type,
|
||||
case when plan.paper_tube_or_FRP = '1' then plan.paper_tube_material when plan.paper_tube_or_FRP = '2' then plan.FRP_material end AS paper_code,
|
||||
|
||||
@@ -183,6 +183,7 @@
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<el-table-column prop="package_box_sn" label="木箱码" :min-width="flexWidth('package_box_sn',crud.data,'木箱码')" />
|
||||
<el-table-column prop="quanlity_in_box" label="子卷数" :min-width="flexWidth('quanlity_in_box',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 prop="box_weight" label="毛重" :formatter="rounding2" />
|
||||
@@ -255,7 +256,6 @@ export default {
|
||||
return parseFloat(row[column.property]).toFixed(2)
|
||||
},
|
||||
rounding2(row, column) {
|
||||
debugger
|
||||
if (row.box_weight !== '') {
|
||||
return parseFloat(row[column.property]).toFixed(2)
|
||||
}
|
||||
@@ -266,7 +266,6 @@ export default {
|
||||
},
|
||||
hand(value) {
|
||||
console.log(value)
|
||||
debugger
|
||||
this.crud.toQuery()
|
||||
},
|
||||
sectQueryChange(val) {
|
||||
@@ -288,7 +287,6 @@ export default {
|
||||
if (this.currentRow !== null) {
|
||||
crud.downloadLoading = true
|
||||
download('/api/structivt/download', this.crud.query).then(result => {
|
||||
debugger
|
||||
downloadFile(result, '成品库存', 'xlsx')
|
||||
crud.downloadLoading = false
|
||||
}).catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user