Merge branch 'wang' into orderChange

zhairh
wangwei 3 years ago
commit 97a398b02d

@ -161,7 +161,7 @@ export default {
page: 1, page: 1,
limit: 10, limit: 10,
allocateStatus: 0, allocateStatus: 0,
type: 0, type: null,
customerId: null, customerId: null,
}, },
detailList: [], detailList: [],
@ -384,9 +384,13 @@ export default {
}, },
}, },
created() { created() {
this.getBusType(); this.getBusType();
this.getStorage(); this.getStorage();
this.getList();
this.getList();
}, },
components: {selectInvDialog} components: {selectInvDialog}

@ -182,11 +182,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"
> >
@ -823,6 +825,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 +1191,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 +1202,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;

@ -466,7 +466,7 @@ export default {
this.idQuery.locStorageCode = row.locStorageCode; this.idQuery.locStorageCode = row.locStorageCode;
this.idQuery.invWarehouseCode = row.invWarehouseCode; this.idQuery.invWarehouseCode = row.invWarehouseCode;
this.idQuery.fromSubInvCode = row.fromSubInvCode; this.idQuery.fromSubInvCode = row.fromSubInvCode;
this.idQuery.deptCode = row.deptCode;
this.idQuery.preCheck = row.preCheck; this.idQuery.preCheck = row.preCheck;
} }

Loading…
Cancel
Save