优化bug问题修复

busUser
郑明梁 3 years ago
parent 286ba12763
commit 6b9f3de00c

@ -187,13 +187,11 @@ export default {
getCodeList() { getCodeList() {
this.loading = true; this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk; this.query.orderIdFk = this.idQuery.orderIdFk;
let query = {
orderIdFk: this.idQuery.orderIdFk
}
/* this.query.batchNo = this.idQuery.batchNo; /* this.query.batchNo = this.idQuery.batchNo;
this.query.supId = this.idQuery.supId; this.query.supId = this.idQuery.supId;
this.query.invStorageCode = this.idQuery.invStorageCode;*/ this.query.invStorageCode = this.idQuery.invStorageCode;*/
filterDetailProducts(query) // filterDetailProducts(this.query) //
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
this.codeArry = response.data.list || []; this.codeArry = response.data.list || [];

@ -803,7 +803,7 @@ export default {
}); });
}, },
selectProductFunction(event) { selectProductFunction(event) {
debugger
if (event != null) { if (event != null) {
event.target.select(); event.target.select();
} }
@ -843,6 +843,11 @@ export default {
}; };
this.selectInvProductVisible = true; this.selectInvProductVisible = true;
} else { } else {
//
if(this.curAction.corpType ==0 || this.curAction.corpType == 3 || (this.curAction.corpType == 2 && !this.curAction.genUnit)){
this.thisData.companyName=this.formData.corpName;
}
this.selectProductVisible = true; this.selectProductVisible = true;
} }
return; return;

@ -290,6 +290,11 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.listQuery.customerId = store.getters.customerId; this.listQuery.customerId = store.getters.customerId;
if( this.data.companyName!=undefined && this.data.companyName!=null ){
this.listQuery.companyName = this.data.companyName;
}
debugger
stockOrderDetailFilterProduct(this.listQuery) stockOrderDetailFilterProduct(this.listQuery)
.then((response) => { .then((response) => {
this.loading = false; this.loading = false;
@ -386,6 +391,8 @@ export default {
created() { created() {
if (this.$isNotBlank(this.data)) { if (this.$isNotBlank(this.data)) {
// this.listQuery.nameCode = this.data.udi; // this.listQuery.nameCode = this.data.udi;
// if (this.data.billType != null) { // if (this.data.billType != null) {
// this.listQuery.billType = this.data.billType; // this.listQuery.billType = this.data.billType;

@ -815,6 +815,7 @@ export default {
} }
}, },
printOrder(row) { printOrder(row) {
debugger
let tQuery = { let tQuery = {
queryId: row.id, queryId: row.id,
moduleId: 2, moduleId: 2,
@ -1112,7 +1113,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let param = {billNo: row.billNo}; let param = {billNo: row.billNo,contrastStatus:2};
rollUnReceivebackOrder(param).then((res) => { rollUnReceivebackOrder(param).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.$message.success("撤回成功"); this.$message.success("撤回成功");

Loading…
Cancel
Save