Commit e96329fe authored by jingnan's avatar jingnan 👀

验收单样式修改

parent 758429c4
......@@ -6,7 +6,26 @@
*/
<template>
<div class="equipmen-checkNo">
<dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" />
<div class="head" style="margin-bottom: 12px;">
<!-- <div>
<el-popover
placement="bottom"
width="800"
trigger="click"
>
<upload-files ref="chemical" v-model="form.chemicalObjFileLinks" :view-or-edit="'view'" />
<el-button slot="reference" size="medium" type="primary">查看附件</el-button>
</el-popover>
</div> -->
<div v-if=" !allDisabled" class="right-button">
<el-button type="primary" size="medium" @click="onSubmit">保存</el-button>
</div>
<div class="right-button">
<el-button type="primary" size="medium" @click="savePDF">下载</el-button>
</div>
<!-- <dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" /> -->
</div>
<!-- <dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" /> -->
<el-form ref="form" :model="form" :rules="formRules">
<el-col :span="8">
<el-form-item label-width="100px" label="验收单号" prop="testNo">
......@@ -400,12 +419,13 @@ export default {
</script>
<style lang='scss'>
.equipmen-checkNo {
.el-select {
// width: 220px
}
.el-input {
// width: 220px
.head{
display: flex;
justify-content: flex-end;
align-items: center;
.right-button {
margin-left:10px;
}
}
}
</style>
......@@ -17,12 +17,12 @@
<el-button slot="reference" size="medium" type="primary">查看附件</el-button>
</el-popover>
</div>
<div class="right-button">
<el-button type="primary" size="medium" @click="savePDF">下载</el-button>
</div>
<div v-if=" !allDisabled" class="right-button">
<el-button type="primary" size="medium" @click="onSubmit">保存</el-button>
</div>
<div class="right-button">
<el-button type="primary" size="medium" @click="savePDF">下载</el-button>
</div>
<!-- <dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" /> -->
</div>
<el-form ref="form" :model="form" class="checkNo-container" :rules="formRules">
......@@ -38,7 +38,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="封装期" label-width="80px">
<el-form-item label="封装期" label-width="100px">
<el-date-picker
v-model="form.maskPeriod"
clearable
......@@ -50,7 +50,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="保质期/贮存期" label-width="130px">
<el-form-item label="保质期/贮存期" label-width="110px">
<el-date-picker
v-model="form.qualityPeriod"
clearable
......@@ -155,7 +155,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="4">
<el-col v-if="form.isSizeCheck" :span="4">
<div class="radio-input">
<el-form-item label="抽样数" label-width="60px">
<el-input-number v-model="form.sampleAmount" :disabled="allDisabled" clearable :min="0" placeholder="抽样数量" />
</el-form-item>
</div>
</el-col>
<el-col :span="5">
<div class="radio-input">
<el-form-item label="不合格数" label-width="80px" prop="noPassAmount">
<el-input-number
......@@ -169,19 +176,12 @@
</el-form-item>
</div>
</el-col>
<el-col v-if="form.isSizeCheck" :span="8">
<div class="radio-input">
<el-form-item label="抽样数" label-width="130px">
<el-input-number v-model="form.sampleAmount" :disabled="allDisabled" clearable :min="0" placeholder="抽样数量" />
</el-form-item>
</div>
</el-col>
<el-col :span="8">
<el-form-item label="检验依据" label-width="70px">
<el-input v-model="form.checkBill" :disabled="allDisabled" clearable placeholder="请输入检验依据" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-col :span="7">
<el-form-item label="备注" label-width="70px">
<el-input v-model="form.remark" :disabled="allDisabled" clearable placeholder="备注" />
</el-form-item>
......@@ -985,7 +985,7 @@ export default {
.material-checkNo {
.head{
display: flex;
justify-content: flex-start;
justify-content: flex-end;
align-items: center;
.right-button {
margin-left:10px;
......
......@@ -6,7 +6,16 @@
*/
<template>
<div class="outSource-checkNo">
<dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" />
<div class="head" style="margin-bottom: 12px;">
<div v-if=" !allDisabled" class="right-button">
<el-button type="primary" size="medium" @click="onSubmit">保存</el-button>
</div>
<div class="right-button">
<el-button type="primary" size="medium" @click="savePDF">下载</el-button>
</div>
<!-- <dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" /> -->
</div>
<!-- <dee-tools :tools="tools" mode="normal" style="flex-direction: row-reverse;margin-bottom: 12px;" /> -->
<el-form ref="form" :model="form" class="checkNo-container" :rules="formRules">
<el-col :span="8">
<el-form-item label="验收单号" label-width="100px" prop="testNo">
......@@ -364,11 +373,13 @@ export default {
</script>
<style lang='scss'>
.outSource-checkNo{
// .el-select {
// width: 220px
// }
// .el-input {
// width: 220px
// }
.head{
display: flex;
justify-content: flex-end;
align-items: center;
.right-button {
margin-left:10px;
}
}
}
</style>
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