|
|
@ -153,22 +153,27 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="100" align="center" label="计划工厂编码" prop="planFactoryCode"/>
|
|
|
|
<el-table-column width="100" align="center" label="计划工厂编码" prop="planFactoryCode"/>
|
|
|
|
<el-table-column label="订单类型" align="center" prop="orderType"/>
|
|
|
|
<el-table-column label="订单类型" align="center" prop="orderType">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<dict-tag :options="dict.type.order_type" :value="scope.row.orderType"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="产品类型" align="center" prop="prodType">
|
|
|
|
<el-table-column label="产品类型" align="center" prop="prodType">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<dict-tag :options="dict.type.product_type" :value="scope.row.prodType"/>
|
|
|
|
<dict-tag :options="dict.type.product_type" :value="scope.row.prodType"/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column width="120" label="创建时间" align="center" prop="createTime">
|
|
|
|
<el-table-column width="150" label="创建时间" align="center" prop="createTime">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.planComplete, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
<el-table-column width="120" label="更新时间" align="center" prop="updateTime">
|
|
|
|
<el-table-column width="120" label="更新时间" align="center" prop="updateTime">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.planComplete, '{y}-{m}-{d}') }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.planComplete, '{y}-{m}-{d}') }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>-->
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width " fixed="right">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width " fixed="right">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
@ -509,7 +514,7 @@ import {getToken} from "@/utils/auth"
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: 'Order',
|
|
|
|
name: 'Order',
|
|
|
|
dicts: ['product_type', 'order_status'],
|
|
|
|
dicts: ['product_type', 'order_status','order_type'],
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
Treeselect
|
|
|
|
Treeselect
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -1297,7 +1302,7 @@ export default {
|
|
|
|
this.$modal.confirm('是否确认SAP同步操作步骤?执行后,需要一分钟后查看同步结果').then(function () {
|
|
|
|
this.$modal.confirm('是否确认SAP同步操作步骤?执行后,需要一分钟后查看同步结果').then(function () {
|
|
|
|
_this.loading = false;
|
|
|
|
_this.loading = false;
|
|
|
|
syncSAP()
|
|
|
|
syncSAP()
|
|
|
|
|
|
|
|
|
|
|
|
}).then(() => {
|
|
|
|
}).then(() => {
|
|
|
|
//this.getList()
|
|
|
|
//this.getList()
|
|
|
|
_this.loading = false;
|
|
|
|
_this.loading = false;
|
|
|
|