|
|
|
@ -700,6 +700,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
addCode(event) {
|
|
|
|
|
|
|
|
|
|
this.originCode = "";
|
|
|
|
|
this.sictomText = "";
|
|
|
|
|
this.formData.corpOrderId = this.formData.corpOrderId.trim();
|
|
|
|
@ -764,6 +765,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
addCodeSubmit(tQuery) {
|
|
|
|
|
|
|
|
|
|
addOrderWeb(tQuery).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.idQuery.id = response.data.orderId;
|
|
|
|
@ -928,7 +930,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
getLocalJoinByUser(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
|
if (this.formData.action != null) {
|
|
|
|
|
this.curAction = this.getActionItem(this.formData.action);
|
|
|
|
@ -966,6 +968,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
findMethod(query) {
|
|
|
|
|
|
|
|
|
|
this.fromOptions = [];
|
|
|
|
|
let cQuery = {
|
|
|
|
|
key: query,
|
|
|
|
@ -977,7 +980,7 @@ export default {
|
|
|
|
|
this.formData.fromCorpId = this.curAction.defaultUnit;
|
|
|
|
|
} else if (this.curAction.corpType == 2)//客户
|
|
|
|
|
{
|
|
|
|
|
cQuery.corpType = 4;
|
|
|
|
|
cQuery.corpType = 1;
|
|
|
|
|
cQuery.outType = 2;
|
|
|
|
|
|
|
|
|
|
} else if (this.curAction.corpType == 0) {
|
|
|
|
@ -987,6 +990,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
getBasicUnitMaintains(cQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
debugger
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.fromOptions = response.data.page.list || [];
|
|
|
|
|
if (this.curAction.corpType == 3) {
|
|
|
|
@ -1095,6 +1099,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
actionChange(item) {
|
|
|
|
|
|
|
|
|
|
this.curAction = this.getActionItem(item);
|
|
|
|
|
this.findMethod();
|
|
|
|
|
|
|
|
|
@ -1222,9 +1227,7 @@ export default {
|
|
|
|
|
this.formData.code = '';
|
|
|
|
|
this.formData.actDate = new Date();
|
|
|
|
|
this.codeArray = [];
|
|
|
|
|
if(this.formData.invWarehouseCode!=null){
|
|
|
|
|
this.getBusType();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.getStorage(this.formData.action);
|
|
|
|
|
|
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
@ -1267,7 +1270,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.findSubInvByInv(this.formData.locStorageCode);
|
|
|
|
|
|
|
|
|
|
if(this.formData.invWarehouseCode!=null){
|
|
|
|
|
this.getBusType();
|
|
|
|
|
}
|
|
|
|
|
//查询是否启用多级仓库,判断是否启用部门
|
|
|
|
|
selectSysParamByKey({paramKey: "muti_inv_mode"}).then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|