|
@@ -47,6 +47,14 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
+ <el-form-item label="是否直调" prop="isDirectTransfer">
|
|
|
+ <el-select v-model="screenForm.isDirectTransfer" placeholder="请选择是否直调">
|
|
|
+ <el-option label="是" :value="true"></el-option>
|
|
|
+ <el-option label="否" :value="false"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="制表人" prop="zbMan">
|
|
|
<el-input v-model="screenForm.zbMan" placeholder="请输入制表人"></el-input>
|
|
|
</el-form-item>
|
|
@@ -57,7 +65,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
- <el-col :xs="24" :sm="12" :lg="6" class="tr">
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24" class="tr">
|
|
|
<el-form-item label="">
|
|
|
<el-button size="small" @click="resetScreenForm">清空</el-button>
|
|
|
<el-button size="small" type="primary" @click="submitScreenForm">搜索</el-button>
|
|
@@ -156,12 +164,6 @@
|
|
|
<el-table-column align="center" label="审核日期" prop="examineTime" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="操作" width="220" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button
|
|
|
- type="text"
|
|
|
- @click="toExamine(scope.row)"
|
|
|
- v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'">
|
|
|
- 审批
|
|
|
- </el-button>
|
|
|
<el-popconfirm
|
|
|
style="margin-right: 10px;"
|
|
|
title="确定申请吗?"
|
|
@@ -185,6 +187,12 @@
|
|
|
</el-popconfirm>
|
|
|
<el-button
|
|
|
type="text"
|
|
|
+ @click="toExamine(scope.row)"
|
|
|
+ v-if="$checkBtnRole('examine', $route.meta.roles) && scope.row.examineStatus === 'WAIT'">
|
|
|
+ 审批
|
|
|
+ </el-button>
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
@click="toForm(scope.row)"
|
|
|
v-if="$checkBtnRole('edit', $route.meta.roles) && scope.row.examineStatus === 'SAVE'">
|
|
|
编辑
|
|
@@ -212,7 +220,7 @@
|
|
|
title="确定删除吗?"
|
|
|
@onConfirm="handleDelete(scope.row.id)"
|
|
|
v-if="$checkBtnRole('del', $route.meta.roles) && scope.row.examineStatus === 'SAVE'" >
|
|
|
- <el-button slot="reference" type="text">删除</el-button>
|
|
|
+ <el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
|
|
|
</el-popconfirm>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -280,6 +288,7 @@ export default {
|
|
|
model: '',
|
|
|
jxsName: '',
|
|
|
date: '',
|
|
|
+ isDirectTransfer: '',
|
|
|
zbMan: '',
|
|
|
shMan: '',
|
|
|
status: '',
|
|
@@ -317,6 +326,7 @@ export default {
|
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
|
createBy: this.screenForm.zbMan,
|
|
|
examineBy: this.screenForm.shMan,
|
|
|
+ isDirectTransfer: this.screenForm.isDirectTransfer,
|
|
|
type: 1, // 1:普通零售单,2:政策零售单
|
|
|
}
|
|
|
},
|
|
@@ -347,6 +357,7 @@ export default {
|
|
|
endTime: this.screenForm.date ? this.screenForm.date[1] : '',
|
|
|
createBy: this.screenForm.zbMan,
|
|
|
examineBy: this.screenForm.shMan,
|
|
|
+ isDirectTransfer: this.screenForm.isDirectTransfer,
|
|
|
type: 1, // 1:普通零售单,2:政策零售单
|
|
|
};
|
|
|
getList(params).then((res) => {
|