|
@@ -188,22 +188,7 @@
|
|
|
fixed="left"
|
|
fixed="left"
|
|
|
width="148px"
|
|
width="148px"
|
|
|
:show-overflow-tooltip="true"
|
|
:show-overflow-tooltip="true"
|
|
|
- ></el-table-column>
|
|
|
|
|
- <el-table-column
|
|
|
|
|
- sortable
|
|
|
|
|
- prop="tag"
|
|
|
|
|
- label="应急标识"
|
|
|
|
|
- align="center"
|
|
|
|
|
- fixed="left"
|
|
|
|
|
- width="88px"
|
|
|
|
|
- :show-overflow-tooltip="true"
|
|
|
|
|
- >
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <span
|
|
|
|
|
- :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
|
|
- >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ ></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
sortable
|
|
sortable
|
|
|
prop="jhTime"
|
|
prop="jhTime"
|
|
@@ -247,7 +232,21 @@
|
|
|
min-width="72px"
|
|
min-width="72px"
|
|
|
:show-overflow-tooltip="true"
|
|
:show-overflow-tooltip="true"
|
|
|
>
|
|
>
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
|
|
+ sortable
|
|
|
|
|
+ prop="tag"
|
|
|
|
|
+ label="订单类型"
|
|
|
|
|
+ align="center"
|
|
|
|
|
+ width="88px"
|
|
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span
|
|
|
|
|
+ :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
|
|
+ >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
sortable
|
|
sortable
|
|
|
prop="planweight"
|
|
prop="planweight"
|
|
@@ -388,6 +387,20 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
|
|
+ sortable
|
|
|
|
|
+ prop="tag"
|
|
|
|
|
+ align="center"
|
|
|
|
|
+ label="订单类型"
|
|
|
|
|
+ min-width="70px"
|
|
|
|
|
+ :show-overflow-tooltip="true"
|
|
|
|
|
+ >
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span
|
|
|
|
|
+ :style="{color: nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].color : ''}"
|
|
|
|
|
+ >{{ nameObj.tag.obj[scope.row.tag] ? nameObj.tag.obj[scope.row.tag].name : scope.row.tag }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column
|
|
|
sortable
|
|
sortable
|
|
|
prop="grades"
|
|
prop="grades"
|
|
|
label="钢种"
|
|
label="钢种"
|
|
@@ -1047,6 +1060,28 @@ export default {
|
|
|
name: '铁丝'
|
|
name: '铁丝'
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
|
|
+ },
|
|
|
|
|
+ tag: {
|
|
|
|
|
+ obj: {
|
|
|
|
|
+ '0': {
|
|
|
|
|
+ name: '正常',
|
|
|
|
|
+ color: '#7a7a7a'
|
|
|
|
|
+ },
|
|
|
|
|
+ '1': {
|
|
|
|
|
+ name: '应急',
|
|
|
|
|
+ color: 'red'
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ arr: [
|
|
|
|
|
+ {
|
|
|
|
|
+ id: '0',
|
|
|
|
|
+ name: '正常'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ id: '1',
|
|
|
|
|
+ name: '应急'
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
loading: false,
|
|
loading: false,
|
|
@@ -1355,7 +1390,7 @@ export default {
|
|
|
deliveryDate: item.DELIVERYDATE,
|
|
deliveryDate: item.DELIVERYDATE,
|
|
|
dimension: item.DIMENSION,
|
|
dimension: item.DIMENSION,
|
|
|
kxf_weight: item.PLANWEIGHT - item.YXF_WEIGHT,
|
|
kxf_weight: item.PLANWEIGHT - item.YXF_WEIGHT,
|
|
|
- yxf_weight: item.YXF_WEIGHT,
|
|
|
|
|
|
|
+ yxf_weight: item.YXF_WEIGHT,
|
|
|
tag: item.TAG ? item.TAG : '0'
|
|
tag: item.TAG ? item.TAG : '0'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -1427,7 +1462,8 @@ export default {
|
|
|
workprocType: item.workprocType,
|
|
workprocType: item.workprocType,
|
|
|
lengths: item.lengths,
|
|
lengths: item.lengths,
|
|
|
surfaceStandard: item.surfaceStandard,
|
|
surfaceStandard: item.surfaceStandard,
|
|
|
- goinfo: item.goinfo
|
|
|
|
|
|
|
+ goinfo: item.goinfo,
|
|
|
|
|
+ tag: item.tag ? item.tag : '0'
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
that.rightTableData = arr;
|
|
that.rightTableData = arr;
|
|
@@ -1513,7 +1549,8 @@ export default {
|
|
|
workprocType: item.workprocType,
|
|
workprocType: item.workprocType,
|
|
|
lengths: item.lengths,
|
|
lengths: item.lengths,
|
|
|
surfaceStandard: item.surfaceStandard,
|
|
surfaceStandard: item.surfaceStandard,
|
|
|
- goinfo: item.goinfo
|
|
|
|
|
|
|
+ goinfo: item.goinfo,
|
|
|
|
|
+ tag: item.tag
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
that.rightTableData = arr;
|
|
that.rightTableData = arr;
|
|
@@ -1987,7 +2024,7 @@ export default {
|
|
|
let SubmitData = {
|
|
let SubmitData = {
|
|
|
jhTime: that.dialog.editorBox.form.data.may,
|
|
jhTime: that.dialog.editorBox.form.data.may,
|
|
|
planWeight: that.dialog.editorBox.form.data.planWeight,
|
|
planWeight: that.dialog.editorBox.form.data.planWeight,
|
|
|
- workprocType: that.filterForm.data.workproc_type,
|
|
|
|
|
|
|
+ workprocType: that.filterForm.data.workproc_type,
|
|
|
tag: '0'
|
|
tag: '0'
|
|
|
};
|
|
};
|
|
|
that.$refs['dialog_form'].validate((valid) => {
|
|
that.$refs['dialog_form'].validate((valid) => {
|
|
@@ -2122,7 +2159,8 @@ export default {
|
|
|
lengths: that.tableFormDataObj[key].lengths,
|
|
lengths: that.tableFormDataObj[key].lengths,
|
|
|
goinfo: that.tableFormDataObj[key].id.substring(0, 1) === 'G' ? '1036WM1' : null,
|
|
goinfo: that.tableFormDataObj[key].id.substring(0, 1) === 'G' ? '1036WM1' : null,
|
|
|
surfaceStandard: that.tableFormDataObj[key].surfaceStandard,
|
|
surfaceStandard: that.tableFormDataObj[key].surfaceStandard,
|
|
|
- type: type
|
|
|
|
|
|
|
+ type: type,
|
|
|
|
|
+ tag: that.tableFormDataObj[key].tag ? that.tableFormDataObj[key].tag : '0'
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
that.loading = true;
|
|
that.loading = true;
|