|
|
|
@ -136,7 +136,8 @@ export default {
|
|
|
|
|
queryParams: {
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
userCodes: this.userCodes,
|
|
|
|
|
userCode: this.userCodes,
|
|
|
|
|
userName: this.userNames,
|
|
|
|
|
itemId: null,
|
|
|
|
|
itemCode: null,
|
|
|
|
|
materialName: null,
|
|
|
|
@ -164,7 +165,8 @@ export default {
|
|
|
|
|
leftLength: null,
|
|
|
|
|
leftQueryParams: {
|
|
|
|
|
materialName: null,
|
|
|
|
|
userCodes: this.userCodes,
|
|
|
|
|
userCode: this.userCodes,
|
|
|
|
|
userName: this.userNames,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
},
|
|
|
|
@ -177,14 +179,16 @@ export default {
|
|
|
|
|
RNextPage: null,
|
|
|
|
|
rightQueryParams: {
|
|
|
|
|
materialName: null,
|
|
|
|
|
userCodes: this.userCodes,
|
|
|
|
|
userCode: this.userCodes,
|
|
|
|
|
userName: this.userNames,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
userCodes: undefined,
|
|
|
|
|
userCodes: undefined,
|
|
|
|
|
userNames: undefined,
|
|
|
|
|
optType: undefined,
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
@ -269,7 +273,8 @@ export default {
|
|
|
|
|
reset() {
|
|
|
|
|
this.form = {
|
|
|
|
|
recordId: null,
|
|
|
|
|
userCodes: this. userCodes,
|
|
|
|
|
userCode: this.userCodes,
|
|
|
|
|
userName: this.userNames,
|
|
|
|
|
itemId: null,
|
|
|
|
|
itemCode: null,
|
|
|
|
|
materialName: null,
|
|
|
|
@ -288,7 +293,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
handleChange(value, direction, movedKeys) {
|
|
|
|
|
if (this.queryParams. userCodes != null) {
|
|
|
|
|
if (this.queryParams.userCode != null) {
|
|
|
|
|
this.queryParams.selectedValues = value;
|
|
|
|
|
addProduct(this.queryParams).then((response) => {
|
|
|
|
|
this.$modal.msgSuccess("关联成功");
|
|
|
|
|