|
|
|
@ -26,7 +26,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="资产类型" prop="asset_type_id" > |
|
|
|
<p class="listing_tips">请确认或修改资产类型</p> |
|
|
|
<el-cascader :show-all-levels="false" filterable :props="props" :options="options" class="serial_name" v-model="ruleForm.asset_type_id"></el-cascader> |
|
|
|
<el-cascader filterable :props="props" :options="options" class="serial_name" v-model="ruleForm.asset_type_id"></el-cascader> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="资产所在地" prop="province"> |
|
|
|
<el-select placeholder="选择具体省份" clearable filterable v-model="ruleForm.province" class="select_city" @change="changeDate(0)"> |
|
|
|
@ -86,10 +86,10 @@ |
|
|
|
<el-form-item label="挂牌时长" prop="cartellino_time_id" > |
|
|
|
<el-select placeholder="选择挂牌时长" clearable filterable v-model="ruleForm.cartellino_time_id" class="select_city1"> |
|
|
|
<el-option |
|
|
|
v-for="item in xuanzeguojia" |
|
|
|
v-for="item in price" |
|
|
|
:key="item.id" |
|
|
|
:label="item.value" |
|
|
|
:value="item.value"></el-option> |
|
|
|
:label="item.name" |
|
|
|
:value="item.id"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<div class="listing_title">交易信息</div> |
|
|
|
@ -98,26 +98,26 @@ |
|
|
|
<el-radio v-model="ruleForm.cartellino_type" :label="2">拍卖</el-radio> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="资产单价" prop="price" v-if="ruleForm.cartellino_type==1"> |
|
|
|
<el-input v-model="ruleForm.price" placeholder="请输入单个资产的价格" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.price" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入单个资产的价格" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<div class="listing_flex"> |
|
|
|
<el-form-item label="起拍单价" prop="start_auction_money" v-if="ruleForm.cartellino_type==2"> |
|
|
|
<el-input v-model="ruleForm.start_auction_money" placeholder="请输入起拍单价" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.start_auction_money" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入起拍单价" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="竞价金额" prop="bidding_money" v-if="ruleForm.cartellino_type==2"> |
|
|
|
<el-input v-model="ruleForm.bidding_money" placeholder="请输入单次竞价时需要增加的金额" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.bidding_money" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入单次竞价时需要增加的金额" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
<div class="listing_flex"> |
|
|
|
<el-form-item label="资产单位" prop="asset_unit" > |
|
|
|
<el-input v-model="ruleForm.asset_unit" placeholder="请输入单个资产单位的量词" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.asset_unit" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入单个资产单位的量词" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="挂牌数量" prop="count"> |
|
|
|
<el-input v-model="ruleForm.count" placeholder="请输入需要挂牌资产的数量" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.count" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入需要挂牌资产的数量" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
<el-form-item label="起购数量" prop="pay_count"> |
|
|
|
<el-input v-model="ruleForm.pay_count" placeholder="请输入购买时单次至少购买数量" class="listing_input"></el-input> |
|
|
|
<el-input v-model="ruleForm.pay_count" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入购买时单次至少购买数量" class="listing_input"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="付款方式" prop="pay_mode" > |
|
|
|
<el-radio v-model="ruleForm.pay_mode" :label="1">网银支付</el-radio> |
|
|
|
@ -160,15 +160,15 @@ export default { |
|
|
|
}, |
|
|
|
options:[], |
|
|
|
props: { |
|
|
|
multiple: true, |
|
|
|
value:'id', |
|
|
|
label:'name', |
|
|
|
leaf:'is_son', |
|
|
|
emitPath:false |
|
|
|
}, |
|
|
|
province:[], |
|
|
|
city:[], |
|
|
|
area:[], |
|
|
|
xuanzeguojia:[], |
|
|
|
price:[], |
|
|
|
ruleForm:{ |
|
|
|
serial_name:'', |
|
|
|
serial_img:[], |
|
|
|
@ -268,6 +268,7 @@ export default { |
|
|
|
getPrice().then(res => { |
|
|
|
console.info(res) |
|
|
|
if(res.code==100){ |
|
|
|
this.price=res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
@ -318,10 +319,16 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
submit(){ |
|
|
|
console.info(this.ruleForm) |
|
|
|
this.$refs["ruleForm1"].validate((valid) => { |
|
|
|
if(valid){ |
|
|
|
cartellino(this.ruleForm).then(res=>{ |
|
|
|
|
|
|
|
console.info(res) |
|
|
|
if(res.code==100){ |
|
|
|
this.$message.success('上传成功!请等待审核~'); |
|
|
|
}else{ |
|
|
|
this.$message.error(res.msg); |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
|