|
|
@@ -106,7 +106,7 @@
|
|
|
:header-cell-style="{ background: '#F0F3F3', border: 'none' }"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
|
- <el-table-column type="selection" width="55"> </el-table-column>
|
|
|
+ <el-table-column type="selection" width="55" align="center"> </el-table-column>
|
|
|
<el-table-column type="index" label="序号" width="100">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="code" label="编码"> </el-table-column>
|
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
total: 0,
|
|
|
searchForm: {
|
|
|
categoryId:this.rowId,
|
|
|
- positionType:1
|
|
|
+ positionType:2
|
|
|
},
|
|
|
multipleSelection: [],
|
|
|
openWindows: false, //打印弹窗
|
|
|
@@ -216,11 +216,11 @@ export default {
|
|
|
tabClick (val) {
|
|
|
switch (this.activeName) {
|
|
|
case 'inUse': {
|
|
|
- this.positionType = 1
|
|
|
+ this.positionType = 2
|
|
|
break
|
|
|
}
|
|
|
case 'inLibrary': {
|
|
|
- this.positionType = 2
|
|
|
+ this.positionType = 1
|
|
|
break
|
|
|
}
|
|
|
case 'hasConsume': {
|
|
|
@@ -354,13 +354,11 @@ export default {
|
|
|
getCountNum () {
|
|
|
const params = {
|
|
|
categoryId: this.rowId,
|
|
|
- sourceBizNo: this.searchForm.sourceBizNo,
|
|
|
- sourceBatchNo: this.searchForm.sourceBatchNo
|
|
|
+ sourceBizNo: this.searchForm.sourceBizNo?this.searchForm.sourceBizNo:'',
|
|
|
+ sourceBatchNo: this.searchForm.sourceBatchNo?this.searchForm.sourceBatchNo:''
|
|
|
}
|
|
|
getCount(params).then(res => {
|
|
|
- if (res?.success) {
|
|
|
- this.countInfo = res.data
|
|
|
- }
|
|
|
+ this.countInfo = res
|
|
|
})
|
|
|
}
|
|
|
}
|