|
@@ -13,10 +13,20 @@
|
|
|
<a-input v-model="model.wxCompany" placeholder="请输入外协单位" ></a-input>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="24">
|
|
|
+ <!-- <a-col :span="24">
|
|
|
<a-form-model-item label="单价" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="danjia">
|
|
|
<a-input-number v-model="model.danjia" :min="0" placeholder="请输入单价" style="width: 100%;"/>
|
|
|
</a-form-model-item>
|
|
|
+ </a-col> -->
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-model-item label="单价(最大值)" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="maxPrice">
|
|
|
+ <a-input-number v-model="model.maxPrice" :min="0" placeholder="请输入单价(最大值)" style="width: 100%;"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-model-item label="单价(最小值)" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="minPrice">
|
|
|
+ <a-input-number v-model="model.minPrice" :min="0" placeholder="请输入单价(最小值)" style="width: 100%;"/>
|
|
|
+ </a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :span="24">
|
|
|
<a-form-model-item label="计量单位" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="unit">
|
|
@@ -68,6 +78,15 @@
|
|
|
wxProject: [
|
|
|
{ required: true, message: '请输入外协项目!'},
|
|
|
],
|
|
|
+ wxCompany: [
|
|
|
+ { required: true, message: '请输入外协单位!'},
|
|
|
+ ],
|
|
|
+ maxPrice: [
|
|
|
+ { required: true, message: '请输入单价(最大值)!'},
|
|
|
+ ],
|
|
|
+ minPrice: [
|
|
|
+ { required: true, message: '请输入单价(最小值)!'},
|
|
|
+ ],
|
|
|
danjia: [
|
|
|
{ required: true, message: '请输入单价!'},
|
|
|
{ pattern: /^(([1-9][0-9]*)|([0]\.\d{0,2}|[1-9][0-9]*\.\d{0,2}))$/, message: '请输入正确的金额!'},
|