4月17问题修改

jg-waiwang-pro
胡川虎 6 months ago
parent adbac15d70
commit b44f261164

@ -420,6 +420,7 @@ public class UserController extends SuperController<UserService, UserEntity> {
} }
} }
ListVO<UserSelectorVO> vo = new ListVO<>(); ListVO<UserSelectorVO> vo = new ListVO<>();
jsonToList = jsonToList.stream().filter(json -> !StringUtil.equals(json.getFullName(), "管理员/admin")).collect(Collectors.toList());
vo.setList(jsonToList); vo.setList(jsonToList);
return ActionResult.success(vo); return ActionResult.success(vo);
} }

@ -85,7 +85,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -70,7 +70,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('customerStarRating')"> <el-col :span="8" v-if="judgeShow('customerStarRating')">
<jnpf-form-tip-item label="客户星级" v-if="judgeShow('customerStarRating')" prop="customerStarRating"> <jnpf-form-tip-item label="客户星级" v-if="judgeShow('customerStarRating')" prop="customerStarRating">
<JnpfSelect v-model="dataForm.customerStarRating" @change="changeData('customerStarRating', -1)" <JnpfSelect v-model="dataForm.customerStarRating" @change="customerStarRatingChangeData"
placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{ "width": "100%" }' placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{ "width": "100%" }'
:options="customerStarRatingOptions" :props="customerStarRatingProps"> :options="customerStarRatingOptions" :props="customerStarRatingProps">
</JnpfSelect> </JnpfSelect>
@ -560,7 +560,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('settlementMethod')"> <el-col :span="8" v-if="judgeShow('settlementMethod')">
<jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod"> <jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod">
<JnpfRadio v-model="dataForm.settlementMethod" @change="changeData('settlementMethod', -1)" <JnpfRadio v-model="dataForm.settlementMethod" @change="settlementMethodChangeData"
:disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal" :disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal"
:style='{ "width": "100%" }' size="default" :options="settlementMethodOptions" :style='{ "width": "100%" }' size="default" :options="settlementMethodOptions"
:props="settlementMethodProps"> :props="settlementMethodProps">
@ -2159,6 +2159,40 @@ export default {
}, },
mounted() { }, mounted() { },
methods: { methods: {
customerStarRatingChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
settlementMethodChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
changeData(model, index) { changeData(model, index) {
this.isEdit = false this.isEdit = false
this.childIndex = index this.childIndex = index
@ -2553,18 +2587,21 @@ export default {
queryDefaultAccountPeriodRules('1').then(res => { queryDefaultAccountPeriodRules('1').then(res => {
if (res.data.tableField102) { if (res.data.tableField102) {
this.defaultAccountPeriodRules = res.data.tableField102 this.defaultAccountPeriodRules = res.data.tableField102
var customerStarRating = this.dataForm.customerStarRating let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if (this.dataForm.customerStarRating == '517682428312028165') { if(this.dataForm.settlementMethod==item.id){
this.defaultAccountPeriod = res.data.tableField102[0] return item.fullName
} else if (this.dataForm.customerStarRating == '517682463938446341') {
this.defaultAccountPeriod = res.data.tableField102[1]
} else if (this.dataForm.customerStarRating == '517682488533844997') {
this.defaultAccountPeriod = res.data.tableField102[2]
} else if (this.dataForm.customerStarRating == '517682518925771781') {
this.defaultAccountPeriod = res.data.tableField102[3]
} else if (this.dataForm.customerStarRating == '517682574965867525') {
this.defaultAccountPeriod = res.data.tableField102[4]
} }
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
} else { } else {
this.$confirm('请先配置账期规则', '提示', { this.$confirm('请先配置账期规则', '提示', {
showCancelButton: false, // showCancelButton: false, //

@ -74,7 +74,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -83,25 +83,25 @@ export default {
init(excludeIdList, accountSubjectName, contractCode, accountState) { init(excludeIdList, accountSubjectName, contractCode, accountState) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (accountSubjectName) { if (accountSubjectName && typeof(accountSubjectName) == 'string') {
this.accountSubjectName = accountSubjectName; this.accountSubjectName = accountSubjectName;
} }
if (contractCode) { if (contractCode && typeof(contractCode) == 'string') {
this.contractCode = contractCode; this.contractCode = contractCode;
} }
if (accountState) { if (accountState && typeof(accountState) == 'string') {
this.accountState = accountState; this.accountState = accountState;
} }
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
accountSubjectName: accountSubjectName, accountSubjectName: this.accountSubjectName,
contractCode: contractCode, contractCode: this.contractCode,
accountState: accountState, accountState: this.accountState,
dataType: 0, dataType: 0,
queryFlowTaskPass: '1'// queryFlowTaskPass: '1'//
} }

@ -100,10 +100,10 @@ export default {
init(excludeIdList, subjectId) { init(excludeIdList, subjectId) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (subjectId) { if (subjectId && typeof(subjectId) == 'string') {
this.subjectId = subjectId; this.subjectId = subjectId;
} }
let query = { let query = {

@ -70,7 +70,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('customerStarRating')"> <el-col :span="8" v-if="judgeShow('customerStarRating')">
<jnpf-form-tip-item label="服务商星级" v-if="judgeShow('customerStarRating')" prop="customerStarRating"> <jnpf-form-tip-item label="服务商星级" v-if="judgeShow('customerStarRating')" prop="customerStarRating">
<JnpfSelect v-model="dataForm.customerStarRating" @change="changeData('customerStarRating',-1)" <JnpfSelect v-model="dataForm.customerStarRating" @change="customerStarRatingChangeData"
placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{"width":"100%"}' placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{"width":"100%"}'
:options="customerStarRatingOptions" :props="customerStarRatingProps"> :options="customerStarRatingOptions" :props="customerStarRatingProps">
</JnpfSelect> </JnpfSelect>
@ -548,7 +548,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('settlementMethod')"> <el-col :span="8" v-if="judgeShow('settlementMethod')">
<jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod"> <jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod">
<JnpfRadio v-model="dataForm.settlementMethod" @change="changeData('settlementMethod',-1)" <JnpfRadio v-model="dataForm.settlementMethod" @change="settlementMethodChangeData"
:disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal" :disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal"
:style='{"width":"100%"}' size="default" :options="settlementMethodOptions" :style='{"width":"100%"}' size="default" :options="settlementMethodOptions"
:props="settlementMethodProps"> :props="settlementMethodProps">
@ -2107,6 +2107,40 @@
}, },
mounted() {}, mounted() {},
methods: { methods: {
customerStarRatingChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
settlementMethodChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
changeData(model, index) { changeData(model, index) {
this.isEdit = false this.isEdit = false
this.childIndex = index this.childIndex = index
@ -2501,18 +2535,21 @@
queryDefaultAccountPeriodRules('3').then(res => { queryDefaultAccountPeriodRules('3').then(res => {
if(res.data.tableField102){ if(res.data.tableField102){
this.defaultAccountPeriodRules = res.data.tableField102 this.defaultAccountPeriodRules = res.data.tableField102
var customerStarRating = this.dataForm.customerStarRating let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.customerStarRating == '517682428312028165'){ if(this.dataForm.settlementMethod==item.id){
this.defaultAccountPeriod = res.data.tableField102[0] return item.fullName
}else if(this.dataForm.customerStarRating == '517682463938446341'){
this.defaultAccountPeriod = res.data.tableField102[1]
}else if(this.dataForm.customerStarRating == '517682488533844997'){
this.defaultAccountPeriod = res.data.tableField102[2]
}else if(this.dataForm.customerStarRating == '517682518925771781'){
this.defaultAccountPeriod = res.data.tableField102[3]
}else if(this.dataForm.customerStarRating == '517682574965867525'){
this.defaultAccountPeriod = res.data.tableField102[4]
} }
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
}else{ }else{
this.$confirm('请先配置账期规则', '提示', { this.$confirm('请先配置账期规则', '提示', {
showCancelButton: false, // showCancelButton: false, //

@ -70,7 +70,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('customerStarRating')"> <el-col :span="8" v-if="judgeShow('customerStarRating')">
<jnpf-form-tip-item label="供应商星级" v-if="judgeShow('customerStarRating') && dataForm.calssify != 3" prop="customerStarRating"> <jnpf-form-tip-item label="供应商星级" v-if="judgeShow('customerStarRating') && dataForm.calssify != 3" prop="customerStarRating">
<JnpfSelect v-model="dataForm.customerStarRating" @change="changeData('customerStarRating',-1)" <JnpfSelect v-model="dataForm.customerStarRating" @change="customerStarRatingChangeData"
placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{"width":"100%"}' placeholder="请选择" :disabled="judgeWrite('customerStarRating')" clearable :style='{"width":"100%"}'
:options="customerStarRatingOptions" :props="customerStarRatingProps"> :options="customerStarRatingOptions" :props="customerStarRatingProps">
</JnpfSelect> </JnpfSelect>
@ -548,7 +548,7 @@
</el-col> </el-col>
<el-col :span="8" v-if="judgeShow('settlementMethod')"> <el-col :span="8" v-if="judgeShow('settlementMethod')">
<jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod"> <jnpf-form-tip-item label="结算方式" v-if="judgeShow('settlementMethod')" prop="settlementMethod">
<JnpfRadio v-model="dataForm.settlementMethod" @change="changeData('settlementMethod',-1)" <JnpfRadio v-model="dataForm.settlementMethod" @change="settlementMethodChangeData"
:disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal" :disabled="judgeWrite('settlementMethod')" optionType="default" direction="horizontal"
:style='{"width":"100%"}' size="default" :options="settlementMethodOptions" :style='{"width":"100%"}' size="default" :options="settlementMethodOptions"
:props="settlementMethodProps"> :props="settlementMethodProps">
@ -2107,6 +2107,40 @@
}, },
mounted() {}, mounted() {},
methods: { methods: {
customerStarRatingChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
settlementMethodChangeData(){
let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.settlementMethod==item.id){
return item.fullName
}
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
},
changeData(model, index) { changeData(model, index) {
this.isEdit = false this.isEdit = false
this.childIndex = index this.childIndex = index
@ -2501,18 +2535,21 @@
queryDefaultAccountPeriodRules('2').then(res => { queryDefaultAccountPeriodRules('2').then(res => {
if(res.data.tableField102){ if(res.data.tableField102){
this.defaultAccountPeriodRules = res.data.tableField102 this.defaultAccountPeriodRules = res.data.tableField102
var customerStarRating = this.dataForm.customerStarRating let settlementMethodName = this.settlementMethodOptions.filter((item)=>{
if(this.dataForm.customerStarRating == '517682428312028165'){ if(this.dataForm.settlementMethod==item.id){
this.defaultAccountPeriod = res.data.tableField102[0] return item.fullName
}else if(this.dataForm.customerStarRating == '517682463938446341'){
this.defaultAccountPeriod = res.data.tableField102[1]
}else if(this.dataForm.customerStarRating == '517682488533844997'){
this.defaultAccountPeriod = res.data.tableField102[2]
}else if(this.dataForm.customerStarRating == '517682518925771781'){
this.defaultAccountPeriod = res.data.tableField102[3]
}else if(this.dataForm.customerStarRating == '517682574965867525'){
this.defaultAccountPeriod = res.data.tableField102[4]
} }
})
let customerStarRatingName = this.customerStarRatingOptions.filter((item)=>{
if(this.dataForm.customerStarRating==item.id){
return item.fullName
}
})
this.defaultAccountPeriodRules.forEach(item => {
if (customerStarRatingName[0].fullName == item.creditRating && item.settlementType == settlementMethodName[0].fullName) {
this.defaultAccountPeriod = item;
}
});
}else{ }else{
this.$confirm('请先配置账期规则', '提示', { this.$confirm('请先配置账期规则', '提示', {
showCancelButton: false, // showCancelButton: false, //

@ -85,7 +85,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -87,6 +87,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
checked: [] checked: []
} }
}, },
@ -94,15 +95,18 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
id: val, id: this.val,
} }
/* GoodsList(query).then(res => { /* GoodsList(query).then(res => {
this.list = res.data.list this.list = res.data.list

@ -75,6 +75,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
checked: [], checked: [],
multipleTable: [] multipleTable: []
} }
@ -83,15 +84,18 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
id: val, id: this.val,
} }
request({ request({

@ -93,7 +93,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -72,7 +72,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -71,7 +71,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -69,7 +69,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -71,6 +71,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
checked: [] checked: []
} }
}, },
@ -79,15 +80,18 @@ export default {
console.log(val); console.log(val);
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
documentType: val, documentType: this.val,
} }
/* GoodsList(query).then(res => { /* GoodsList(query).then(res => {

@ -73,6 +73,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
checked: [] checked: []
} }
}, },
@ -80,15 +81,18 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
documentType: val, documentType: this.val,
} }
/* GoodsList(query).then(res => { /* GoodsList(query).then(res => {

@ -76,6 +76,8 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
var: '',
var1: '',
checked: [] checked: []
} }
}, },
@ -83,16 +85,22 @@ export default {
init(excludeIdList, val, val1) { init(excludeIdList, val, val1) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
if (val1 && typeof(val1) == 'string') {
this.val1 = val1;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
warehouseId: val, warehouseId: this.val,
cargoId: val1, cargoId: this.val1,
name: this.keyword, name: this.keyword,
} }
request({ request({

@ -71,6 +71,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
var: '',
checked: [] checked: []
} }
}, },
@ -79,15 +80,18 @@ export default {
console.log(val); console.log(val);
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
notId: val, notId: this.val,
} }
/* GoodsList(query).then(res => { /* GoodsList(query).then(res => {

@ -71,6 +71,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
var: '',
checked: [] checked: []
} }
}, },
@ -79,15 +80,18 @@ export default {
console.log(val); console.log(val);
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
notId: val, notId: this.val,
} }
/* GoodsList(query).then(res => { /* GoodsList(query).then(res => {

@ -94,7 +94,7 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -86,7 +86,7 @@
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if(excludeIdList){ if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -109,13 +109,14 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true; this.visible = true;
this.listLoading = true; this.listLoading = true;
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {
...this.listQuery, ...this.listQuery,
dataType: 0, dataType: 0,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList,
type: 1 type: 1
}; };
request({ request({

@ -77,6 +77,7 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
checked: [] checked: []
} }
}, },
@ -84,15 +85,18 @@ export default {
init(excludeIdList, val) { init(excludeIdList, val) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
id: val, id: this.val,
} }
request({ request({
url: `/api/scm/ProductWarehouse/postInventoryReportlossProductlist`, url: `/api/scm/ProductWarehouse/postInventoryReportlossProductlist`,

@ -76,7 +76,7 @@ export default {
init(excludeIdList) { init(excludeIdList) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
let query = { let query = {

@ -71,6 +71,11 @@ export default {
sidx: "", sidx: "",
}, },
excludeIdList: [], excludeIdList: [],
val: '',
val2: '',
val3: '',
businessId: '',
type: '',
checked: [] checked: []
} }
}, },
@ -78,20 +83,38 @@ export default {
init(excludeIdList, val, val2, val3, businessId, type) { init(excludeIdList, val, val2, val3, businessId, type) {
this.visible = true this.visible = true
this.listLoading = true this.listLoading = true
if (excludeIdList) { if (excludeIdList && excludeIdList instanceof Array) {
this.excludeIdList = excludeIdList; this.excludeIdList = excludeIdList;
} }
if (val && typeof(val) == 'string') {
this.val = val;
}
if (val1 && typeof(val1) == 'string') {
this.val1 = val1;
}
if (val2 && typeof(val2) == 'string') {
this.val2 = val2;
}
if (val3 && typeof(val3) == 'string') {
this.val3 = val3;
}
if (businessId && typeof(businessId) == 'string') {
this.businessId = businessId;
}
if (type && typeof(type) == 'string') {
this.type = type;
}
let query = { let query = {
...this.listQuery, ...this.listQuery,
keyword: this.keyword, keyword: this.keyword,
excludeIdList: this.excludeIdList, excludeIdList: this.excludeIdList,
dataType: 0, dataType: 0,
businessType: val, businessType: this.val,
documentType: val2, documentType: this.val2,
productIdList: val3, productIdList: this.val3,
businessOrderId: businessId, businessOrderId: this.businessId,
} }
if (type == '1') { if (this.type == '1') {
// //
request({ request({
url: `/api/scm/Voucher/getVoucherList`, url: `/api/scm/Voucher/getVoucherList`,
@ -102,7 +125,7 @@ export default {
this.listLoading = false this.listLoading = false
this.total = res.data.pagination.total this.total = res.data.pagination.total
}) })
} else if (type == '2') { } else if (this.type == '2') {
//退 //退
request({ request({
url: `/api/scm/Voucher/returnOrderGetVoucherList`, url: `/api/scm/Voucher/returnOrderGetVoucherList`,

Loading…
Cancel
Save