rev:库存报表增加子卷数
This commit is contained in:
@@ -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