同步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.editQuery = JSON.parse(JSON.stringify(row));
this.editChangeTypeVisible = true; this.editChangeTypeVisible = true;
this.getBusTypes(); this.getBusTypes();
this.findDefaultSubInv();
} }
, ,
hideForm() { hideForm() {
@ -540,8 +541,7 @@ export default {
}); });
}, },
invChange() { invChange() {
if (this.$isNotBlank(this.inputQuery.defaultSubInv)) this.editQuery.defaultSubInv = null;
this.inputQuery.defaultSubInv = null;
this.findDefaultSubInv(); this.findDefaultSubInv();
}, },
}, },

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

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

@ -307,7 +307,9 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
this.listQuery.customerId = store.getters.customerId; 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) { if (this.filterType != null && this.filterType === 2) {
filterAllProduct(this.listQuery) filterAllProduct(this.listQuery)

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

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

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

@ -34,7 +34,9 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </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>
<el-row style="width: 100%"> <el-row style="width: 100%">

Loading…
Cancel
Save