盘点上报属性

master
Mr.sun 2 years ago
parent 8b4a8e02ba
commit fc53f026fe
  1. 12
      src/views/libraryManage/inventory/auditDetail/index.vue
  2. 10
      src/views/libraryManage/inventory/config.js

@ -223,20 +223,10 @@ export default {
this.allNum = 0 this.allNum = 0
this.loading = true this.loading = true
getReportDetailList(this.queryParams).then((response) => { getReportDetailList(this.queryParams).then((response) => {
response.rows.forEach((item) => {
if (item.inStatus == '3') {
this.allNum += item.ttQtyRct
} else {
this.otherNum += item.ttQtyRct
}
})
this.BaseBillInPlanList = response.rows this.BaseBillInPlanList = response.rows
this.paging.total = response.total this.paging.total = response.total
this.loading = false this.loading = false
}) })
// inventoryAudit({ ...this.queryParams }).then((res) => {
// this.exportList = res
// })
}, },
// //
cancel() { cancel() {
@ -254,7 +244,6 @@ export default {
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.pageNum = 1 this.queryParams.pageNum = 1
// console.log(this.queryParams)
this.getList() this.getList()
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
@ -266,7 +255,6 @@ export default {
}, },
// //
handleDelete(row) { handleDelete(row) {
// console.log(row)
this.$confirm('确定取消缴库吗?', '确认', { this.$confirm('确定取消缴库吗?', '确认', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',

@ -407,6 +407,16 @@ export function tableConfig() {
prop: "goodName", prop: "goodName",
istrue: true, istrue: true,
}, },
{
label: "数量",
prop: "quantity",
istrue: true,
},
{
label: "实盘数量",
prop: "invQty",
istrue: true,
},
{ {
label: '操作', label: '操作',
prop: 'operating', prop: 'operating',

Loading…
Cancel
Save