修改耗材字典bug

feature-order-fix
郑明梁 3 years ago
parent 10d8361f6f
commit 04f7cff829

@ -602,6 +602,8 @@ export default {
this.query.startTime = null;
this.query.endTime = null;
}
//
this.query.page=1
this.getList();
if (this.query.status === "502") {
this.haveNewDistributionVisible = true;
@ -698,6 +700,7 @@ export default {
getStockOrderDetailList(row) {
if (this.$isNotBlank(row)) {
this.detailQuery.orderIdFk = row.id;
this.detailQuery.page=1
this.formData = row;
}
this.detailLoading = true;

@ -117,7 +117,7 @@
<el-form-item class="query-form-item" prop="fromCorp"
v-if="curAction.corpType ==1">
<el-select v-model="formData.fromSubInvCode" placeholder="请选择仓库" clearable="true"
<el-select v-model="formData.fromSubInvCode" @change="getFormSubInv" placeholder="请选择仓库" clearable="true"
:disabled="codeArray.length>0"
>
<el-option
@ -416,6 +416,7 @@ import {filterAll, filterAllByLoc, filterAllByUser} from "@/api/basic/invWarehou
import dialogInvProduct from "../inventory/DialogInvProduct"
import {filterSubByInv} from "@/api/basic/invSubWarehouse";
import {isBlank} from "@/utils/strUtil";
import {filterDepts} from "@/api/auth/authDept"
export default {
name: "idQuery",
@ -665,8 +666,6 @@ export default {
obj.reCount = obj.count;
});
}
insertStockOrderWeb(tQuery)
.then(response => {
this.loading = false;
@ -682,6 +681,11 @@ export default {
this.loading = false;
})
},
getFormSubInv(){
//id
this.formData.corpName= this.fromSubStorageOptions.find(item => item.code == this.formData.fromSubInvCode).name
this.formData.corpId= this.fromSubStorageOptions.find(item => item.code == this.formData.fromSubInvCode).code
},
submit(formName) {
if (this.total < 1) {
this.$message.warning('未添加产品');
@ -1212,6 +1216,7 @@ export default {
},
subStorageChange() {
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
this.findSubStorageMethod();
this.getBusType();
},
@ -1296,6 +1301,7 @@ export default {
this.findSubInvs();
this.findSubStorageMethod();
this.findDeptMethod();
this.codeArray = [];
this.closeConfirmFunction(false);
},

@ -506,7 +506,7 @@ export default {
this.certQuery.customerId = this.inputQuery.customerId;
this.certQuery.type = 1;
this.certQuery.auditStatus=25;
filterCompanyCert(this.certQuery)
.then((response) => {
this.certLoading = false;

@ -479,7 +479,10 @@ export default {
this.findSubStorageMethod();
},
subStorageChange(item) {
this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId
this.formData.corpId=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).code
this.formData.corpName=this.subInvList.find(item => item.code == this.formData.invWarehouseCode).warehouseName
this.findSubStorageMethod();
this.getBusType();
},

Loading…
Cancel
Save