Browse Source

库存 出库 修改领用人表单判断

master
邓宏 1 year ago
parent
commit
e3b0a7ecfe
  1. 2
      pages/stock/list.vue

2
pages/stock/list.vue

@ -166,7 +166,7 @@
</d-form>
<d-form :label="`${({in:'入',out:'出'})[mode]}库类型`" field="inOutType" required type="select" :columns="inOutType.list" :value="inOutType.value" @select="inOutType.value=$event.map(v=>v.value);formData.inOutType=inOutType.value.slice(-1)[0]"/>
<!-- 出库类型为领用出库 -->
<block v-if="formData.inOutType=='out01'">
<block v-if="formData.inOutType=='out01' && formData.substanceType==1">
<d-form label="领用人" type="select" :columns="[reciveuser]" :value="[formData.reciveUserId]" @select="formData.reciveUserId=$event[0].value;formData.reciveUser=$event[0].label" required field="reciveUserId"/>
</block>
<!-- 农资出库出库类型为损坏出库 -->

Loading…
Cancel
Save