Handy_Cao 2 éve
szülő
commit
2471725dbf

+ 2 - 2
src/packages/mobile/views/order/performance/components/modify/Index.vue

@@ -9,9 +9,9 @@
                 <CellGroup title="履约信息">
                     <Field name="Contract" label="联络信息" type="textarea" autosize :maxlength="50" v-model="Contract"
                         placeholder="请输入联络信息" :rules="formRules.Contract" />
-                    <Field name="Receive" label="收货地址" type="textarea" autosize v-model="Receive" :rules="formRules.Receive"
+                    <Field name="Receive" v-if="selectedRow.buyorsell === 0" label="收货地址" type="textarea" autosize v-model="Receive" :rules="formRules.Receive"
                         placeholder="请输入收货地址" right-icon="add-o" @click-right-icon="showContact = true" />
-                    <Field name="Receipt" label="发票信息" type="textarea" autosize v-model="Receipt" placeholder="必填"
+                    <Field name="Receipt" v-if="selectedRow.buyorsell === 0" label="发票信息" type="textarea" autosize v-model="Receipt" placeholder="必填"
                         :rules="formRules.Receipt" right-icon="add-o" @click-right-icon="showReceipt = true" />
                 </CellGroup>
             </Form>