|
|
@@ -1,281 +1,305 @@
|
|
|
<template>
|
|
|
- <!-- 新增现货品种 -->
|
|
|
- <a-modal class="commonModal addSpotVariety"
|
|
|
- wrapClassName=""
|
|
|
- title="新增现货品种"
|
|
|
- v-model:visible="visible"
|
|
|
- @cancel="closeAction"
|
|
|
- centered
|
|
|
- :maskClosable="false"
|
|
|
- width="850px">
|
|
|
- <template #footer>
|
|
|
- <a-button key="submit"
|
|
|
- type="primary"
|
|
|
- :loading="loading"
|
|
|
- @click="submit">完成</a-button>
|
|
|
- </template>
|
|
|
- <a-form class="inlineForm"
|
|
|
- ref="formRef"
|
|
|
- :model="formState"
|
|
|
- :rules="rules">
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>基本信息</legend>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="现货品种名称"
|
|
|
- name="deliverygoodsname">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="formState.deliverygoodsname"
|
|
|
- style="width: 200px"
|
|
|
- placeholder="请输入现货品种名称" />
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="现货品种代码"
|
|
|
- name="deliverygoodscode">
|
|
|
- <a-input class="dialogInput"
|
|
|
- style="width: 200px"
|
|
|
- v-model:value="formState.deliverygoodscode"
|
|
|
- placeholder="请输入现货品种代码" />
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="单位"
|
|
|
- name="unitid">
|
|
|
- <a-select class="inlineFormSelect"
|
|
|
- style="width: 200px"
|
|
|
- v-model:value="formState.unitid"
|
|
|
- :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
- placeholder="请选择单位">
|
|
|
- <a-select-option v-for="item in unitList"
|
|
|
- :value="item.enumitemname"
|
|
|
- :key="item.enumitemname">
|
|
|
- {{item.enumdicname}}
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="备注"
|
|
|
- name="remark">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="formState.remark"
|
|
|
- style="width: 588px"
|
|
|
- placeholder="请输入备注" />
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>商品信息</legend>
|
|
|
- <a-row :gutter="24"
|
|
|
- class="dialogRowTitle">
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 商品
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 单位
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 标仓系数
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- 操作
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <template v-for="(domain, index) in formState.gldwrstandards"
|
|
|
- :key="domain.index + 'domain'">
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['gldwrstandards',index, 'wrstandardname', ]"
|
|
|
- :rules="rules.gldwrstandards.wrstandardname">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="domain.wrstandardname"
|
|
|
- placeholder="请输入商品"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['gldwrstandards',index,'unitid' ]"
|
|
|
- :rules="rules.gldwrstandards.unitid">
|
|
|
- <a-select class="inlineFormSelect"
|
|
|
- v-model:value="domain.unitid"
|
|
|
- :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
- placeholder="请选择单位">
|
|
|
- <a-select-option v-for="item in unitList"
|
|
|
- :value="item.enumitemname"
|
|
|
- :key="item.enumitemname">
|
|
|
- {{item.enumdicname}}
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['gldwrstandards',index,'convertfactor']"
|
|
|
- :rules="rules.gldwrstandards.convertfactor">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="domain.convertfactor"
|
|
|
- type="number"
|
|
|
- placeholder="请输入标仓系数"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6"
|
|
|
- class="tc">
|
|
|
- <a-button class="plusBtn"
|
|
|
- @click="deleteOne('gldwrstandards', index)"
|
|
|
- v-if="index > 0">
|
|
|
- <template #icon>
|
|
|
- <MinusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- <a-button class="minusBtn"
|
|
|
- @click="addOne('gldwrstandards')">
|
|
|
- <template #icon>
|
|
|
- <PlusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>品牌信息</legend>
|
|
|
- <a-row :gutter="24"
|
|
|
- class="dialogRowTitle dialogRowTitle2">
|
|
|
- <a-col :span="12">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 品牌
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <span>
|
|
|
- 操作
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <template v-for="(domain, index) in formState.glddgfactoryItems"
|
|
|
- :key="domain.index + 'domain'">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item :name="['glddgfactoryItems',index,'dgfactoryitemvalue']"
|
|
|
- :rules="rules.glddgfactoryItems.dgfactoryitemvalue">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="domain.dgfactoryitemvalue"
|
|
|
- placeholder="请输入品牌"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-button class="plusBtn"
|
|
|
- @click="deleteOne('glddgfactoryItems', index)"
|
|
|
- v-if="index > 0">
|
|
|
- <template #icon>
|
|
|
- <MinusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- <a-button class="minusBtn"
|
|
|
- @click="addOne('glddgfactoryItems')">
|
|
|
- <template #icon>
|
|
|
- <PlusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- <fieldset class="formFieldSet">
|
|
|
- <legend>套保品种信息</legend>
|
|
|
- <a-row :gutter="24"
|
|
|
- class="dialogRowTitle">
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 套保品种
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 单位
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- <span class="red">*</span>
|
|
|
- 套保系数
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <span>
|
|
|
- 操作
|
|
|
- </span>
|
|
|
- </a-col>
|
|
|
- <template v-for="(domain, index) in formState.wrsconvertdetails"
|
|
|
- :key="domain.index + 'domain'">
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['wrsconvertdetails',index,'middlegoodsid']"
|
|
|
- :rules="rules.wrsconvertdetails.middlegoodsid">
|
|
|
- <a-select class="inlineFormSelect"
|
|
|
- @change="middleChange(domain.middlegoodsid, domain)"
|
|
|
- v-model:value="domain.middlegoodsid"
|
|
|
- :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
- placeholder="请选择套保品种">
|
|
|
- <a-select-option v-for="item in goodsGroup"
|
|
|
- :value="item.goodsgroupid"
|
|
|
- :key="item.goodsgroupid">
|
|
|
- {{item.goodsgroupname}}
|
|
|
- </a-select-option>
|
|
|
- </a-select>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['wrsconvertdetails', index, 'unitidName']">
|
|
|
- <a-input class="dialogInput"
|
|
|
- readonly
|
|
|
- v-model:value="domain.unitidName"
|
|
|
- placeholder="选择套保品种后自动填入"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6">
|
|
|
- <a-form-item :name="['wrsconvertdetails', index, 'convertratio']"
|
|
|
- :rules="rules.wrsconvertdetails.convertratio">
|
|
|
- <a-input class="dialogInput"
|
|
|
- v-model:value="domain.convertratio"
|
|
|
- type="number"
|
|
|
- placeholder="请输入套保系数"></a-input>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="6"
|
|
|
- class="tc">
|
|
|
- <a-button class="plusBtn"
|
|
|
- @click="deleteOne('wrsconvertdetails', index)"
|
|
|
- v-if="index > 0">
|
|
|
- <template #icon>
|
|
|
- <MinusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- <a-button class="minusBtn"
|
|
|
- @click="addOne('wrsconvertdetails')">
|
|
|
- <template #icon>
|
|
|
- <PlusOutlined />
|
|
|
- </template>
|
|
|
- </a-button>
|
|
|
- </a-col>
|
|
|
- </template>
|
|
|
- </a-row>
|
|
|
- </fieldset>
|
|
|
- </a-form>
|
|
|
- </a-modal>
|
|
|
+ <!-- 新增现货品种 -->
|
|
|
+ <a-modal
|
|
|
+ class="commonModal addSpotVariety"
|
|
|
+ wrapClassName
|
|
|
+ title="新增现货品种"
|
|
|
+ v-model:visible="visible"
|
|
|
+ @cancel="closeAction"
|
|
|
+ centered
|
|
|
+ :maskClosable="false"
|
|
|
+ width="850px"
|
|
|
+ >
|
|
|
+ <template #footer>
|
|
|
+ <a-button key="submit" type="primary" :loading="loading" @click="submit">完成</a-button>
|
|
|
+ </template>
|
|
|
+ <a-form class="inlineForm" ref="formRef" :model="formState" :rules="rules">
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>基本信息</legend>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="现货品种名称" name="deliverygoodsname">
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="formState.deliverygoodsname"
|
|
|
+ style="width: 200px"
|
|
|
+ placeholder="请输入现货品种名称"
|
|
|
+ />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="现货品种代码" name="deliverygoodscode">
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ style="width: 200px"
|
|
|
+ v-model:value="formState.deliverygoodscode"
|
|
|
+ placeholder="请输入现货品种代码"
|
|
|
+ />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="单位" name="unitid">
|
|
|
+ <a-select
|
|
|
+ class="inlineFormSelect"
|
|
|
+ style="width: 200px"
|
|
|
+ v-model:value="formState.unitid"
|
|
|
+ :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
+ placeholder="请选择单位"
|
|
|
+ >
|
|
|
+ <a-select-option
|
|
|
+ v-for="item in unitList"
|
|
|
+ :value="item.enumitemname"
|
|
|
+ :key="item.enumitemname"
|
|
|
+ >{{item.enumdicname}}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="备注" name="remark">
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="formState.remark"
|
|
|
+ style="width: 588px"
|
|
|
+ placeholder="请输入备注"
|
|
|
+ />
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>商品信息</legend>
|
|
|
+ <a-row :gutter="24" class="dialogRowTitle">
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 商品
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 单位
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 标仓系数
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>操作</span>
|
|
|
+ </a-col>
|
|
|
+ <template
|
|
|
+ v-for="(domain, index) in formState.gldwrstandards"
|
|
|
+ :key="domain.index + 'domain'"
|
|
|
+ >
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item
|
|
|
+ :name="['gldwrstandards',index, 'wrstandardname', ]"
|
|
|
+ :rules="rules.gldwrstandards.wrstandardname"
|
|
|
+ >
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="domain.wrstandardname"
|
|
|
+ placeholder="请输入商品"
|
|
|
+ ></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item
|
|
|
+ :name="['gldwrstandards',index,'unitid' ]"
|
|
|
+ :rules="rules.gldwrstandards.unitid"
|
|
|
+ >
|
|
|
+ <a-select
|
|
|
+ class="inlineFormSelect"
|
|
|
+ v-model:value="domain.unitid"
|
|
|
+ :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
+ placeholder="请选择单位"
|
|
|
+ >
|
|
|
+ <a-select-option
|
|
|
+ v-for="item in unitList"
|
|
|
+ :value="item.enumitemname"
|
|
|
+ :key="item.enumitemname"
|
|
|
+ >{{item.enumdicname}}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item
|
|
|
+ :name="['gldwrstandards',index,'convertfactor']"
|
|
|
+ :rules="rules.gldwrstandards.convertfactor"
|
|
|
+ >
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="domain.convertfactor"
|
|
|
+ type="number"
|
|
|
+ placeholder="请输入标仓系数"
|
|
|
+ ></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6" class="tc">
|
|
|
+ <a-button
|
|
|
+ class="plusBtn"
|
|
|
+ @click="deleteOne('gldwrstandards', index)"
|
|
|
+ v-if="index > 0"
|
|
|
+ >
|
|
|
+ <template #icon>
|
|
|
+ <MinusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ <a-button class="minusBtn" @click="addOne('gldwrstandards')">
|
|
|
+ <template #icon>
|
|
|
+ <PlusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
+ </template>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>品牌信息</legend>
|
|
|
+ <a-row :gutter="24" class="dialogRowTitle dialogRowTitle2">
|
|
|
+ <a-col :span="12">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 品牌
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <span>操作</span>
|
|
|
+ </a-col>
|
|
|
+ <template
|
|
|
+ v-for="(domain, index) in formState.glddgfactoryItems"
|
|
|
+ :key="domain.index + 'domain'"
|
|
|
+ >
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item
|
|
|
+ :name="['glddgfactoryItems',index,'dgfactoryitemvalue']"
|
|
|
+ :rules="rules.glddgfactoryItems.dgfactoryitemvalue"
|
|
|
+ >
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="domain.dgfactoryitemvalue"
|
|
|
+ placeholder="请输入品牌"
|
|
|
+ ></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-button
|
|
|
+ class="plusBtn"
|
|
|
+ @click="deleteOne('glddgfactoryItems', index)"
|
|
|
+ v-if="index > 0"
|
|
|
+ >
|
|
|
+ <template #icon>
|
|
|
+ <MinusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ <a-button class="minusBtn" @click="addOne('glddgfactoryItems')">
|
|
|
+ <template #icon>
|
|
|
+ <PlusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
+ </template>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ <fieldset class="formFieldSet">
|
|
|
+ <legend>套保品种信息</legend>
|
|
|
+ <a-row :gutter="24" class="dialogRowTitle">
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 套保品种
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 单位
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>
|
|
|
+ <span class="red">*</span>
|
|
|
+ 套保系数
|
|
|
+ </span>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <span>操作</span>
|
|
|
+ </a-col>
|
|
|
+ <template
|
|
|
+ v-for="(domain, index) in formState.wrsconvertdetails"
|
|
|
+ :key="domain.index + 'domain'"
|
|
|
+ >
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item
|
|
|
+ :name="['wrsconvertdetails',index,'middlegoodsid']"
|
|
|
+ :rules="rules.wrsconvertdetails.middlegoodsid"
|
|
|
+ >
|
|
|
+ <a-select
|
|
|
+ class="inlineFormSelect"
|
|
|
+ @change="middleChange(domain.middlegoodsid, domain)"
|
|
|
+ v-model:value="domain.middlegoodsid"
|
|
|
+ :getPopupContainer="(triggerNode) => triggerNode.parentNode"
|
|
|
+ placeholder="请选择套保品种"
|
|
|
+ >
|
|
|
+ <a-select-option
|
|
|
+ v-for="item in goodsGroup"
|
|
|
+ :value="item.goodsgroupid"
|
|
|
+ :key="item.goodsgroupid"
|
|
|
+ >{{item.goodsgroupname}}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item :name="['wrsconvertdetails', index, 'unitidName']">
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ readonly
|
|
|
+ v-model:value="domain.unitidName"
|
|
|
+ placeholder="选择套保品种后自动填入"
|
|
|
+ ></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item
|
|
|
+ :name="['wrsconvertdetails', index, 'convertratio']"
|
|
|
+ :rules="rules.wrsconvertdetails.convertratio"
|
|
|
+ >
|
|
|
+ <a-input
|
|
|
+ class="dialogInput"
|
|
|
+ v-model:value="domain.convertratio"
|
|
|
+ type="number"
|
|
|
+ placeholder="请输入套保系数"
|
|
|
+ ></a-input>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6" class="tc">
|
|
|
+ <a-button
|
|
|
+ class="plusBtn"
|
|
|
+ @click="deleteOne('wrsconvertdetails', index)"
|
|
|
+ v-if="index > 0"
|
|
|
+ >
|
|
|
+ <template #icon>
|
|
|
+ <MinusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ <a-button class="minusBtn" @click="addOne('wrsconvertdetails')">
|
|
|
+ <template #icon>
|
|
|
+ <PlusOutlined />
|
|
|
+ </template>
|
|
|
+ </a-button>
|
|
|
+ </a-col>
|
|
|
+ </template>
|
|
|
+ </a-row>
|
|
|
+ </fieldset>
|
|
|
+ </a-form>
|
|
|
+ </a-modal>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -437,8 +461,8 @@ export default defineComponent({
|
|
|
color: @m-white0;
|
|
|
.rounded-corners(3px);
|
|
|
&:hover {
|
|
|
- background: rgba(@m-blue0, 0);
|
|
|
- color: rgba(@m-white0, 0.8);
|
|
|
+ background: @m-blue0-hover;
|
|
|
+ color: @m-white0-hover;
|
|
|
}
|
|
|
}
|
|
|
.look {
|
|
|
@@ -468,9 +492,9 @@ export default defineComponent({
|
|
|
}
|
|
|
&:hover,
|
|
|
&:focus {
|
|
|
- background: rgba(@m-blue0, 0.8);
|
|
|
+ background: @m-blue0-hover;
|
|
|
.anticon {
|
|
|
- color: rgba(@m-white0, 0.8);
|
|
|
+ color: @m-white0-hover;
|
|
|
}
|
|
|
}
|
|
|
}
|