|
|
|
@ -27,7 +27,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4"> |
|
|
|
<BusinessSelect dictType="system_business_zldw" v-model="form.nndw" /> |
|
|
|
<BusinessSelect dictType="business_nddw" v-model="form.nddw" /> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<!-- 失效日 --> |
|
|
|
@ -43,13 +43,13 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<!-- 存储条件 --> |
|
|
|
<el-form-item :label="$t('page.business.resource.sj.cctj')" prop="cctj"> |
|
|
|
<BusinessSelect dictType="system_business_cctj" v-model="form.cctj" /> |
|
|
|
<BusinessSelect dictType="business_cctj" v-model="form.cctj" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<!-- 存储位置 --> |
|
|
|
<el-form-item :label="$t('page.business.resource.sj.ccwz')" prop="ccwz"> |
|
|
|
<BusinessSelect dictType="system_business_ccwz" v-model="form.ccwz" /> |
|
|
|
<BusinessSelect dictType="business_ccwz" v-model="form.ccwz" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -105,7 +105,6 @@ export default { |
|
|
|
components: { SelectList, BusinessSelect }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
isBatch: false, |
|
|
|
ids: [], |
|
|
|
selectList: [], |
|
|
|
open: false, |
|
|
|
@ -127,37 +126,30 @@ export default { |
|
|
|
created() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
showBatch(val) { |
|
|
|
this.reset() |
|
|
|
this.isBatch = true |
|
|
|
this.form.ids = val.map(item => item.id) |
|
|
|
this.selectList = val |
|
|
|
this.open = true |
|
|
|
}, |
|
|
|
cancel() { |
|
|
|
this.open = false |
|
|
|
}, |
|
|
|
reset() { |
|
|
|
this.form = { |
|
|
|
id: null, |
|
|
|
ids: null, |
|
|
|
mc: null, |
|
|
|
bh: null, |
|
|
|
nd: null, |
|
|
|
nddw: null, |
|
|
|
sxr: null, |
|
|
|
cctj: null, |
|
|
|
ccwz: null, |
|
|
|
qmyy: this.$t('form.edit'), |
|
|
|
qmrmm: null |
|
|
|
qmrmm: null, |
|
|
|
qmbz: null |
|
|
|
} |
|
|
|
this.resetForm("form") |
|
|
|
}, |
|
|
|
show(row) { |
|
|
|
this.reset() |
|
|
|
this.isBatch = false |
|
|
|
this.form.ids = [] |
|
|
|
this.selectList = [] |
|
|
|
this.form.id = row.id |
|
|
|
this.form.mc = row.mc |
|
|
|
this.form.bh = row.bh |
|
|
|
sj_info({id: row.id}).then(response => { |
|
|
|
this.form = response.data |
|
|
|
console.log(this.form) |
|
|
|
this.open = true |
|
|
|
}) |
|
|
|
|
|
|
|
|