Browse Source

修改样式

master
邓宏 2 years ago
parent
commit
08569a8163
  1. 4
      pages/massif/add_transaction.vue
  2. 1
      pages/stock/record.vue

4
pages/massif/add_transaction.vue

@ -71,6 +71,7 @@
<d-form style="width:max-content;margin-top:40rpx;" type="select" placeholder=" " @select="formData.packUnit=$event[0].value" :columns="[packWeightList]" :value="[formData.packUnit]"/>
</view>
<d-form label="交易数量" disabled type="digit" :suffix="formData.packUnit" :value="tradeNum"/>
<d-form label="交易日期" type="calendar" v-model="formData.tradeTime"/>
<d-form label="买方名称" required field="buyerName" btnIcon="plant-sousuo" :btnFun="searchBuy" :value="formData.buyerName" @input="formData.buyerName=$event"/>
<d-form label="买方类型" required field="buyerType" type="select" :columns="[buyerType.list]" :value="buyerType.value" @select="buyerType.value=$event.map(v=>v.value);formData.buyerType=buyerType.value[1]"/>
<d-form label="收货地址" required field="buyerAddress" type="textarea" :value="formData.buyerAddress" @input="formData.buyerAddress=$event"/>
@ -95,6 +96,7 @@ export default {
specification:"",
packUnit:"",
tradeNum:"",
tradeTime:"",
buyerName:"",
buyerType:"",
buyerAddress:"",
@ -106,7 +108,7 @@ export default {
else call()
},trigger:["blur","change"]},
specification:{required:true,type:'number',message:"规格必填!",trigger:["blur","change"]},
// tradeNum:{required:true,message:"",type:"number"},
tradeTime:{required:true,message:"请选择交易日期!",trigger:['blur','change']},
buyerName:{required:true,message:"买方名称必填!",trigger:["blur","change"]},
buyerType:{required:true,message:"交易类型必选!",trigger:["blur","change"]},
buyerAddress:{required:true,message:"收货地址必填!",trigger:["blur","change"]},

1
pages/stock/record.vue

@ -62,6 +62,7 @@
font-weight: bold;
display:flex;
align-items: center;
font-size:28rpx;
&.nz{
&:after{
content:"("attr(data-unit)")";

Loading…
Cancel
Save