text:物品
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
<u-icon name="arrow-down" size="28" color="#333333" :custom-style="{marginLeft:'8px'}"></u-icon>
|
<u-icon name="arrow-down" size="28" color="#333333" :custom-style="{marginLeft:'8px'}"></u-icon>
|
||||||
</span>
|
</span>
|
||||||
<div class="total">
|
<div class="total">
|
||||||
共<em>{{ list.total }}</em>个农产品
|
共<em>{{ list.total }}</em>个物品
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div class="card-list">
|
<div class="card-list">
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="form">
|
<div class="form">
|
||||||
<em>*</em>
|
<em>*</em>
|
||||||
<label>农产品类型</label>
|
<label>物品类型</label>
|
||||||
<AiSelect class="right" v-model="form.type" dict="agriculturalType"/>
|
<AiSelect class="right" v-model="form.type" dict="agriculturalType"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -90,7 +90,7 @@ export default {
|
|||||||
submit() {
|
submit() {
|
||||||
if (!!!this.form.title) return this.$u.toast("请输入标题");
|
if (!!!this.form.title) return this.$u.toast("请输入标题");
|
||||||
if (!!!this.form.content) return this.$u.toast("请输入详细描述");
|
if (!!!this.form.content) return this.$u.toast("请输入详细描述");
|
||||||
if (!!!this.form.type) return this.$u.toast("请选择农产品类型");
|
if (!!!this.form.type) return this.$u.toast("请选择物品类型");
|
||||||
if (!!!this.form.phone) return this.$u.toast("请输入联系方式");
|
if (!!!this.form.phone) return this.$u.toast("请输入联系方式");
|
||||||
if (this.flag) return
|
if (this.flag) return
|
||||||
this.flag = true
|
this.flag = true
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "agDetail",
|
name: "agDetail",
|
||||||
appName: "农产品详情",
|
appName: "物品详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: null,
|
id: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user