|
@@ -8,16 +8,12 @@
|
|
|
<table>
|
|
|
<tr>
|
|
|
<td>序号</td>
|
|
|
- <td>新客户</td>
|
|
|
<td>客户行业</td>
|
|
|
<td>客户名称</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td style="min-width: 50px">1</td>
|
|
|
<td style="max-width: 130px">
|
|
|
- <input v-model="tableData.newkehu" style="text-align: center; max-width: 130px" />
|
|
|
- </td>
|
|
|
- <td style="max-width: 130px">
|
|
|
<input v-model="tableData.kehuHangye" style="text-align: center; max-width: 130px" />
|
|
|
</td>
|
|
|
<td style="max-width: 130px">
|
|
@@ -127,35 +123,37 @@
|
|
|
<tr>
|
|
|
<td class="title">项目<br />虚拟结算额</td>
|
|
|
<td class="content" colspan="3">
|
|
|
- <el-table :data="tableData.xnJiesuanPrice" class="u-dynamic-table" stripe show-summary :summary-method="getSummaries" border ref="table">
|
|
|
- <el-table-column type="index" label="序号" align="center" width="60"></el-table-column>
|
|
|
- <el-table-column prop="eqName" label="试验设备" align="center" width="100">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-select v-model="scope.row.eqName" placeholder="请选择" value-key="id" @change="chooseEquipment($event, scope.$index)" style="width: 100%;">
|
|
|
- <el-option
|
|
|
- v-for="item in equipmentOptions"
|
|
|
- :key="item.id"
|
|
|
- :label="item.deviceName"
|
|
|
- :value="item">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="typeName" label="试验类型" align="center" width="120"></el-table-column>
|
|
|
- <el-table-column prop="time" label="试验时间(h)" align="center" width="120">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.time" placeholder="请输入" @input="handleCheng(scope.row, scope.$index)"/>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="unitPrice" label="试验单价(rmb/h)" align="center" width="140"></el-table-column>
|
|
|
- <el-table-column prop="costPrice" label="试验费用" align="center" width="100"></el-table-column>
|
|
|
- <el-table-column label="操作" width="100">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button type="text" size="small" @click="handleDelete(scope.row, scope.$index)">删除</el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <div class="addRow" @click="addRow">添加</div>
|
|
|
+ <div style="display: flex;align-items: flex-end;">
|
|
|
+ <el-table :data="tableData.xnJiesuanPrice" class="u-dynamic-table" stripe show-summary :summary-method="getSummaries" border ref="table" style="width: 740px;">
|
|
|
+ <el-table-column type="index" label="序号" align="center" width="60"></el-table-column>
|
|
|
+ <el-table-column prop="eqName" label="试验设备" align="center" width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-select v-model="scope.row.eqName" placeholder="请选择" value-key="id" @change="chooseEquipment($event, scope.$index)" style="width: 100%;">
|
|
|
+ <el-option
|
|
|
+ v-for="item in equipmentOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.deviceName"
|
|
|
+ :value="item">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="typeName" label="试验类型" align="center" width="120"></el-table-column>
|
|
|
+ <el-table-column prop="time" label="试验时间(h)" align="center" width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-input v-model="scope.row.time" placeholder="请输入" @input="handleCheng(scope.row, scope.$index)"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="unitPrice" label="试验单价(rmb/h)" align="center" width="140"></el-table-column>
|
|
|
+ <el-table-column prop="costPrice" label="试验费用" align="center" width="100"></el-table-column>
|
|
|
+ <el-table-column label="操作" width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="text" size="small" @click="handleDelete(scope.row, scope.$index)">删除</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div class="addRow" @click="addRow">添加</div>
|
|
|
+ </div>
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
@@ -375,9 +373,4 @@ tr {
|
|
|
position: absolute;
|
|
|
right: 3%;
|
|
|
}
|
|
|
-.delBtn {
|
|
|
- padding: 3px 10px;
|
|
|
- text-align: center;
|
|
|
- font-size: 12px;
|
|
|
-}
|
|
|
</style>
|