|
|
@@ -67,12 +67,11 @@
|
|
|
<el-button type="primary" @click="addRow" style="margin-left: 20px; margin-bottom: 20px;">新增一行</el-button>
|
|
|
|
|
|
<el-row :gutter="24">
|
|
|
- <el-col :span="20" style="margin-bottom: 15px;">
|
|
|
+ <el-col :span="19" style="margin-bottom: 15px;">
|
|
|
<!-- 表格头部 -->
|
|
|
<div style="display: flex; justify-content: space-between; margin-bottom: 10px;">
|
|
|
<span style="flex: 1;">订单编号</span>
|
|
|
- <span style="flex: 1;">款号</span>
|
|
|
- <span style="flex: 1;">款式</span>
|
|
|
+ <span style="flex: 1;">款号|款式</span>
|
|
|
<span style="flex: 1;">颜色</span>
|
|
|
<span style="flex: 1;">次片数量</span>
|
|
|
<span style="flex: 1;">报工小组</span>
|
|
|
@@ -80,14 +79,13 @@
|
|
|
</el-col>
|
|
|
|
|
|
<!-- 使用v-for渲染行 -->
|
|
|
- <el-col v-for="(row, index) in rows" :key="index" :span="20" style="margin-bottom: 10px; overflow-x: auto;">
|
|
|
+ <el-col v-for="(row, index) in rows" :key="index" :span="19" style="margin-bottom: 10px; overflow-x: auto;">
|
|
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
|
|
- <el-input style="width: 220px;" placeholder="Enter回车" v-model="row.gdbh" @keydown="ent1($event, index)" @blur="getGxMcsubmit($event, index)" />
|
|
|
- <el-input style="width: 120px;" :readonly="true" v-model="row.kh" />
|
|
|
- <el-input style="width: 120px;" :readonly="true" v-model="row.ks" />
|
|
|
- <el-input style="width: 120px;" :readonly="true" v-model="row.color" />
|
|
|
- <el-input style="width: 120px;" :readonly="true" v-model="row.cpsl" />
|
|
|
- <el-input style="width: 160px;" :readonly="true" v-model="row.bgxz" />
|
|
|
+ <el-input style="width: 220px;" placeholder="Enter回车" v-model="row.gdbh" @blur="getGxMcsubmit($event, index)" />
|
|
|
+ <el-input style="width: 140px;" :readonly="true" v-model="row.khks" />
|
|
|
+ <el-input style="width: 140px;" :readonly="true" v-model="row.color" />
|
|
|
+ <el-input style="width: 140px;" :readonly="true" v-model="row.cpsl" />
|
|
|
+ <el-input style="width: 140px;" :readonly="true" v-model="row.bgxz" />
|
|
|
<el-button type="danger" @click="removeRow(index)" style="font-size: 18px;">移除</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
@@ -150,7 +148,8 @@ const dialogFormVisible = ref(false);
|
|
|
|
|
|
|
|
|
const DefectiveformData = reactive({
|
|
|
- Sys_rq: ''
|
|
|
+ Sys_rq: '' ,
|
|
|
+ bgxz: '裁剪01z组'
|
|
|
});
|
|
|
const rule = {}; // 表单验证规则(如果有)
|
|
|
const rows = reactive([
|