This commit is contained in:
parent
2c257189f1
commit
c072e15a20
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="ant-upload ant-upload-select ant-upload-select-picture-card" @click="showCropper">
|
<div class="ant-upload ant-upload-select ant-upload-select-picture-card" @click="showCropper">
|
||||||
<span role="button" tabindex="0" class="ant-upload">
|
<span role="button" tabindex="0" class="ant-upload">
|
||||||
|
|
||||||
<img class="img-preview" v-if="showUrl" :src="showUrl" alt="avatar" />
|
<img class="img-preview" v-if="showUrl" :src="showUrl" alt="avatar" @click.stop="$hevueImgPreview(showUrl)" />
|
||||||
<div v-else-if="isReadonly !== true">
|
<div v-else-if="isReadonly !== true">
|
||||||
<a-icon :type="loading ? 'loading' : 'plus'" />
|
<a-icon :type="loading ? 'loading' : 'plus'" />
|
||||||
<div class="ant-upload-text">
|
<div class="ant-upload-text">
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,16 @@
|
||||||
<vxe-column field="inlay" title="镶件材料" width="160" :edit-render="{ name: '$input', props: {} }"></vxe-column>
|
<vxe-column field="inlay" title="镶件材料" width="160" :edit-render="{ name: '$input', props: {} }"></vxe-column>
|
||||||
|
|
||||||
<vxe-column field="remark" title="备注" width="160" :edit-render="{ name: '$input', props: {} }"></vxe-column>
|
<vxe-column field="remark" title="备注" width="160" :edit-render="{ name: '$input', props: {} }"></vxe-column>
|
||||||
|
<vxe-column title="模具图片" width="90">
|
||||||
|
<template #default="{ row }">
|
||||||
|
<img v-if="row.component_detail && row.component_detail.image" style="width:50px;height:50px;"
|
||||||
|
:src="row.component_detail.image" @click.stop="$hevueImgPreview(row.component_detail.image)" />
|
||||||
|
<span v-else></span>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
</vxe-column>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</vxe-table>
|
</vxe-table>
|
||||||
|
|
||||||
|
|
@ -551,9 +561,9 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
postDataUpdate() {
|
postDataUpdate() {
|
||||||
let postdata = {};
|
let postdata = {};
|
||||||
|
|
||||||
this.detailsData2.forEach(item => {
|
this.detailsData2.forEach(item => {
|
||||||
item.component_line = this.detailsData[0].component_line;
|
item.component_line = this.detailsData[0].component_line;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -479,7 +479,7 @@ export default {
|
||||||
|
|
||||||
if (!item.component_id) {
|
if (!item.component_id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let key = infos.length + '' + (this.loadCount + '');
|
let key = infos.length + '' + (this.loadCount + '');
|
||||||
let info = {
|
let info = {
|
||||||
key: key, data: {
|
key: key, data: {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
|
|
||||||
<template v-slot:column4="{ row }">
|
<template v-slot:column4="{ row }">
|
||||||
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" />
|
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" @click.stop="$hevueImgPreview(row.mold_detail.image)" />
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:column5="{ row }">
|
<template v-slot:column5="{ row }">
|
||||||
|
|
@ -206,7 +206,7 @@ export default {
|
||||||
sortConfig: {
|
sortConfig: {
|
||||||
defaultSort: {
|
defaultSort: {
|
||||||
field: 'complete_time',
|
field: 'complete_time',
|
||||||
order: 'desc'
|
order: 'asc'
|
||||||
},
|
},
|
||||||
trigger: 'cell', // 触发排序的方式
|
trigger: 'cell', // 触发排序的方式
|
||||||
remote: true // 是否远程排序
|
remote: true // 是否远程排序
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card-item-progress">
|
<div class="card-item-progress">
|
||||||
|
|
||||||
<img v-if="item.component_detail && item.component_detail.image"
|
<img v-if="item.component_detail && item.component_detail.image" @click.stop="$hevueImgPreview(item.component_detail.image)"
|
||||||
style="width:50px;height:50px;margin-right: 10px;" :src="item.component_detail.image" />
|
style="width:50px;height:50px;margin-right: 10px;" :src="item.component_detail.image" />
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
|
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane key="2" tab="即将超时布产列表" force-render>
|
<a-tab-pane key="2" tab="即将超时布产列表" force-render>
|
||||||
<vxe-table border show-overflow keep-source ref="xTable3" :height="400" :row-config="{height: 60}" :data="poData">
|
<vxe-table border show-overflow keep-source ref="xTable3" :height="610" :row-config="{height: 80}" :data="poData">
|
||||||
<vxe-column field="code" title="编码" width="130"></vxe-column>
|
<vxe-column field="code" title="编码" width="130"></vxe-column>
|
||||||
<vxe-column field="mold_master_name" title="模具师傅" width="130"></vxe-column>
|
<vxe-column field="mold_master_name" title="模具师傅" width="130"></vxe-column>
|
||||||
<vxe-column field="engineer_name" title="工程师傅" width="130"></vxe-column>
|
<vxe-column field="engineer_name" title="工程师傅" width="130"></vxe-column>
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
title="模具" width="130"></vxe-column>
|
title="模具" width="130"></vxe-column>
|
||||||
<vxe-column title="模具图片" width="110">
|
<vxe-column title="模具图片" width="110">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" />
|
<img v-if="row.mold_detail.image" style="width:50px;height:50px;" :src="row.mold_detail.image" @click.stop="$hevueImgPreview(row.mold_detail.image)" />
|
||||||
<span v-else></span>
|
<span v-else></span>
|
||||||
</template>
|
</template>
|
||||||
</vxe-column>
|
</vxe-column>
|
||||||
|
|
@ -383,6 +383,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
loadPoData() {
|
loadPoData() {
|
||||||
|
|
||||||
|
|
||||||
this.$mk.post({
|
this.$mk.post({
|
||||||
url: `${BASE_URL.BASE_URL}/MoldProductionOrder/Get/TouchScreen/v1/mold/production/order/touchScreen/order/list`,
|
url: `${BASE_URL.BASE_URL}/MoldProductionOrder/Get/TouchScreen/v1/mold/production/order/touchScreen/order/list`,
|
||||||
loading: "搜索中...",
|
loading: "搜索中...",
|
||||||
|
|
@ -394,8 +396,7 @@ export default {
|
||||||
"end_time": 0,
|
"end_time": 0,
|
||||||
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
"company_token": process.env.VUE_APP_COMPANYTOKEN,
|
||||||
"store_id": 0,
|
"store_id": 0,
|
||||||
"order_bys": [
|
"order_bys": [{"column":"complete_time","order":"asc"}],
|
||||||
],
|
|
||||||
"limit": 0,
|
"limit": 0,
|
||||||
"project_token": process.env.VUE_APP_APPTOKEN,
|
"project_token": process.env.VUE_APP_APPTOKEN,
|
||||||
"beid": parseInt(process.env.VUE_APP_BEID),
|
"beid": parseInt(process.env.VUE_APP_BEID),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue