Browse Source

完善盘库

master
yunuo970428 3 years ago
parent
commit
3bf0df85d1
  1. 9
      anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js
  2. 12
      anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue

9
anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js

@ -44,14 +44,14 @@ export default {
headers: { 'Content-Type': 'application/json' }
})
},
// 盘库报告列表(生成盘库记录)
// 盘库报告(查看盘库报告)
getCarInventoryReport: function(data) {
return request({
url: '/scm/v1/scmvehinventorymonth/getCarInventoryReport/' + data,
method: 'get',
method: 'get'
})
},
// 盘库报告列表(生成盘库记录)
// 盘库报告(发送盘库报告)
sendReport: function(data) {
return request({
url: '/scm/v1/scmvehinventoryreport/sendReport',
@ -59,6 +59,5 @@ export default {
data: data,
headers: { 'Content-Type': 'application/json' }
})
},
}
}

12
anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue

@ -11,7 +11,7 @@
<el-form-item label="生成日期">
<el-date-picker v-model="listQuery.params.createStartTime" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>
<span style="padding: 0 8px"></span>
<el-date-picker v-model="listQuery.params. createEndTime" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>
<el-date-picker v-model="listQuery.params.createEndTime" type="date" clearable value-format="yyyy-MM-dd" placeholder="选择日期"/>
</el-form-item>
<el-form-item label="生成人">
<el-input v-model="listQuery.params.createByName" placeholder="" clearable/>
@ -101,7 +101,7 @@ import ButtonBar from '@/components/ButtonBar'
import req from '@/api/kucunguanli/panku'
import pankubaogaoAdd from './pankubaogaoAdd'
import pankubaogaoInfo from './pankubaogaoInfo'
import { fetchByUseOrgSid, getPathSidByUserSid } from '@/api/cheliang/dictcommons'
import { getPathSidByUserSid } from '@/api/cheliang/dictcommons'
export default {
name: 'pankubaogoaguanli',
@ -161,11 +161,6 @@ export default {
this.getList()
}
})
fetchByUseOrgSid({ sid: this.listQuery.params.createOrgSid }).then((res) => {
if (res.success) {
this.warehouse_list = res.data
}
})
},
//
clicksearchShow() {
@ -238,8 +233,7 @@ export default {
this.viewState = 1
},
doClose() {
this.$store.dispatch('tagsView/delView', this.$route)
this.$router.go(-1)
this.$emit('doback')
}
}
}

Loading…
Cancel
Save