|
|
@ -6,8 +6,7 @@ |
|
|
|
<div>{{ viewTitle }}</div> |
|
|
|
<!--start 添加修改按钮--> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="dialogStatus === 'add' ? saveAdd() : saveEdit()">保存 |
|
|
|
</el-button> |
|
|
|
<el-button type="primary" size="small" :disabled="submitdisabled" @click="dialogStatus === 'add' ? saveAdd() : saveEdit()">保存</el-button> |
|
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button> |
|
|
|
</div> |
|
|
|
<!--end 添加修改按钮--> |
|
|
@ -17,72 +16,66 @@ |
|
|
|
<!--Start 新增修改部分--> |
|
|
|
<div class="listconadd"> |
|
|
|
<div class="titwu"><span>存放地点</span></div> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formadd"> |
|
|
|
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02"> |
|
|
|
<el-row style="border-top: 1px solid #E0E3EB"> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>使用组织</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item prop=""> |
|
|
|
<el-input v-model="formobj.useOrg" placeholder="" class="addinputw" :disabled="true"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>编码</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item prop="gressionCode"> |
|
|
|
<el-input v-model="formobj.gressionCode" placeholder="编码" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item><span style="color: red">注:存放地点名称、详细地址会在相关合同中显示,请安要求认真填写</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>名称</span> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty">使用组织</div> |
|
|
|
<el-form-item><span class="addinputInfo">{{ formobj.useOrg }}</span></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item prop="warehouseName"> |
|
|
|
<el-input v-model="formobj.warehouseName" placeholder="名称" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>编码</div> |
|
|
|
<el-form-item prop="gressionCode"><el-input v-model="formobj.gressionCode" placeholder="" class="addinputInfo addinputw" clearable /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>负责人及电话</span> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>名称</div> |
|
|
|
<el-form-item prop="warehouseName"><el-input v-model="formobj.warehouseName" placeholder="请填写存放地点营业执照上的公司全称" class="addinputInfo addinputw" clearable /></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item prop="warehouseContract"> |
|
|
|
<el-input v-model="formobj.warehouseContract" placeholder="负责人及电话" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>负责人及电话</div> |
|
|
|
<el-form-item prop="warehouseContract"><el-input v-model="formobj.warehouseContract" placeholder="" class="addinputInfo addinputw" clearable /></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>分组</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>分组</div> |
|
|
|
<el-form-item prop="warehouseGroupKey"> |
|
|
|
<el-select v-model="formobj.warehouseGroupKey" placeholder="请选择" @change="changeWarehouseGroup" clearable class="addinputw"> |
|
|
|
<el-option v-for="item in warehouseGroup_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
<el-select v-model="formobj.warehouseGroupKey" placeholder="请选择" @change="changeWarehouseGroup" clearable filterable class="addinputInfo"> |
|
|
|
<el-option v-for="item in warehouseGroup_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>库管人员</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>库管人员</div> |
|
|
|
<el-form-item prop="libTubeName"> |
|
|
|
<el-select v-model="formobj.libTubeName" placeholder="请选择" @change="changeLibTube" filterable clearable class="addinputw"> |
|
|
|
<el-option v-for="item in libTube_list" :key="item.userSid" :label="item.userName" :value="item.userName"/> |
|
|
|
<el-select v-model="formobj.libTubeSid" placeholder="请选择" @change="changeLibTube" filterable clearable class="addinputInfo"> |
|
|
|
<el-option v-for="item in libTube_list" :key="item.userSid" :label="item.userName" :value="item.userSid" /> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="3" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>详细地址</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="21"> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty"><span class="icon">*</span>详细地址</div> |
|
|
|
<el-form-item prop="warehouseAttribute"> |
|
|
|
<el-input v-model="formobj.warehouseAttribute" placeholder="详细地址" class="addinputw" clearable/> |
|
|
|
<div class="addinputInfo" style="display: flex;flex-direction: row;justify-content: flex-start;align-items: center"> |
|
|
|
<el-select v-model="formobj.province" filterable clearable placeholder="请选择省" style="width:160px" @change="provinceChange"> |
|
|
|
<el-option v-for="item in province_list" :key="item.sid" :label="item.name" :value="item.name"/> |
|
|
|
</el-select> |
|
|
|
<el-select v-model="formobj.city" filterable placeholder="请选择市" style="width:160px" @change="cityChange"> |
|
|
|
<el-option v-for="item in city_list" :key="item.sid" :label="item.name" :value="item.name"/> |
|
|
|
</el-select> |
|
|
|
<el-select v-model="formobj.county" filterable placeholder="请选择县" style="width:160px" @change="countyChange"> |
|
|
|
<el-option v-for="item in county_list" :key="item.sid" :label="item.name" :value="item.name"/> |
|
|
|
</el-select> |
|
|
|
<el-input style="width: 30%" v-model="formobj.warehouseAttribute" clearable placeholder="请填写存放地点营业执照上的公司详细地址"/> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -95,6 +88,7 @@ |
|
|
|
<script> |
|
|
|
import req from '@/api/anruiscm/scmwarehouse' |
|
|
|
import { typeValues, getGressionUserList, getOrgSidByPath, fetchBySid } from '@/api/cheliang/dictcommons' |
|
|
|
import { getProvince, getCity, getCounty } from '@/api/portal/areaPicker' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'ScmWarehouseAdd', |
|
|
@ -102,26 +96,10 @@ export default { |
|
|
|
return { |
|
|
|
viewTitle: '', |
|
|
|
dialogStatus: 'add', |
|
|
|
// 级联列表 |
|
|
|
useOrg_list: [], |
|
|
|
dataArr: [], |
|
|
|
refreshItem: 0, // 级联列表key值 |
|
|
|
options: [], // 级联列表选项 |
|
|
|
props: { |
|
|
|
value: 'sid', |
|
|
|
label: 'name', |
|
|
|
children: 'children', |
|
|
|
multiple: true |
|
|
|
}, |
|
|
|
// 组织(单选) |
|
|
|
orgProps: { |
|
|
|
value: 'sid', |
|
|
|
label: 'name', |
|
|
|
children: 'children', |
|
|
|
checkStrictly: true |
|
|
|
}, |
|
|
|
orgOptions: [], |
|
|
|
orgArr: [], |
|
|
|
submitdisabled: false, |
|
|
|
province_list: [], |
|
|
|
city_list: [], |
|
|
|
county_list: [], |
|
|
|
warehouseGroup_list: [], |
|
|
|
libTube_list: [], |
|
|
|
formobj: { |
|
|
@ -136,25 +114,23 @@ export default { |
|
|
|
warehouseGroupValue: '', |
|
|
|
warehouseGroupKey: '', |
|
|
|
libTubeName: '', |
|
|
|
libTubeSid: '' |
|
|
|
libTubeSid: '', |
|
|
|
provinceSid: '', |
|
|
|
province: '', |
|
|
|
citySid: '', |
|
|
|
city: '', |
|
|
|
countySid: '', |
|
|
|
county: '' |
|
|
|
}, |
|
|
|
rules: { |
|
|
|
useOrg: [{ required: true, message: '使用组织不能为空', trigger: 'change' }], // 使用组织 |
|
|
|
useOrgSid: [{ required: true, message: '使用组织sid不能为空', trigger: 'blur' }], // 使用组织sid |
|
|
|
gressionCode: [{ required: true, message: '编码不能为空', trigger: 'blur' }], // 编码 |
|
|
|
warehouseName: [{ required: true, message: '名称不能为空', trigger: 'blur' }], // 名称 |
|
|
|
warehouseAttribute: [{ required: true, message: '存放地点详细地址不能为空', trigger: 'blur' }], // 存放地点属性 |
|
|
|
warehouseContract: [{ required: true, message: '存放地点负责人不能为空', trigger: 'blur' }], // 存放地点负责人 |
|
|
|
warehouseContractSid: [{ required: true, message: '存放地点负责人sid不能为空', trigger: 'blur' }], // 存放地点负责人sid |
|
|
|
warehouseGroupKey: [{ required: true, message: '分组不能为空', trigger: 'change' }], // 分组 |
|
|
|
libTubeName: [{ required: true, message: '库管人员不能为空', trigger: 'change' }] |
|
|
|
}, |
|
|
|
submitdisabled: false |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getBuMen() |
|
|
|
this.getOrg() |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// 分公司 |
|
|
@ -170,165 +146,47 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 组织(单选) |
|
|
|
getOrg() { |
|
|
|
req.getOrg().then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.useOrg_list = res.data |
|
|
|
console.log('使用组织', this.useOrg_list) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
useOrgChange(value) { |
|
|
|
console.log('触发下拉框按钮', value) |
|
|
|
let bb = null |
|
|
|
this.useOrg_list.forEach((e) => { |
|
|
|
if (e.name === value) { |
|
|
|
bb = { |
|
|
|
name: e.name, |
|
|
|
key: e.id, |
|
|
|
sid: e.sid |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
this.formobj.useOrg = bb.name |
|
|
|
this.formobj.useOrgSid = bb.sid |
|
|
|
console.log('name', this.formobj.useOrg, this.formobj.useOrgSid) |
|
|
|
}, |
|
|
|
|
|
|
|
// org0(data) { |
|
|
|
// data.forEach((e) => { |
|
|
|
// if (e.children.length != 0) { |
|
|
|
// this.org0(e.children) |
|
|
|
// } else { |
|
|
|
// delete e.children |
|
|
|
// this.orgArr.push(e) |
|
|
|
// return |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// }, |
|
|
|
// 级联列表-组织 |
|
|
|
getBuMen() { |
|
|
|
req.salesDepName().then((res) => { |
|
|
|
if (res.code === '200') { |
|
|
|
this.options = res.data |
|
|
|
console.log('请求到的级联列表', this.options) |
|
|
|
this.BuMen0(this.options) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
BuMen0(data) { |
|
|
|
data.forEach((e) => { |
|
|
|
if (e.children) { |
|
|
|
if (e.children.length != 0) { |
|
|
|
this.BuMen0(e.children) |
|
|
|
provinceChange(value) { |
|
|
|
const choose = this.province_list.filter((item) => item.name === value) |
|
|
|
if (choose !== null && choose.length > 0) { |
|
|
|
this.formobj.provinceSid = choose[0].sid |
|
|
|
this.getCity(this.formobj.provinceSid) |
|
|
|
} else { |
|
|
|
delete e.children |
|
|
|
this.dataArr.push(e) |
|
|
|
return |
|
|
|
this.formobj.provinceSid = '' |
|
|
|
this.formobj.citySid = '' |
|
|
|
this.formobj.city = '' |
|
|
|
this.city_list = [] |
|
|
|
this.formobj.county = '' |
|
|
|
this.formobj.countySid = '' |
|
|
|
this.county_list = [] |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getType() { |
|
|
|
typeValues({ type: 'locationGroup' }).then((res) => { |
|
|
|
getCity(val) { |
|
|
|
getCity({ sid: val }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.warehouseGroup_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getGressionUserList({ userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.libTube_list = resp.data |
|
|
|
this.city_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeWarehouseGroup(val) { |
|
|
|
if (val) { |
|
|
|
const choosetItem = this.warehouseGroup_list.filter((item) => item.dictKey === val) |
|
|
|
this.formobj.warehouseGroupValue = choosetItem[0].dictValue |
|
|
|
console.log('name:', this.formobj.warehouseGroupValue, 'key:', this.formobj.warehouseGroupKey) |
|
|
|
cityChange(value) { |
|
|
|
const choose = this.city_list.filter((item) => item.name === value) |
|
|
|
if (choose !== null && choose.length > 0) { |
|
|
|
this.formobj.citySid = choose[0].sid |
|
|
|
this.getCounty(this.formobj.citySid) |
|
|
|
} |
|
|
|
}, |
|
|
|
changeLibTube(value) { |
|
|
|
let bb = null |
|
|
|
this.libTube_list.forEach((e) => { |
|
|
|
if (e.userName === value) { |
|
|
|
bb = { |
|
|
|
name: e.userName, |
|
|
|
sid: e.userSid |
|
|
|
} |
|
|
|
getCounty(val) { |
|
|
|
getCounty({ sid: val }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.county_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
this.formobj.libTubeSid = bb.sid |
|
|
|
}, |
|
|
|
|
|
|
|
// //库存组织 |
|
|
|
// useOrgChange(e) { |
|
|
|
// console.log('选中结果:' + JSON.stringify(e)) |
|
|
|
// var result = '' |
|
|
|
// var result_Sid = '' |
|
|
|
// if (e.length > 0) { |
|
|
|
// // 循环多选项 |
|
|
|
// e.forEach((item) => { |
|
|
|
// var last_id = item[item.length - 1] |
|
|
|
// // 循环查找名字 |
|
|
|
// this.select_temp_Name = '' // 临时遍历,用来保存选中结果(组织名称) |
|
|
|
// this.select_temp_Sid = '' //临时遍历,用来保存选中结果(组织Sid) |
|
|
|
// this.gainOrgId(last_id, this.orgOptions) |
|
|
|
// result = result + this.select_temp_Name + ',' |
|
|
|
// result_Sid = result_Sid + this.select_temp_Sid + ',' |
|
|
|
// }) |
|
|
|
// } |
|
|
|
// if (result !== '') { |
|
|
|
// result = result.substring(0, result.length - 1) |
|
|
|
// } |
|
|
|
// if (result_Sid !== '') { |
|
|
|
// result_Sid = result_Sid.substring(0, result_Sid.length - 1) |
|
|
|
// } |
|
|
|
// this.formobj.useOrg = result |
|
|
|
// this.formobj.useOrgSid = result_Sid |
|
|
|
// console.log('选中名称:' + this.formobj.useOrg, this.formobj.useOrgSid) |
|
|
|
// }, |
|
|
|
// |
|
|
|
// // --- 循环查询 |
|
|
|
// gainOrgId(id, orgOptions) { |
|
|
|
// console.log('这里是组织id', id) |
|
|
|
// for (var i = 0; i < orgOptions.length; i++) { |
|
|
|
// if (id == orgOptions[i].sid) { |
|
|
|
// this.select_temp_Name = orgOptions[i].name // 保存找到的内容 |
|
|
|
// this.select_temp_Sid = orgOptions[i].sid |
|
|
|
// return true |
|
|
|
// } else { |
|
|
|
// // 判断是否最后一级 |
|
|
|
// if (orgOptions[i].children !== undefined) { |
|
|
|
// // 不是的话查询下一级 |
|
|
|
// if (this.gainOrgId(id, orgOptions[i].children)) { |
|
|
|
// return true |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// }, |
|
|
|
|
|
|
|
handleReturn(isreload) { |
|
|
|
if (isreload === 'true') this.$emit('reloadlist') |
|
|
|
this.formobj = { |
|
|
|
sid: '', |
|
|
|
useOrg: '', // 使用组织 |
|
|
|
useOrgSid: '', // 使用组织sid |
|
|
|
gressionCode: '', // 编码 |
|
|
|
warehouseName: '', // 名称 |
|
|
|
warehouseAttribute: '', // 存放地点属性 |
|
|
|
warehouseContract: '', // 存放地点负责人 |
|
|
|
warehouseContractSid: '', // 存放地点负责人sid |
|
|
|
warehouseGroupValue: '', |
|
|
|
warehouseGroupKey: '', |
|
|
|
libTubeName: '', |
|
|
|
libTubeSid: '' |
|
|
|
countyChange(value) { |
|
|
|
const choose = this.county_list.filter((item) => item.name === value) |
|
|
|
if (choose !== null && choose.length > 0) { |
|
|
|
this.formobj.countySid = choose[0].sid |
|
|
|
} |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
|
showAdd() { |
|
|
|
this.$nextTick(() => { |
|
|
@ -354,19 +212,53 @@ export default { |
|
|
|
}) |
|
|
|
this.getType() |
|
|
|
}, |
|
|
|
getType() { |
|
|
|
typeValues({ type: 'locationGroup' }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.warehouseGroup_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getProvince().then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.province_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getGressionUserList({ userSid: window.sessionStorage.getItem('userSid'), orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.libTube_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
changeWarehouseGroup(val) { |
|
|
|
const choosetItem = this.warehouseGroup_list.filter((item) => item.dictKey === val) |
|
|
|
if (choosetItem.length > 0 && choosetItem !== null) { |
|
|
|
this.formobj.warehouseGroupValue = choosetItem[0].dictValue |
|
|
|
} else { |
|
|
|
this.formobj.warehouseGroupValue = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
changeLibTube(value) { |
|
|
|
const choosetItem = this.libTube_list.filter((item) => item.userSid === value) |
|
|
|
if (choosetItem.length > 0 && choosetItem !== null) { |
|
|
|
this.formobj.libTubeSid = choosetItem[0].userName |
|
|
|
} else { |
|
|
|
this.formobj.libTubeSid = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
saveAdd() { |
|
|
|
this.$refs['form_obj'].validate(valid => { |
|
|
|
if (valid) { |
|
|
|
this.submitdisabled = true |
|
|
|
req.saveAdd(this.formobj).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
this.handleReturn('true') |
|
|
|
} else { |
|
|
|
this.submitdisabled = false |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
|
this.submitdisabled = false |
|
|
|
}) |
|
|
|
} else { |
|
|
|
return false |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
@ -375,17 +267,44 @@ export default { |
|
|
|
if (valid) { |
|
|
|
this.submitdisabled = true |
|
|
|
req.saveEdit(this.formobj, this.formobj.sid).then(resp => { |
|
|
|
this.submitdisabled = false |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'success', message: resp.msg }) |
|
|
|
this.handleReturn('true') |
|
|
|
} else { |
|
|
|
this.submitdisabled = false |
|
|
|
} |
|
|
|
}).catch(() => { |
|
|
|
this.submitdisabled = false |
|
|
|
}) |
|
|
|
} else { |
|
|
|
return false |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleReturn(isreload) { |
|
|
|
if (isreload === 'true') this.$emit('reloadlist') |
|
|
|
this.formobj = { |
|
|
|
sid: '', |
|
|
|
useOrg: '', // 使用组织 |
|
|
|
useOrgSid: '', // 使用组织sid |
|
|
|
gressionCode: '', // 编码 |
|
|
|
warehouseName: '', // 名称 |
|
|
|
warehouseAttribute: '', // 存放地点属性 |
|
|
|
warehouseContract: '', // 存放地点负责人 |
|
|
|
warehouseContractSid: '', // 存放地点负责人sid |
|
|
|
warehouseGroupValue: '', |
|
|
|
warehouseGroupKey: '', |
|
|
|
libTubeName: '', |
|
|
|
libTubeSid: '', |
|
|
|
provinceSid: '', |
|
|
|
province: '', |
|
|
|
citySid: '', |
|
|
|
city: '', |
|
|
|
countySid: '', |
|
|
|
county: '' |
|
|
|
} |
|
|
|
this.submitdisabled = false |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
@ -395,4 +314,17 @@ export default { |
|
|
|
color: #e84026; |
|
|
|
margin-right: 4px; |
|
|
|
} |
|
|
|
.span-sty { |
|
|
|
width: 130px !important; |
|
|
|
} |
|
|
|
.addinputInfo { |
|
|
|
margin-left: 120px !important; |
|
|
|
} |
|
|
|
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw { |
|
|
|
margin-left: 120px !important; |
|
|
|
width: calc(100% - 115px); |
|
|
|
} |
|
|
|
/deep/ .el-form-item__error { |
|
|
|
margin-left: 120px !important; |
|
|
|
} |
|
|
|
</style> |
|
|
|