|
@@ -4,7 +4,7 @@
|
|
|
<el-col :span="12">
|
|
|
<p class="normal-title normal-margin">计量单位</p>
|
|
|
<slot name="unitAdd" :data="unitList"/>
|
|
|
- <table-new-layout v-if="unitList" :layout="tablecols1" :data="unitList" :custom="false" height="calc(100vh - 250px)">
|
|
|
+ <table-new-layout v-if="unitList" :layout="tablecols1" :data="unitList" :custom="false" :width="true" height="calc(100vh - 250px)">
|
|
|
<template v-slot:opreation="scope">
|
|
|
<div style="display:flex">
|
|
|
<slot name="unitEdit" :data="scope.data" />
|
|
@@ -16,7 +16,7 @@
|
|
|
<el-col :span="12">
|
|
|
<p class="normal-title normal-margin">计量单位组</p>
|
|
|
<slot name="unitGroupAdd" :data="unitList"/>
|
|
|
- <table-new-layout v-if="unitGroupList" :layout="tablecols2" :data="unitGroupList" :custom="false" height="calc(100vh - 250px)">
|
|
|
+ <table-new-layout v-if="unitGroupList" :layout="tablecols2" :data="unitGroupList" :custom="false" :width="true" height="calc(100vh - 250px)">
|
|
|
<template v-slot:opreation="scope">
|
|
|
<div style="display:flex">
|
|
|
<slot name="unitGroupEdit" :data="{row:scope.data,unitList:unitList}" />
|