Commit a29798cd by 韩振

1

parent fed109e5
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<template #default="scope"> <template #default="scope">
<div class="editable-cell"> <div class="editable-cell">
<div v-if="editable && itemForm.modelCode == scope.row.modelCode" class="editable-cell-input-wrapper"> <div v-if="editable && itemForm.modelCode == scope.row.modelCode" class="editable-cell-input-wrapper">
<el-input-number ref='inputs' size="small" style="height: 30px" :value="writeAmount" @change="handleChange" @blur="check" :max="scope.row.planAmount - scope.row.realAmount"/> <el-input-number ref='inputs' size="small" style="height: 30px" :value="writeAmount" @change="handleChange" @blur="check" :max="scope.row.planAmount > 0 ? scope.row.planAmount - scope.row.realAmount : 1000000"/>
</div> </div>
<div v-else class="editable-cell-text-wrapper" @dblclick="edit(scope.row)"> <div v-else class="editable-cell-text-wrapper" @dblclick="edit(scope.row)">
<span>{{ scope.row.writeAmount }}</span> <span>{{ scope.row.writeAmount }}</span>
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<template #default="scope"> <template #default="scope">
<div class="editable-cell"> <div class="editable-cell">
<div v-if="editable && itemForm.modelCode == scope.row.modelCode" class="editable-cell-input-wrapper"> <div v-if="editable && itemForm.modelCode == scope.row.modelCode" class="editable-cell-input-wrapper">
<el-input-number ref='inputs' size="small" style="height: 30px" :value="writeAmount" @change="handleChange" @blur="check" :max="scope.row.planAmount - scope.row.realAmount"/> <el-input-number ref='inputs' size="small" style="height: 30px" :value="writeAmount" @change="handleChange" @blur="check" :max="scope.row.planAmount > 0 ? scope.row.planAmount - scope.row.realAmount : 1000000"/>
</div> </div>
<div v-else class="editable-cell-text-wrapper" @dblclick="edit(scope.row)"> <div v-else class="editable-cell-text-wrapper" @dblclick="edit(scope.row)">
<span>{{ scope.row.writeAmount }}</span> <span>{{ scope.row.writeAmount }}</span>
......
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
</template> </template>
</el-dialog> </el-dialog>
<el-dialog title="异常信息确认" v-model="errVisible" style="width:60%"> <el-dialog title="异常信息确认" v-model="errVisible" style="width:60%;height: 700px">
<el-select v-model="searchData.handleFlag" @change="searchAgain" style="width: 140px;margin-bottom: 10px;margin-top: -30px"> <el-select v-model="searchData.handleFlag" @change="searchAgain" style="width: 140px;margin-bottom: 10px;margin-top: -30px">
<el-option label="未处理" :value="2" /> <el-option label="未处理" :value="2" />
<el-option label="已处理" :value="1" /> <el-option label="已处理" :value="1" />
...@@ -610,6 +610,7 @@ export default defineComponent({ ...@@ -610,6 +610,7 @@ export default defineComponent({
function deleteEpc(row) { function deleteEpc(row) {
let param = row; let param = row;
param.storeCode = JSON.parse(sessionStorage.getItem('storeInfo')).storeCode; param.storeCode = JSON.parse(sessionStorage.getItem('storeInfo')).storeCode;
param.type = param.stationType;
// 删除确认 // 删除确认
this.$confirm('此操作将删除该数据, 是否继续?', '提示', { this.$confirm('此操作将删除该数据, 是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论