You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.7 KiB
76 lines
1.7 KiB
<template> |
|
<view class="add"> |
|
<!-- 设备信息 --> |
|
<view class="main"> |
|
<u--form labelPosition="left" labelAlign="center" :model="untread" ref="form1"> |
|
<u-form-item label="设备名称" prop="equipName" borderBottom labelWidth="auto" ref="item1"> |
|
<u-text :text="untread.equipName"></u-text> |
|
</u-form-item> |
|
<u-form-item label="设备编号" prop="equipNo" labelWidth="auto" borderBottom> |
|
<u-text :text="untread.equipNo"></u-text> |
|
</u-form-item> |
|
<u-form-item label="退回客户" prop="customerName" labelWidth="auto" borderBottom> |
|
<u-text :text="untread.customerName"></u-text> |
|
</u-form-item> |
|
<u-form-item label="退回数量" prop="returnNum" labelWidth="auto" borderBottom> |
|
<u-text :text="untread.returnNum"></u-text> |
|
</u-form-item> |
|
<u-form-item label="退回日期" prop="untreadTime" labelWidth="auto" borderBottom> |
|
<u-text :text="untread.untreadTime"></u-text> |
|
</u-form-item> |
|
<u-form-item label="退回原因" prop="damageReason" labelWidth="auto" borderBottom> |
|
<u-text :text="untread.untreadReason"></u-text> |
|
</u-form-item> |
|
|
|
</u--form> |
|
</view> |
|
|
|
</view> |
|
</template> |
|
|
|
<script> |
|
export default { |
|
|
|
data() { |
|
return { |
|
untread: {}, |
|
} |
|
}, |
|
|
|
onLoad: function(options) { |
|
if (options.form) { |
|
let data = JSON.parse(options.form); |
|
this.untread = data |
|
|
|
} |
|
}, |
|
onShow: function() { |
|
|
|
}, |
|
created() { |
|
}, |
|
methods: { |
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss"> |
|
|
|
.add { |
|
background: #f6f6f6; |
|
padding: 2.667vw; |
|
height: 95vh; |
|
|
|
.main { |
|
background: #ffffff; |
|
margin-bottom: 2.667vw; |
|
padding: 2vw; |
|
border-radius: 8px; |
|
.c-status { |
|
display: flex; |
|
} |
|
|
|
|
|
} |
|
} |
|
</style>
|
|
|