|
@@ -107,7 +107,7 @@
|
|
v-model="form[item.prop]"
|
|
v-model="form[item.prop]"
|
|
@getCorpData="getCorpRow"
|
|
@getCorpData="getCorpRow"
|
|
corpType="KH"
|
|
corpType="KH"
|
|
- :disabled="detailData.seeDisabled || browse"
|
|
|
|
|
|
+ :disabled="detailData.seeDisabled || browse || !form.belongToCorpId"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
ref="KHSelect"
|
|
ref="KHSelect"
|
|
:belongtocompany="form.belongToCorpId"
|
|
:belongtocompany="form.belongToCorpId"
|
|
@@ -257,6 +257,10 @@
|
|
:summary-method="summaryMethod"
|
|
:summary-method="summaryMethod"
|
|
:table-loading="goodsLoading"
|
|
:table-loading="goodsLoading"
|
|
>
|
|
>
|
|
|
|
+ <template slot="headerSerial" slot-scope="{column}">
|
|
|
|
+ <span class="order_number">序号</span>
|
|
|
|
+ <el-button class="number_button" type="primary" icon="el-icon-circle-plus-outline" circle size="mini" @click="$refs.crudContact.rowCellAdd()"></el-button>
|
|
|
|
+ </template>
|
|
<template slot="corpId" slot-scope="{ row, index }">
|
|
<template slot="corpId" slot-scope="{ row, index }">
|
|
<crop-select
|
|
<crop-select
|
|
v-if="row.$cellEdit"
|
|
v-if="row.$cellEdit"
|
|
@@ -3471,4 +3475,13 @@ export default {
|
|
.isShow {
|
|
.isShow {
|
|
display: none;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
+.order_number:hover {
|
|
|
|
+ display: none;
|
|
|
|
+}
|
|
|
|
+.number_button {
|
|
|
|
+ display: none;
|
|
|
|
+}
|
|
|
|
+.order_number:hover + .number_button {
|
|
|
|
+ display: block;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|