辅料管理-图片

master
暖暖 2 years ago
parent c50a6f7e2f
commit 10310a9f5e
  1. 4
      ant-design-vue-jeecg/src/components/procedure/processFabric.vue

@ -22,7 +22,7 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"><i class="el-icon-copy-document"></i>图片</template> <template slot="label"><i class="el-icon-copy-document"></i>图片</template>
{{item.picture}} <img v-if="item.picture" :src="item.picture"><span v-if="!item.picture">暂无图片</span>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label"><i class="el-icon-price-tag"></i>材质</template> <template slot="label"><i class="el-icon-price-tag"></i>材质</template>
@ -91,6 +91,8 @@
// cData // cData
model: function(newVal,oldVal){ model: function(newVal,oldVal){
this.tableModel= newVal this.tableModel= newVal
console.log('this.tableModel')
console.log(this.tableModel)
// //
if(newVal == null){ if(newVal == null){
this.tableModel = [ this.tableModel = [

Loading…
Cancel
Save