|
|
@ -161,11 +161,6 @@
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="20" v-if="enableDept">
|
|
|
|
|
|
|
|
<el-col :span="2">
|
|
|
|
<el-col :span="2">
|
|
|
|
<div class="ao-text">
|
|
|
|
<div class="ao-text">
|
|
|
|
<span>使用科室:</span>
|
|
|
|
<span>使用科室:</span>
|
|
|
@ -182,11 +177,13 @@
|
|
|
|
placeholder="请选择科室"
|
|
|
|
placeholder="请选择科室"
|
|
|
|
:remote-method="findDeptMethod"
|
|
|
|
:remote-method="findDeptMethod"
|
|
|
|
:loading="loading"
|
|
|
|
:loading="loading"
|
|
|
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
|
|
|
@change="ksChange"
|
|
|
|
@focus="findDeptMethod('')"
|
|
|
|
@focus="findDeptMethod('')"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
|
:key="item.id"
|
|
|
|
:key="item.code"
|
|
|
|
:label="item.name"
|
|
|
|
:label="item.name"
|
|
|
|
:value="item.code"
|
|
|
|
:value="item.code"
|
|
|
|
>
|
|
|
|
>
|
|
|
@ -195,9 +192,12 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-row :gutter="20">-->
|
|
|
|
<!-- <el-row :gutter="20">-->
|
|
|
|
<!-- <el-col :span="20" class="el-col">-->
|
|
|
|
<!-- <el-col :span="20" class="el-col">-->
|
|
|
|
<!-- <div class="text item">-->
|
|
|
|
<!-- <div class="text item">-->
|
|
|
@ -823,6 +823,10 @@ export default {
|
|
|
|
this.formData.fromCorpId = row.parentId;
|
|
|
|
this.formData.fromCorpId = row.parentId;
|
|
|
|
this.formData.fromCorp = row.name;
|
|
|
|
this.formData.fromCorp = row.name;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
ksChange(code){
|
|
|
|
|
|
|
|
this.formData.deptCode=code;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deleteCode(index, row) {
|
|
|
|
deleteCode(index, row) {
|
|
|
@ -1185,10 +1189,10 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
|
|
this.formData.code = '';
|
|
|
|
this.formData.code = '';
|
|
|
|
this.formData.actDate = new Date();
|
|
|
|
this.formData.actDate = new Date();
|
|
|
|
this.codeArray = [];
|
|
|
|
this.codeArray = [];
|
|
|
|
|
|
|
|
this.findDeptMethod();
|
|
|
|
this.getStorage(this.formData.action);
|
|
|
|
this.getStorage(this.formData.action);
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
if (this.$isNotBlank(this.idQuery.id)) {
|
|
|
|
this.formData.actDate = new Date(this.idQuery.actDate);
|
|
|
|
this.formData.actDate = new Date(this.idQuery.actDate);
|
|
|
@ -1196,6 +1200,7 @@ export default {
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
this.formData.action = this.idQuery.action;
|
|
|
|
this.formData.action = this.idQuery.action;
|
|
|
|
this.formData.fromCorp = this.idQuery.fromCorp;
|
|
|
|
this.formData.fromCorp = this.idQuery.fromCorp;
|
|
|
|
|
|
|
|
this.formData.deptCode= this.idQuery.deptCode
|
|
|
|
this.formData.fromCorpId = this.idQuery.fromCorpId;
|
|
|
|
this.formData.fromCorpId = this.idQuery.fromCorpId;
|
|
|
|
this.formData.locStorageCode = this.idQuery.locStorageCode;
|
|
|
|
this.formData.locStorageCode = this.idQuery.locStorageCode;
|
|
|
|
this.formData.invWarehouseCode = this.idQuery.invWarehouseCode;
|
|
|
|
this.formData.invWarehouseCode = this.idQuery.invWarehouseCode;
|
|
|
|