|
@@ -1,63 +1,106 @@
|
|
|
<template>
|
|
|
- <div class="prep-materials" style="margin-top: 3%">
|
|
|
- <el-row>
|
|
|
- <el-col :span="24" class="header">xxxx公司2024-01组试验备料单</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row class="details">
|
|
|
- <el-col :span="6">组编码:2024-01</el-col>
|
|
|
- <el-col :span="6">创建日期:xxxx年xx月xx日</el-col>
|
|
|
- <el-col :span="6">项目结束日期:xxxx年xx月xx日</el-col>
|
|
|
- <el-col :span="6">项目组重复:3次</el-col>
|
|
|
- </el-row>
|
|
|
- <el-table :data="properties" border style="width: 100%">
|
|
|
- <el-table-column fixed prop="property" label="序号" width="180"></el-table-column>
|
|
|
- <el-table-column
|
|
|
- v-for="(product, index) in products"
|
|
|
- :key="index"
|
|
|
- :prop="`value${index}`"
|
|
|
- :label="product['序号']">
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-form>
|
|
|
- <el-form-item label="单品备料/份:">
|
|
|
- <el-input v-model="materialsAmount" placeholder="请输入备料量"></el-input>
|
|
|
- <el-select v-model="selectedUnit" placeholder="请选择单位">
|
|
|
- <el-option label="粒" value="粒"></el-option>
|
|
|
- <el-option label="袋" value="袋"></el-option>
|
|
|
- <el-option label="克" value="克"></el-option>
|
|
|
- <el-option label="公斤" value="公斤"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="辅助材料:">
|
|
|
- <el-input v-model="auxiliaryMaterial" placeholder="请输入辅助材料"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- <el-divider></el-divider>
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">材料邮寄或接料人信息:</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="8">接料人:
|
|
|
- <el-input v-model="receiverName1" placeholder="姓名"></el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">电话:
|
|
|
- <el-input v-model="receiverPhone1" placeholder="电话号码"></el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">地址:
|
|
|
- <el-input v-model="receiverAddress1" placeholder="地址"></el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="8">接料人:
|
|
|
- <el-input v-model="receiverName2" placeholder="姓名"></el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">电话:
|
|
|
- <el-input v-model="receiverPhone2" placeholder="电话号码"></el-input>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">地址:
|
|
|
- <el-input v-model="receiverAddress2" placeholder="地址"></el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
+ <div class="prep-materials" style="width: 90%;margin-left: 10%">
|
|
|
+ <div style="width: 60%">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24" class="header">xxxx公司2024-01组试验备料单</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row class="details" style="font-size: 14px;margin-top: 3%">
|
|
|
+ <el-col :span="6">组编码:2024-01</el-col>
|
|
|
+ <el-col :span="6">创建日期:xxxx年xx月xx日</el-col>
|
|
|
+ <el-col :span="6">项目结束日期:xxxx年xx月xx日</el-col>
|
|
|
+ <el-col :span="6">项目组重复:3次</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-table :data="properties" border style="">
|
|
|
+ <el-table-column fixed prop="property" label="序号" ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ v-for="(product, index) in products"
|
|
|
+ :key="index"
|
|
|
+ :prop="`value${index}`"
|
|
|
+ :label="product['序号']" width="">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div style="margin-top: 5%;width: 90%">
|
|
|
+ <el-form style="width: 100%;display: flex">
|
|
|
+ <div style="width: 20%;display: flex;">
|
|
|
+<!-- <el-form-item label="" style="display: flex;">-->
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 58%;margin-top: 3%">单品备料/份:</span>
|
|
|
+ <el-input v-model="materialsAmount" placeholder="请输入备料量"></el-input>
|
|
|
+<!-- </el-form-item>-->
|
|
|
+ </div>
|
|
|
+ <div style="width: 13%;">
|
|
|
+ <el-form-item style="margin-left: 1%">
|
|
|
+ <el-select v-model="selectedUnit" placeholder="请选择单位">
|
|
|
+ <el-option label="粒" value="粒"></el-option>
|
|
|
+ <el-option label="袋" value="袋"></el-option>
|
|
|
+ <el-option label="克" value="克"></el-option>
|
|
|
+ <el-option label="公斤" value="公斤"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item >
|
|
|
+ </div>
|
|
|
+ <div style="width: 65%;display: flex;margin-left: 4%">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 12%;margin-top: 1%">辅助材料:</span>
|
|
|
+<!-- <el-form-item label="辅助材料:" style="width: 100%" >-->
|
|
|
+ <el-input v-model="auxiliaryMaterial" placeholder="请输入辅助材料"></el-input>
|
|
|
+<!-- </el-form-item>-->
|
|
|
+ </div>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <el-divider style="width: 80%"></el-divider>
|
|
|
+ <div style="width: 90%">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">材料邮寄或接料人信息:</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row style="margin-top: 1%;display: flex">
|
|
|
+ <div style="width:16%">
|
|
|
+ <el-col :span="8" style="display: flex;">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 40%;margin-top: 3%">接料人:</span>
|
|
|
+
|
|
|
+ <span></span>
|
|
|
+ <el-input v-model="receiverName1" placeholder="姓名" ></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ <div style="width: 16%">
|
|
|
+ <el-col :span="8" style="display: flex">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 30%;margin-top: 3%;margin-left: 7%">电话:</span>
|
|
|
+ <el-input v-model="receiverPhone1" placeholder="电话号码"></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ <div style="width: 68%">
|
|
|
+ <el-col :span="8" style="display: flex">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 6%;margin-top: 6px;margin-left: 1%">地址:</span>
|
|
|
+
|
|
|
+ <el-input v-model="receiverAddress1" placeholder="地址" ></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ </el-row>
|
|
|
+ <el-row style="margin-top: 1%;display: flex">
|
|
|
+ <div style="width:16%">
|
|
|
+ <el-col :span="8" style="display: flex;">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 40%;margin-top: 3%">接料人:</span>
|
|
|
+
|
|
|
+ <span></span>
|
|
|
+ <el-input v-model="receiverName1" placeholder="姓名" ></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ <div style="width: 16%">
|
|
|
+ <el-col :span="8" style="display: flex">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 30%;margin-top: 3%;margin-left: 7%">电话:</span>
|
|
|
+ <el-input v-model="receiverPhone1" placeholder="电话号码"></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ <div style="width: 68%">
|
|
|
+ <el-col :span="8" style="display: flex">
|
|
|
+ <span style="font-size: 14px;font-weight: bold;width: 6%;margin-top: 6px;margin-left: 1%">地址:</span>
|
|
|
+
|
|
|
+ <el-input v-model="receiverAddress1" placeholder="地址" ></el-input>
|
|
|
+ </el-col>
|
|
|
+ </div>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -70,7 +113,10 @@ export default {
|
|
|
{ 序号: '01-01', 产品名称: '示例产品1', 产品代码: '001', 实验密度: '5000' },
|
|
|
{ 序号: '01-02', 产品名称: '示例产品2', 产品代码: '002', 实验密度: '5000' },
|
|
|
{ 序号: '01-03', 产品名称: '示例产品3', 产品代码: '003', 实验密度: '5000' },
|
|
|
- { 序号: '01-04', 产品名称: '示例产品4', 产品代码: '004', 实验密度: '5000' }
|
|
|
+ { 序号: '01-04', 产品名称: '示例产品3', 产品代码: '003', 实验密度: '5000' },
|
|
|
+ { 序号: '01-05', 产品名称: '示例产品3', 产品代码: '003', 实验密度: '5000' },
|
|
|
+ { 序号: '01-06', 产品名称: '示例产品3', 产品代码: '003', 实验密度: '5000' },
|
|
|
+ { 序号: '01-07', 产品名称: '示例产品4', 产品代码: '004', 实验密度: '5000' }
|
|
|
],
|
|
|
materialsAmount: '',
|
|
|
selectedUnit: '',
|
|
@@ -108,4 +154,11 @@ export default {
|
|
|
.details {
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
+.el-divider--horizontal{
|
|
|
+ width: 90%;
|
|
|
+ margin-top: 0px;
|
|
|
+}
|
|
|
+.el-col-8{
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
</style>
|