Browse Source

Merge branch 'dev_web' into dev_web_online

dev_web_online 1.23.0726.1
安虹睿 2 years ago
parent
commit
5edf8527a6
  1. 2
      fe/PC/public/version.json
  2. 6
      fe/PC/src/components/StepsCountPlanForm/index.vue
  3. 2
      fe/PC/src/components/searchOverall/style/index.scss
  4. 4
      fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue
  5. 42
      fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

2
fe/PC/public/version.json

@ -1,3 +1,3 @@
{
"version": "1.0.62"
"version": "1.0.65"
}

6
fe/PC/src/components/StepsCountPlanForm/index.vue

@ -407,7 +407,9 @@ export default {
// pda 使 locationTypeForPADPlan 线
// Excel 使 locationTypeForExcelPlan
if(item.prop == 'type'){
// todo:
item.filters = this.CreateFormData.requestType == 2 ? 'locationTypeForPADPlan' : 'locationTypeForExcelPlan'
// item.filters = this.CreateFormData.requestType == 2 ? 'locationTypeForPADPlan' : 'locationType'
}
});
return _list
@ -451,7 +453,9 @@ export default {
// 线 20230703
// Excel(this.CreateFormData.requestType == 1)2
// Excel(this.CreateFormData.requestType != 1)线5
// todo://
let type_value = this.CreateFormData.requestType == 1 ? '2' : '5'
// let type_value = this.CreateFormData.requestType == 1 ? null : '5'
let _filter = {
action: "!=",
column: "type",
@ -468,7 +472,7 @@ export default {
hide: true
}
if(this.pageListLocation.condition.filters.length <= 0){
this.pageListLocation.condition.filters.push(_filter)
if(type_value)this.pageListLocation.condition.filters.push(_filter)
this.pageListLocation.condition.filters.push(_filter_code)
}
// code 20230705

2
fe/PC/src/components/searchOverall/style/index.scss

@ -1,7 +1,7 @@
.searchOverallComponent{
height: 0;
transition:all 0.5s;
z-index: 1;
z-index: 2;
overflow: hidden;
.border-outer{

4
fe/PC/src/views/inventoryManage/Count/CountNote-msQuery.vue

@ -114,6 +114,10 @@ export default {
//
drawerbutton (val) {
if(val == 'adjust'){
if(this.propsData.creatorId != this.$store.getters.name.id){
this.$errorMsg('当前用户与创建用户不符,不能进行生成盘点调整申请')
return
}
const data = this.propsData.id
this.Loading.appMainLoading = true
StartAdjust(data).then(res=>{

42
fe/PC/src/views/inventoryManage/InventoryQuery/InventoryBalance.vue

@ -9,7 +9,7 @@
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@topbutton="topbuttonHandle"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@ -22,6 +22,7 @@
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
:tableSelection="true"
>
</tablePagination>
<!-- 新增与编辑 -->
@ -106,6 +107,14 @@ export default {
currenButtonData: [
this.defaultImportBtn(),//
this.defaultExportBtn(),//
{
type: "success",
icon: "el-icon-check",
label: "批量启用",
name: "batch-active",
size: "mini",
background:"#31bb99"
},
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
@ -198,6 +207,37 @@ export default {
});
}
},
topbuttonHandle(val,item){
//
if(val == 'batch-active'){
if(!this.multipleSelection || this.multipleSelection.length <= 0){
this.$warningMsg('请选择数据')
return
}
this.$confirm('此操作将启用已选 ('+this.multipleSelection.length+'条) 数据, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.Loading.tableLoading = true
let _ajaxs = []
this.multipleSelection.forEach(item=>{
_ajaxs.push(inventoryBalanceActive({id: item.id}))
})
Promise.all(_ajaxs).then((allData) => {
this.$successMsg('启用成功!')
this.Loading.tableLoading = false
this.paging()
}).catch((err)=>{
this.Loading.tableLoading = false
})
}).catch((err) => {
console.log(err)
});
}else{
this.topbutton(val,item)
}
},
// 0
// drawerHandle(val) {
// if (val == 'delete') {

Loading…
Cancel
Save