parent
3027467b3b
commit
c52ff55ffd
3 changed files with 155 additions and 36 deletions
@ -0,0 +1,98 @@ |
||||
<template> |
||||
<div> |
||||
<a-modal |
||||
title="辅料管理-详情" |
||||
:visible="visible" |
||||
:confirm-loading="confirmLoading" |
||||
:width='1100' |
||||
@ok="handleOk" |
||||
@cancel="handleCancel" |
||||
> |
||||
<h1 style="text-align: center;margin-bottom: 30px;border-bottom: 1px solid #e8e8e8;padding-bottom: 20px;font-size: 22px;">黄淮学院服装智能制造管理平台 - <span>辅料管理</span></h1> |
||||
<!-- <el-descriptions class="margin-top" :column="3" border style="margin-top: 50px">--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-receiving"></i>类型id</template>--> |
||||
<!-- {{model.typeId}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-coin"></i>编号</template>--> |
||||
<!-- {{model.nums}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-postcard"></i>名称</template>--> |
||||
<!-- {{model.contents}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-copy-document"></i>图片</template>--> |
||||
<!-- {{model.picture}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-price-tag"></i>材质</template>--> |
||||
<!-- {{model.material}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-files"></i>规格</template>--> |
||||
<!-- {{model.specs}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-takeaway-box"></i>库存量</template>--> |
||||
<!-- {{model.store}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- <el-descriptions-item>--> |
||||
<!-- <template slot="label"><i class="el-icon-location-outline"></i>供货商</template>--> |
||||
<!-- {{model.supplierInfo}}--> |
||||
<!-- </el-descriptions-item>--> |
||||
<!-- </el-descriptions>--> |
||||
<processFabric :model="model"></processFabric> |
||||
</a-modal> |
||||
</div> |
||||
</template> |
||||
|
||||
<script> |
||||
|
||||
import { httpAction, getAction } from '@/api/manage' |
||||
import { validateDuplicateValue } from '@/utils/util' |
||||
import processFabric from '@/components/procedure/processFabric' |
||||
export default { |
||||
name: 'ZyAccessoriesFormDetail', |
||||
components: { |
||||
processFabric |
||||
}, |
||||
data () { |
||||
return { |
||||
model:{ |
||||
}, |
||||
visible: false, |
||||
confirmLoading: false, |
||||
validatorRules: { |
||||
}, |
||||
} |
||||
}, |
||||
methods:{ |
||||
showModal(id) { |
||||
this.visible = true; |
||||
this.$http.get('/accessories/zyAccessories/queryById?id='+id).then( |
||||
res=>{ |
||||
this.model = res.result |
||||
console.log('详情页面') |
||||
console.log(this.model) |
||||
}) |
||||
}, |
||||
handleOk() { |
||||
this.ModalText = 'The modal will be closed after two seconds'; |
||||
this.confirmLoading = true; |
||||
setTimeout(() => { |
||||
this.visible = false; |
||||
this.confirmLoading = false; |
||||
}, 1); |
||||
}, |
||||
handleCancel() { |
||||
this.visible = false; |
||||
}, |
||||
} |
||||
} |
||||
</script> |
||||
<style scoped> |
||||
/deep/ .ant-modal-body{min-height: 450px;} |
||||
.margin-top i{margin-right: 5px} |
||||
</style> |
Loading…
Reference in new issue