更新日志

This commit is contained in:
USER-20220102CG\noblelift
2022-06-07 19:48:01 +08:00
parent 818d241d9f
commit c46a895c46
13 changed files with 257 additions and 80 deletions

View File

@@ -157,12 +157,12 @@
</el-select>
</template>
</el-table-column>
<el-table-column prop="priority" label="优先级" align="center">
<template scope="scope">
<el-input v-show="!scope.row.edit" v-model="scope.row.priority" size="mini" />
<span v-show="scope.row.edit">{{ scope.row.priority }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="priority" label="优先级" align="center">-->
<!-- <template scope="scope">-->
<!-- <el-input v-show="!scope.row.edit" v-model="scope.row.priority" size="mini" />-->
<!-- <span v-show="scope.row.edit">{{ scope.row.priority }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column v-if="crud.status.cu > 0" align="center" label="操作" width="170" fixed="right">
<template scope="scope">

View File

@@ -113,12 +113,12 @@
<el-table-column prop="cust_name" label="客户名称" />
<el-table-column prop="create_by" label="创建者" />
<el-table-column prop="create_time" label="创建时间" />
<el-table-column label="操作" width="200px" align="center" fixed="right">
<template slot-scope="scope">
<el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'1')">修改</el-button>
<el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'2')">删除</el-button>
</template>
</el-table-column>
<!-- <el-table-column label="操作" width="200px" align="center" fixed="right">-->
<!-- <template slot-scope="scope">-->
<!-- <el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'1')">修改</el-button>-->
<!-- <el-button v-if="scope.row.is_flag ==='0'" type="text" size="small" @click="handleClick(scope.row,'2')">删除</el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
<!--分页组件-->
<pagination />

View File

@@ -84,6 +84,7 @@
<span v-if="scope.row.order_status==='06' && scope.row.is_flag ==='1' ">下发强制完成</span>
<span v-if="scope.row.order_status==='07' && scope.row.is_flag ==='1' ">强制完成</span>
<span v-if="scope.row.order_status==='08' && scope.row.is_flag ==='1' ">自动完成</span>
<span v-if="scope.row.order_status==='09' && scope.row.is_flag ==='1' ">取消</span>
<span v-if="scope.row.order_status==='00' && scope.row.is_flag ==='0' ">就绪</span>
<span v-if="scope.row.order_status==='01' && scope.row.is_flag ==='0' ">分拣中</span>
<span v-if="scope.row.order_status==='02' && scope.row.is_flag ==='0' ">下发暂停</span>
@@ -91,6 +92,7 @@
<span v-if="scope.row.order_status==='04' && scope.row.is_flag ==='0' ">下发强制完成</span>
<span v-if="scope.row.order_status==='05' && scope.row.is_flag ==='0' ">强制完成</span>
<span v-if="scope.row.order_status==='06' && scope.row.is_flag ==='0' ">自动完成</span>
<span v-if="scope.row.order_status==='07' && scope.row.is_flag ==='0' ">取消</span>
</template>
</el-table-column>
<el-table-column prop="material_code" label="物料编码" />
@@ -247,8 +249,8 @@ export default {
mounted() {
// 定时器
const timer = setInterval(() => {
// this.crud.toQueryNoLoading()
}, 1000)
this.crud.toQueryNoLoading()
}, 5000)
// 销毁定时器
this.$once('hook:beforeDestroy', () => {
clearInterval(timer)