|
|
|
@ -182,11 +182,13 @@
|
|
|
|
|
placeholder="请选择科室"
|
|
|
|
|
:remote-method="findDeptMethod"
|
|
|
|
|
:loading="loading"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
@change="ksChange"
|
|
|
|
|
@focus="findDeptMethod('')"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:key="item.code"
|
|
|
|
|
:label="item.name"
|
|
|
|
|
:value="item.code"
|
|
|
|
|
>
|
|
|
|
@ -823,6 +825,10 @@ export default {
|
|
|
|
|
this.formData.fromCorpId = row.parentId;
|
|
|
|
|
this.formData.fromCorp = row.name;
|
|
|
|
|
},
|
|
|
|
|
ksChange(code){
|
|
|
|
|
this.formData.deptCode=code;
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteCode(index, row) {
|
|
|
|
@ -1185,10 +1191,10 @@ export default {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
this.formData.code = '';
|
|
|
|
|
this.formData.actDate = new Date();
|
|
|
|
|
this.codeArray = [];
|
|
|
|
|
this.findDeptMethod();
|
|
|
|
|
this.getStorage(this.formData.action);
|
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
|
this.formData.actDate = new Date(this.idQuery.actDate);
|
|
|
|
@ -1196,6 +1202,7 @@ export default {
|
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
|
this.formData.action = this.idQuery.action;
|
|
|
|
|
this.formData.fromCorp = this.idQuery.fromCorp;
|
|
|
|
|
this.formData.deptCode= this.idQuery.deptCode
|
|
|
|
|
this.formData.fromCorpId = this.idQuery.fromCorpId;
|
|
|
|
|
this.formData.locStorageCode = this.idQuery.locStorageCode;
|
|
|
|
|
this.formData.invWarehouseCode = this.idQuery.invWarehouseCode;
|
|
|
|
|