同步1.0版本bug代码

feature-order-fix
郑明梁 3 years ago
parent 0f3d914dc4
commit 10d8361f6f

@ -452,6 +452,7 @@ export default {
this.editQuery = JSON.parse(JSON.stringify(row));
this.editChangeTypeVisible = true;
this.getBusTypes();
this.findDefaultSubInv();
}
,
hideForm() {
@ -540,8 +541,7 @@ export default {
});
},
invChange() {
if (this.$isNotBlank(this.inputQuery.defaultSubInv))
this.inputQuery.defaultSubInv = null;
this.editQuery.defaultSubInv = null;
this.findDefaultSubInv();
},
},

@ -421,6 +421,9 @@ export default {
},
created() {
if(this.editQuery.isUseDy==1){
this.checked=true
}
let ttquery = {
uuid: this.editQuery.uuid,
page: 1,

@ -1124,9 +1124,9 @@ export default {
// },
getBusType() {
if( this.formData.id==null){
this.formData.billType=null;
}
if(this.$isBlank(this.idQuery.id)){
this.formData.billType=null;
}
let query = {
code: this.formData.invWarehouseCode,
enabled: true,
@ -1293,6 +1293,7 @@ export default {
if(this.formData.invWarehouseCode!=null){
this.getBusType();
}
this.findSubInvs();
this.findSubStorageMethod();
this.codeArray = [];

@ -307,7 +307,9 @@ export default {
getList() {
this.loading = true;
this.listQuery.customerId = store.getters.customerId;
this.listQuery.companyName=this.data.formData.corpName
if( this.data.companyName!=undefined && this.data.companyName!=null ){
this.listQuery.companyName = this.data.companyName;
}
if (this.filterType != null && this.filterType === 2) {
filterAllProduct(this.listQuery)

@ -1069,6 +1069,7 @@ export default {
rollbackOrder(param).then((res) => {
if (res.code === 20000) {
this.$message.success("回退成功");
this.getList();
}
})
}).catch(() => {

@ -786,14 +786,10 @@ export default {
customClass: 'messageIndex'
});
} else {
this.$alert(response.message, '提示', {
confirmButtonText: '确定',
type: 'warning',
closeOnClickModal: true,
callback: action => {
this.$refs.inputRef.focus();
this.$refs.inputRef.select();
}
this.$message({
type: 'error',
message: "提交失败!" + this.editTitle,
customClass: 'messageIndex'
});
}
}
@ -946,7 +942,6 @@ export default {
getBasicUnitMaintains(cQuery)
.then((response) => {
debugger
this.loading = false;
this.fromOptions = response.data.page.list || [];
if (this.curAction.corpType == 3) {

@ -185,12 +185,11 @@ export default {
getCodeList() {
this.loading = true;
this.query.orderIdFk = this.idQuery.orderIdFk;
debugger
let query = {
orderIdFk: this.idQuery.orderIdFk,
code:this.query.code
}
filterDetailProducts(query) //
// let query = {
// orderIdFk: this.idQuery.orderIdFk,
// code:this.query.code
// }
filterDetailProducts(this.query) //
.then((response) => {
this.loading = false;
this.codeArry = response.data.list || [];

@ -34,7 +34,9 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item class="query-form-item">
<el-input v-model="filterQuery.orderIdFk" placeholder="所属单号"></el-input>
</el-form-item>
</el-row>
<el-row style="width: 100%">

Loading…
Cancel
Save