|
|
|
@ -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);
|
|
|
|
|
},
|
|
|
|
|