Commit de349028 authored by 罗成兵's avatar 罗成兵

分配记录

parent 91fad3e5
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
:wrapperCol="{span: 12}"> :wrapperCol="{span: 12}">
<a-textarea <a-textarea
:rows="5" :rows="5"
v-toRemarkNum :maxLength="200"
v-model="formData.remarks" v-model="formData.remarks"
placeholder="请输入备注(最多可输入200字)"></a-textarea> placeholder="请输入备注(最多可输入200字)"></a-textarea>
</a-form-model-item> </a-form-model-item>
...@@ -128,15 +128,17 @@ ...@@ -128,15 +128,17 @@
width: 120px; width: 120px;
} }
} }
.ready_stock { .ready_stock {
border-radius: 2px; border-radius: 2px;
width: 62px; width: 62px;
text-align: center; text-align: center;
padding: 2px 8px; padding: 2px 8px;
background:#FFF7E6; background: #FFF7E6;
border: 1px solid #FFD591; border: 1px solid #FFD591;
color: #FA8C16 color: #FA8C16
} }
.in_stock { .in_stock {
border-radius: 2px; border-radius: 2px;
width: 62px; width: 62px;
......
...@@ -74,7 +74,8 @@ ...@@ -74,7 +74,8 @@
{{detailInfo.parentDate || '--'}} {{detailInfo.parentDate || '--'}}
</a-descriptions-item> </a-descriptions-item>
<a-descriptions-item label="上传照片" v-if="routerParams.source != 2"> <a-descriptions-item label="上传照片" v-if="routerParams.source != 2">
<img width="120px" height="120px" :src="detailInfo.consentUrl"/> <img style="cursor: pointer" width="120px" height="120px" :src="detailInfo.consentUrl"
@click="showVisible=true"/>
</a-descriptions-item> </a-descriptions-item>
</a-descriptions> </a-descriptions>
<div class="card_info"> <div class="card_info">
...@@ -134,6 +135,14 @@ ...@@ -134,6 +135,14 @@
</div> </div>
</a-card> </a-card>
</a-spin> </a-spin>
<a-modal title="查看知情同意书" :visible="showVisible" @cancel="showVisible = false" @ok="showVisible=false"
loading="true"
:maskClosable="false"
width="800px">
<div>
<img style="width: 100%" :src="detailInfo.consentUrl" height="100%"/>
</div>
</a-modal>
</div> </div>
</template> </template>
<script> <script>
...@@ -175,7 +184,8 @@ ...@@ -175,7 +184,8 @@
detailInfo: {}, detailInfo: {},
spinning: false, spinning: false,
bookHtmlContent: {content: undefined}, bookHtmlContent: {content: undefined},
columns columns,
showVisible: false
} }
}, },
created() { created() {
...@@ -206,7 +216,7 @@ ...@@ -206,7 +216,7 @@
goBack() { goBack() {
this.$router.push("/Home/folviteDistribution"); this.$router.push("/Home/folviteDistribution");
closedDetail('/inStock/inStockManageDetail', '/Home/folviteDistribution') closedDetail('/inStock/inStockManageDetail', '/Home/folviteDistribution')
} },
}, },
} }
</script> </script>
...@@ -228,22 +238,26 @@ ...@@ -228,22 +238,26 @@
width: 135px; width: 135px;
} }
} }
.card_info{
.ant-card-head-title{ .card_info {
padding: 9px 0px!important; .ant-card-head-title {
padding: 9px 0px !important;
} }
.ant-card-head { .ant-card-head {
min-height: 32px; min-height: 32px;
} }
.ant-card-bordered { .ant-card-bordered {
border-top: 0px!important; border-top: 0px !important;
border-bottom: 0px!important; border-bottom: 0px !important;
} }
} }
.remark_info { .remark_info {
.ant-descriptions-view { .ant-descriptions-view {
.ant-descriptions-bordered .ant-descriptions-view { .ant-descriptions-bordered .ant-descriptions-view {
border: 0px!important; border: 0px !important;
} }
} }
} }
......
...@@ -14,7 +14,6 @@ Vue.directive('toRemarkNum', { ...@@ -14,7 +14,6 @@ Vue.directive('toRemarkNum', {
} }
}) })
function checkValue(el, defu) { function checkValue(el, defu) {
debugger
let len = el.value.length let len = el.value.length
if (el.value && len > defu) { if (el.value && len > defu) {
el.value = el.value.substring(0, defu); el.value = el.value.substring(0, defu);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment