|
|
@ -1,12 +1,12 @@ |
|
|
|
<!-- 到货验货任务拆分策略弹出层 --> |
|
|
|
<template> |
|
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible"> |
|
|
|
<div class="p-20px m--10px" style="max-height: 500px;overflow-y: auto;"> |
|
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible" style="width: 700px;"> |
|
|
|
<div class="p-20px m--10px" style="max-height: 50vh;overflow-y: auto;"> |
|
|
|
<!-- 规则 --> |
|
|
|
<el-form ref="formRef" :model="formData" :rules="rules" label-width="140px" label-position="left"> |
|
|
|
<div class="item"> |
|
|
|
<div class="title">规则</div> |
|
|
|
<el-row> |
|
|
|
<el-row gutter="10"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="代码" prop="strategyCode"> |
|
|
|
<el-input v-model="formData.strategyCode" placeholder="请输入代码" clearable disabled /> |
|
|
@ -37,7 +37,7 @@ |
|
|
|
<!-- 规则条件 --> |
|
|
|
<div class="item mt-20px"> |
|
|
|
<div class="title">规则条件</div> |
|
|
|
<el-row> |
|
|
|
<el-row gutter="10"> |
|
|
|
<el-col :span="24" v-for="(item, index) in formData.condition" :key="index"> |
|
|
|
<!-- 供应商类型 --> |
|
|
|
<el-form-item v-if="item.ParamCode == 'SupplierType'" label="供应商类型" class="flex-top err-120"> |
|
|
@ -67,7 +67,7 @@ |
|
|
|
<!-- 规则配置 --> |
|
|
|
<div class="item mt-20px"> |
|
|
|
<div class="title">规则配置</div> |
|
|
|
<el-row> |
|
|
|
<el-row gutter="10"> |
|
|
|
<el-col :span="24" v-for="(item, index) in formData.configuration" :key="index"> |
|
|
|
<!-- 按零件拆分 --> |
|
|
|
<el-form-item v-if="item.ParamCode == 'ByItem'" label="按零件拆分"> |
|
|
|