Commit 1fa151ab authored by jingnan's avatar jingnan 👀

领用出库申请界面联调

parent eabd4aa5
......@@ -8,7 +8,7 @@
<div class="sub-title">领用类型</div>
<div class="useType">
<span class="typeName">领用类型:</span>
<el-select v-model="typeName" placeholder="请选择" size="mini" @change="changeVal">
<el-select v-model="typeName" placeholder="请选择" size="mini">
<el-option
v-for="item in options"
:key="item.value"
......@@ -82,6 +82,9 @@ export default {
this.$bus.$on('getApplyId', (data) => {
this.outStorageUseId = data
})
this.$bus.$on('cancel', (data) => {
this.$emit('cancel')
})
},
mounted() {
this.getUseRequestTypes()
......@@ -91,16 +94,12 @@ export default {
async getUseRequestTypes() {
this.options = await this.$utils.getDicListByCode('UseRequestType')
},
changeVal(val) {
},
dataChangeHandler(val) {
if (val) {
this.formData = Object.assign({}, val)
this.formData.typeName = this.typeName
}
},
changeModelCode() {
},
cancelHandler(val) {
this.$confirm('此操作将解除已占用的操作, 是否继续?', '提示', {
confirmButtonText: '确定',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment