|
|
@ -23,7 +23,7 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty spanOneWidth"><span>调车类型</span></div> |
|
|
|
<el-form-item> |
|
|
|
<el-select v-model="formobj.shuntingTypeValue" placeholder="请选择" clearable class="addinputw addinputwOne" @change="changeShuntingType" :disabled="dialogStatus == 'edit'"> |
|
|
|
<el-select v-model="formobj.shuntingTypeValue" placeholder="请选择" clearable class="addinputw addinputwOne" @change="changeShuntingType" :disabled="dialogStatus == 'edit' || dialogStatus == 'add'"> |
|
|
|
<el-option v-for="item in accadjType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -132,7 +132,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
import req from '@/api/supplychain/cheliangneigou' |
|
|
|
import { getListOrg, getPathSidByUserSid, typeValues } from '@/api/cheliang/dictcommons.js' |
|
|
|
import { getListOrg, getPathSidByUserSid, typeValues, fetchBySid } from '@/api/cheliang/dictcommons.js' |
|
|
|
import configuration from './chexingselect' |
|
|
|
import vehicle from './vehicleselect' |
|
|
|
|
|
|
@ -172,8 +172,8 @@ export default { |
|
|
|
createOrgSid: '', |
|
|
|
instanceId: '', |
|
|
|
num: '', |
|
|
|
sellerOrgName: '', // 流程实例ID |
|
|
|
sellerOrgSid: '', // 任务ID |
|
|
|
sellerOrgName: '', |
|
|
|
sellerOrgSid: '', |
|
|
|
shuntingTypeKey: '', |
|
|
|
shuntingTypeValue: '', |
|
|
|
sid: '', |
|
|
@ -208,6 +208,12 @@ export default { |
|
|
|
if (res.success) { |
|
|
|
this.formobj.useOrgSid = res.data |
|
|
|
this.formobj.createOrgSid = res.data |
|
|
|
this.formobj.sellerOrgSid = res.data |
|
|
|
fetchBySid(this.formobj.sellerOrgSid).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.sellerOrgName = resp.data.name |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
getListOrg().then((res) => { |
|
|
@ -324,6 +330,8 @@ export default { |
|
|
|
showAdd() { |
|
|
|
this.init() |
|
|
|
this.getUserOrg() |
|
|
|
this.formobj.shuntingTypeKey = '02' |
|
|
|
this.formobj.shuntingTypeValue = '调出' |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|