|
|
|
@ -38,14 +38,15 @@
|
|
|
|
|
<table class="table-thead" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr style="height: 44px;">
|
|
|
|
|
<td style="width: 8%;">序号</td>
|
|
|
|
|
<td style="width: 8%;">检验编号</td>
|
|
|
|
|
<td style="width: 8%;">检验阶段</td>
|
|
|
|
|
<td style="width: 8%;">检验时间</td>
|
|
|
|
|
<td style="width: 2%;">序号</td>
|
|
|
|
|
<td style="width: 6%;">检验编号</td>
|
|
|
|
|
<td style="width: 4%;">检验阶段</td>
|
|
|
|
|
<td style="width: 8%;">任务时间</td>
|
|
|
|
|
<td style="width: 8%;">物料来源</td>
|
|
|
|
|
<td style="width: 8%;">物料名称</td>
|
|
|
|
|
<td style="width: 8%;">检验人</td>
|
|
|
|
|
<td style="width: 8%;">检验状态</td>
|
|
|
|
|
<td style="width: 10%;">物料名称</td>
|
|
|
|
|
<td style="width: 4%;">检验人</td>
|
|
|
|
|
<td style="width: 8%;">检验时间</td>
|
|
|
|
|
<td style="width: 4%;">检验状态</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
@ -55,14 +56,15 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr :class="[index % 2 == 1 ? 'active1' : 'active2']" style="height:48px" :key="index"
|
|
|
|
|
v-for="(n, index) in Inspectiondetails">
|
|
|
|
|
<td style="width: 8%;">{{ index + 1 }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkNo }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkName }}</td>
|
|
|
|
|
<td style="width: 2%;">{{ index + 1 }}</td>
|
|
|
|
|
<td style="width: 6%;">{{ n.checkNo }}</td>
|
|
|
|
|
<td style="width: 4%;">{{ n.checkName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.incomeTime }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.supplierName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.materialName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkManName }}</td>
|
|
|
|
|
<td style="width: 8%;" :class="[n.checkStatus == 1 ? 'color1' : 'color2']">{{
|
|
|
|
|
<td style="width: 10%;">{{ n.materialName }}</td>
|
|
|
|
|
<td style="width: 4%;">{{ n.checkManName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkTime }}</td>
|
|
|
|
|
<td style="width: 4%;" :class="[n.checkStatus == 1 ? 'color1' : 'color2']">{{
|
|
|
|
|
n.checkStatus }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
@ -77,14 +79,15 @@
|
|
|
|
|
<table class="table-thead" border="0" cellpadding="0" cellspacing="0">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr style="height: 44px;">
|
|
|
|
|
<td style="width: 8%;">序号</td>
|
|
|
|
|
<td style="width: 8%;">检验编号</td>
|
|
|
|
|
<td style="width: 8%;">检验阶段</td>
|
|
|
|
|
<td style="width: 8%;">检验时间</td>
|
|
|
|
|
<td style="width: 2%;">序号</td>
|
|
|
|
|
<td style="width: 6%;">检验编号</td>
|
|
|
|
|
<td style="width: 4%;">检验阶段</td>
|
|
|
|
|
<td style="width: 8%;">任务时间</td>
|
|
|
|
|
<td style="width: 8%;">物料来源</td>
|
|
|
|
|
<td style="width: 8%;">物料名称</td>
|
|
|
|
|
<td style="width: 8%;">检验人</td>
|
|
|
|
|
<td style="width: 8%;">检验状态</td>
|
|
|
|
|
<td style="width: 10%;">物料名称</td>
|
|
|
|
|
<td style="width: 4%;">检验人</td>
|
|
|
|
|
<td style="width: 8%;">检验时间</td>
|
|
|
|
|
<td style="width: 4%;">检验状态</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
@ -94,14 +97,15 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr :class="[index % 2 == 1 ? 'active1' : 'active2']" style="height:48px" :key="index"
|
|
|
|
|
v-for="(n, index) in Inspectiondetails1">
|
|
|
|
|
<td style="width: 8%;">{{ index + 1 }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkNo }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkName }}</td>
|
|
|
|
|
<td style="width: 2%;">{{ index + 1 }}</td>
|
|
|
|
|
<td style="width: 6%;">{{ n.checkNo }}</td>
|
|
|
|
|
<td style="width: 4%;">{{ n.checkName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.incomeTime }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.supplierName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.materialName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkManName }}</td>
|
|
|
|
|
<td style="width: 8%;" :class="[n.checkStatus == 1 ? 'color1' : 'color2']">{{
|
|
|
|
|
<td style="width: 10%;">{{ n.materialName }}</td>
|
|
|
|
|
<td style="width: 4%;">{{ n.checkManName }}</td>
|
|
|
|
|
<td style="width: 8%;">{{ n.checkTime }}</td>
|
|
|
|
|
<td style="width: 4%;" :class="[n.checkStatus == 1 ? 'color1' : 'color2']">{{
|
|
|
|
|
n.checkStatus }}</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
@ -218,7 +222,7 @@ export default {
|
|
|
|
|
if (response) {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.dictDatatype = response
|
|
|
|
|
_this.selectxtclasses = _this.dictDatatype[0].ymdType;
|
|
|
|
|
_this.selectxtclasses = this.dictDatatype[2].ymdType;
|
|
|
|
|
_this.getSupplierTaskList(_this.selectxt)
|
|
|
|
|
_this.getDeviceRefreshTime()
|
|
|
|
|
}
|
|
|
|
@ -240,7 +244,7 @@ export default {
|
|
|
|
|
const _this = this;
|
|
|
|
|
this.Inspectiondetails = []
|
|
|
|
|
getSupplierTaskList({
|
|
|
|
|
ymdType: moment().format(_this.selectxtclasses),
|
|
|
|
|
ymdType: _this.selectxtclasses,//moment().format(_this.selectxtclasses),
|
|
|
|
|
typeCode: 'material',
|
|
|
|
|
factoryCode: 'ds_' + _this.selectxt,
|
|
|
|
|
}).then((response) => {
|
|
|
|
@ -252,7 +256,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
getSupplierTaskList({
|
|
|
|
|
ymdType: moment().format(_this.selectxtclasses),
|
|
|
|
|
ymdType: _this.selectxtclasses,//moment().format(_this.selectxtclasses),
|
|
|
|
|
typeCode: 'produce',
|
|
|
|
|
factoryCode: 'ds_' + _this.selectxt,
|
|
|
|
|
}).then((response) => {
|
|
|
|
|