Browse Source

界面优化

master
孙家正 1 year ago
parent
commit
d7dc76fd0f
  1. 1
      pages/massif/plant_plan.vue
  2. 2
      pages/purchase/record.vue
  3. 6
      pages/stock/list.vue
  4. 2
      pages/stock/mana.vue

1
pages/massif/plant_plan.vue

@ -55,6 +55,7 @@ export default {
varietyName:"",
plantType:"",
plantArea:"",
estimateOutput:"",
startTime:"",
harvestTime:"",
images:[],

2
pages/purchase/record.vue

@ -97,7 +97,7 @@
<text>审核部门{{v.auditDepart}}</text>
<text v-if="v.applicantStatus ==='1' || v.applicantStatus ==='5'" class="over">意见{{v.reason}}</text>
</view>
<text class="type" :style="{'--bg':({1:'#EE263A',2:'#FFCB69',3:'#FFCB69',4:'#FFCB69',5:'#00ff00'})[v.applicantStatus]}">{{({1:"审核未通过",2:"待审核",3:"待审核",4:"审核",5:"审核通过"})[v.applicantStatus]}}</text>
<text class="type" :style="{'--bg':({1:'#EE263A',2:'#FFCB69',3:'#FFCB69',4:'#FFCB69',5:'rgb(16, 193, 118)'})[v.applicantStatus]}">{{({1:"审核未通过",2:"待审核",3:"待审核",4:"待审核",5:"审核通过"})[v.applicantStatus]}}</text>
</view>
</view>
<u-empty :show="list.length<=0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/>

6
pages/stock/list.vue

@ -171,14 +171,14 @@
</block>
<!-- 农资出库出库类型为损坏出库 -->
<block v-if="formData.substanceType==1&&formData.inOutType=='out02'">
<d-form label="采购单价" type='digit' v-model="formData.price" required field="price"/>
<!-- <d-form label="采购单价" type='digit' v-model="formData.price" required field="price"/> -->
<d-form label="处理方式" type="select" :columns="[processMode]" :value="[formData.processMode]" @select="formData.processMode=$event[0].value" required field="processMode"/>
</block>
<!-- 农产品出库 出库类型为损坏出库-->
<block v-else-if="formData.substanceType==2&&formData.inOutType=='out03'">
<d-form label="损坏原因" type="select" :columns="[damageReason]" :value="formData.damageReason" @select="formData.damageReason=$event[0].value" required field="damageReason"/>
<d-form label="折价率" type="digit" v-model="formData.rateDiscount" required field="rateDiscount"/>
<d-form label="金额" type="digit" v-model="formData.amount" required field="amount"/>
<d-form label="折价率(%)" type="digit" v-model="formData.rateDiscount" required field="rateDiscount"/>
<d-form label="金额(元)" type="digit" v-model="formData.amount" required field="amount"/>
</block>
<d-form :label="`${({in:'入',out:'出'})[mode]}库批次号`" field="inOutBatchNo" required :disabled="formData.substanceType==2" :value="formData.inOutBatchNo" @input="formData.inOutBatchNo=$event" :btnText="formData.substanceType==1?'生成':''" :btnFun="()=>this.formData.inOutBatchNo=`${({in:'RK',out:'CK'})[this.mode]}${new Date().format('yyyyMMdd')}${new Date().getTime()}`"/>
<d-form :label="({1:`${({in:'入',out:'出'})[mode]}库数量`,2:'重量'})[formData.substanceType]" field="number" required :suffix="number.suffix" :value="formData.number" @input="formData.number=$event" type="digit"/>

2
pages/stock/mana.vue

@ -170,7 +170,7 @@
<view class="num">
<text class="detailType">{{v.detailType}}</text>
<text class="warehouse over">{{v.wareHouseName}}</text>
<view class="btns" v-if="isWareMana">
<view class="btns">
<button class="cu-btn" :class="v.equivalentInventory>0?'out':'bg-gray'" @click="v.equivalentInventory>0 && toList('out',v)">出库</button>
</view>
</view>

Loading…
Cancel
Save