单据类型界面修改

ywj_dev
郑明梁 2 years ago
parent 6ff5b2a359
commit 00df6ef8dd

@ -1,52 +1,66 @@
<template> <template>
<div> <div>
<el-card> <el-card>
<el-form :inline="true" :model="filterQuery" class="query-form" size="mini"> <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-show="showSearch">
<el-form-item class="query-form-item" label="单据类型:"> <el-row>
<el-input <el-col :span="6">
v-model="filterQuery.name" <el-form-item class="query-form-item" label="单据类型:">
placeholder="请输入单据类型" <el-input v-model="filterQuery.name" placeholder="请输入单据类型" clearable style="width: 90%"></el-input>
clearable </el-form-item>
></el-input> </el-col>
</el-form-item> <el-col :span="6">
<el-form-item class="query-form-item" label="出入库类型:"> <el-form-item class="query-form-item" label="出入库类型:">
<el-select v-model="filterQuery.mainAction" placeholder="请选择出入库类型"> <el-select v-model="filterQuery.mainAction" style="width: 90%" placeholder="请选择出入库类型">
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option label="入库" value="WareHouseIn"></el-option> <el-option label="入库" value="WareHouseIn"></el-option>
<el-option label="出库" value="WareHouseOut"></el-option> <el-option label="出库" value="WareHouseOut"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item class="query-form-item" label="是否启用:"> </el-col>
<el-select v-model="filterQuery.enable" placeholder="是否启用"> <el-col :span="6">
<el-option label="全部" value=""></el-option> <el-form-item class="query-form-item" label="是否启用:">
<el-option label="已启用" value=1></el-option> <el-select v-model="filterQuery.enable" style="width: 90%" placeholder="是否启用">
<el-option label="未启用" value=0></el-option> <el-option label="全部" value=""></el-option>
</el-select> <el-option label="已启用" value="1"></el-option>
</el-form-item> <el-option label="未启用" value="0"></el-option>
<el-form-item> </el-select>
<el-button-group style="margin-left: 10px;display:flex;"> </el-form-item>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> </el-col>
<el-button type="primary" icon="el-icon-search" @click="search"></el-button> <el-col :span="6">
<el-button type="primary" icon="el-icon-plus" @click="handleAddClick"> <el-form-item class="query-form-item" label="仓库类型:">
</el-button <el-select v-model="filterQuery.actionType" style="width: 90%" placeholder="请选择仓库类型">
> <el-option label="入账库" :value="1"></el-option>
<el-button type="primary" icon="el-icon-download" @click="exportJsonFile"></el-button> <el-option label="预验收库" :value="2"></el-option>
<el-upload <el-option label="寄售库" :value="3"></el-option>
:action="uploadFileUrl" </el-select>
multiple </el-form-item>
:limit="3" </el-col>
:headers="headers" </el-row>
:show-file-list="false"
:on-success="handleChange"
:file-list="fileList"
>
<el-button icon="el-icon-upload2" type="primary">导入单据类型</el-button>
</el-upload>
</el-button-group>
</el-form-item>
</el-form> </el-form>
<div class="top-right-btn" >
<el-button-group style="width: 600px">
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button>
<el-button type="primary" icon="el-icon-search" @click="search"></el-button>
<el-button type="primary" icon="el-icon-plus" @click="handleAddClick"></el-button>
<el-button type="primary" icon="el-icon-download" @click="exportJsonFile"></el-button>
<el-upload
:action="uploadFileUrl"
multiple
:limit="3"
:headers="headers"
:show-file-list="false"
:on-success="handleChange"
:file-list="fileList"
>
<el-button icon="el-icon-upload2" type="primary">导入单据类型</el-button>
</el-upload>
</el-button-group>
</div>
<el-divider style="margin: 15px"></el-divider>
<el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row> <el-table v-loading="loading" :data="list" style="width: 100%" border highlight-current-row>
<el-table-column label="序号" type="index" width="60"></el-table-column> <el-table-column label="序号" type="index" width="60"></el-table-column>
<el-table-column label="单据类型" prop="name"></el-table-column> <el-table-column label="单据类型" prop="name"></el-table-column>
@ -155,12 +169,12 @@
</div> </div>
</template> </template>
<script> <script>
import {getBusTypeList, deleteBusType, updateBusType, insertBusType, exportFile} from "@/api/basic/busType"; import { getBusTypeList, deleteBusType, updateBusType, insertBusType, exportFile } from '@/api/basic/busType'
import modifyDialog from "./bussinessTypeModify"; import modifyDialog from './bussinessTypeModify'
import axios from "axios"; import axios from 'axios'
import store from "@/store"; import store from '@/store'
import {findConfig} from "@/api/sync/spsSyncStatus"; import { findConfig } from '@/api/sync/spsSyncStatus'
import {isBlank} from "@/utils/strUtil"; import { isBlank } from '@/utils/strUtil'
export default { export default {
data() { data() {
@ -168,21 +182,22 @@ export default {
filterQuery: { filterQuery: {
name: null, name: null,
mainAction: null, mainAction: null,
enable: "1", enable: '1',
page: 1, page: 1,
limit: 20, limit: 20
}, },
showSearch:true,
addDialogVisible: false, addDialogVisible: false,
modifyDialogVisible: false, modifyDialogVisible: false,
list: [], list: [],
inputQuery: { inputQuery: {
action: "", action: '',
name: "", name: '',
enable: null, enable: null,
remark: "", remark: '',
mainAction: "", mainAction: '',
thirdSysFk: "", thirdSysFk: '',
id: "", id: '',
checkEnable: false, checkEnable: false,
genUnit: false, genUnit: false,
innerOrder: false, innerOrder: false,
@ -232,7 +247,6 @@ export default {
inStock: false, inStock: false,
actionType: 1, actionType: 1,
fillCodeRel: false, fillCodeRel: false,
thrCheckEnable: null, thrCheckEnable: null,
thrCheckWebNew: null, thrCheckWebNew: null,
thrCheckPdaUn: null, thrCheckPdaUn: null,
@ -245,17 +259,17 @@ export default {
thrCheckCopy: null, thrCheckCopy: null,
advancePreIn: false, advancePreIn: false,
checkVailDate: 0, // checkVailDate: 0, //
checkExpire: 0, // checkExpire: true, //
checkCertExpire: 0, // checkCertExpire: false //
}, },
enableMap: { enableMap: {
true: "是", true: '是',
false: "否", false: '否'
}, },
mainActionMap: { mainActionMap: {
WareHouseIn: "入库", WareHouseIn: '入库',
WareHouseOut: "出库" WareHouseOut: '出库'
}, },
fileList: [], fileList: [],
total: 0, total: 0,
@ -263,91 +277,94 @@ export default {
uploadFileUrl: null, uploadFileUrl: null,
headers: {}, headers: {},
configParams: {}, configParams: {},
loading: false, loading: false
}; }
}, },
methods: { methods: {
onReset() { onReset() {
this.$router.push({ this.$router.push({
path: "", path: ''
}); })
this.filterQuery = { this.filterQuery = {
name: null, name: null,
mainAction: null, mainAction: null,
enable: "1", enable: '1',
page: 1, page: 1,
limit: 20, limit: 20
}; }
this.getList(); this.getList()
}, },
cancelDialog() { cancelDialog() {
this.modifyDialogVisible = false; this.modifyDialogVisible = false
this.addDialogVisible = false; this.addDialogVisible = false
this.getList(); this.getList()
}, },
search() { search() {
this.filterQuery.page = 1; this.filterQuery.page = 1
this.getList(); this.getList()
},
hideSearch() {
this.showSearch = !this.showSearch;
}, },
getList() { getList() {
this.loading = true; this.loading = true
getBusTypeList(this.filterQuery) getBusTypeList(this.filterQuery)
.then((response) => { .then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.list = response.data.list || []; this.list = response.data.list || []
this.total = response.data.total || 0; this.total = response.data.total || 0
} else { } else {
this.$message.error(response.message); this.$message.error(response.message)
} }
this.loading = false; this.loading = false
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false
this.list = []; this.list = []
this.total = 0; this.total = 0
}); })
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.filterQuery.page = val; this.filterQuery.page = val
this.getList(); this.getList()
}, },
onAddSubmit() { onAddSubmit() {
// //
if (this.inputQuery.corpType == null) { if (this.inputQuery.corpType == null) {
this.inputQuery.corpType = 2; this.inputQuery.corpType = 2
} }
if (isBlank(this.inputQuery.name)) { if (isBlank(this.inputQuery.name)) {
this.$message.error("单据类型名称不能为空!"); this.$message.error('单据类型名称不能为空!')
return; return
} }
if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { if (this.inputQuery.mainAction == '' || this.inputQuery.mainAction == null) {
this.$message.error("出入库类型不能为空!"); this.$message.error('出入库类型不能为空!')
return; return
} }
if (isBlank(this.inputQuery.name)) { if (isBlank(this.inputQuery.name)) {
this.$message.error("单据类型名称不能为空!"); this.$message.error('单据类型名称不能为空!')
return; return
} }
// if (isBlank(this.inputQuery.actionType)) { // if (isBlank(this.inputQuery.actionType)) {
// this.$message.error(""); // this.$message.error("");
// return; // return;
// } // }
if (isBlank(this.inputQuery.inStock)) { if (isBlank(this.inputQuery.inStock)) {
this.$message.error("请选择是否更改库存!"); this.$message.error('请选择是否更改库存!')
return; return
} }
if (this.inputQuery.preInBack == 1) { if (this.inputQuery.preInBack == 1) {
if (isBlank(this.inputQuery.backPreinType)) { if (isBlank(this.inputQuery.backPreinType)) {
this.$message.error("请选择预验收剩余库存退库方式!"); this.$message.error('请选择预验收剩余库存退库方式!')
return; return
} }
if (isBlank(this.inputQuery.preInBackAction)) { if (isBlank(this.inputQuery.preInBackAction)) {
this.$message.error("请选择预验收退库单据类型!"); this.$message.error('请选择预验收退库单据类型!')
return; return
} }
} }
@ -358,39 +375,39 @@ export default {
insertBusType(this.inputQuery) insertBusType(this.inputQuery)
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {
this.loading = false; this.loading = false
this.cancelDialog(); this.cancelDialog()
this.getList(); this.getList()
} else { } else {
this.$message.error(response.message); this.$message.error(response.message)
} }
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false
}); })
}, },
onModifySubmit() { onModifySubmit() {
if (isBlank(this.inputQuery.name)) { if (isBlank(this.inputQuery.name)) {
this.$message.error("单据类型名称不能为空!"); this.$message.error('单据类型名称不能为空!')
return; return
} }
if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { if (this.inputQuery.mainAction == '' || this.inputQuery.mainAction == null) {
this.$message.error("出入库类型不能为空!"); this.$message.error('出入库类型不能为空!')
return; return
} }
if (isBlank(this.inputQuery.name)) { if (isBlank(this.inputQuery.name)) {
this.$message.error("单据类型名称不能为空!"); this.$message.error('单据类型名称不能为空!')
return; return
} }
// if (isBlank(this.inputQuery.actionType)) { // if (isBlank(this.inputQuery.actionType)) {
// this.$message.error(""); // this.$message.error("");
// return; // return;
// } // }
if (isBlank(this.inputQuery.inStock)) { if (isBlank(this.inputQuery.inStock)) {
this.$message.error("请选择是否更改库存!"); this.$message.error('请选择是否更改库存!')
return; return
} }
// if (isBlank(this.inputQuery.busType)) { // if (isBlank(this.inputQuery.busType)) {
// this.$message.error(""); // this.$message.error("");
@ -400,52 +417,52 @@ export default {
updateBusType(this.inputQuery) updateBusType(this.inputQuery)
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {
this.loading = false; this.loading = false
this.cancelDialog(); this.cancelDialog()
this.getList(); this.getList()
} else { } else {
this.$message.error(response.message); this.$message.error(response.message)
} }
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false
this.cancelDialog(); this.cancelDialog()
}); })
}, },
exportJsonFile() { exportJsonFile() {
exportFile().then((response) => { exportFile().then((response) => {
const binaryData = []; const binaryData = []
binaryData.push(response); binaryData.push(response)
let url = window.URL.createObjectURL( let url = window.URL.createObjectURL(
new Blob(binaryData, {type: "application/json"}) new Blob(binaryData, { type: 'application/json' })
); )
this.loading = false; this.loading = false
const eleLink = document.createElement('a'); const eleLink = document.createElement('a')
// var timestamp = "yyyy-MM-dd_hh:mm"; // var timestamp = "yyyy-MM-dd_hh:mm";
eleLink.download = "扫码单据类型导出" + ".json"; eleLink.download = '扫码单据类型导出' + '.json'
eleLink.style.display = 'none'; eleLink.style.display = 'none'
eleLink.href = url; eleLink.href = url
document.body.appendChild(eleLink) document.body.appendChild(eleLink)
eleLink.click() eleLink.click()
document.body.removeChild(eleLink) document.body.removeChild(eleLink)
}).catch(() => { }).catch(() => {
this.loading = false; this.loading = false
}); })
}, },
handleAddClick() { handleAddClick() {
this.inputQuery = { this.inputQuery = {
action: "", action: '',
name: "", name: '',
enable: true, enable: true,
remark: "", remark: '',
mainAction: "", mainAction: 'WareHouseIn',
thirdSysFk: "", thirdSysFk: '',
id: "", id: '',
checkEnable: false, checkEnable: false,
genUnit: false, genUnit: false,
innerOrder: false, innerOrder: false,
spUse: null, spUse: 0,
secCheckEnable: null, secCheckEnable: null,
checkUdims: null, checkUdims: null,
checkPdaEd: null, checkPdaEd: null,
@ -466,7 +483,7 @@ export default {
checkBalance: null, checkBalance: null,
secCheckBalance: null, secCheckBalance: null,
secCheckCopy: null, secCheckCopy: null,
corpType: null, corpType: 2,
storageCode: null, storageCode: null,
supplementOrderType: null, supplementOrderType: null,
defaultUnit: null, defaultUnit: null,
@ -503,89 +520,90 @@ export default {
thrCheckCopy: null, thrCheckCopy: null,
advancePreIn: false, advancePreIn: false,
checkVailDate: 0, // checkVailDate: 0, //
checkExpire: true, // checkExpire: 2, //
checkCertExpire: false, // checkCertExpire: 0, //
backPreinType: 1, backPreinType: 1,
sortNum: 999
} }
this.addDialogVisible = true; this.addDialogVisible = true
}, },
handleModifyClick(row) { handleModifyClick(row) {
this.inputQuery = row; this.inputQuery = row
this.modifyDialogVisible = true; this.modifyDialogVisible = true
}, },
deleteDialog(rowId) { deleteDialog(rowId) {
this.$confirm("此操作将永久删除该扫码类型信息, 是否继续?", "提示", { this.$confirm('此操作将永久删除该扫码类型信息, 是否继续?', '提示', {
confirmButtonText: "确定", confirmButtonText: '确定',
cancelButtonText: "取消", cancelButtonText: '取消',
type: "warning", type: 'warning'
}) })
.then(() => { .then(() => {
this.deleteOrders(rowId); this.deleteOrders(rowId)
}) })
.catch(() => { .catch(() => {
}); })
}, },
deleteOrders(data) { deleteOrders(data) {
this.loading = true; this.loading = true
let tquery = { let tquery = {
id: data.id + "", id: data.id + ''
}; }
deleteBusType(tquery) deleteBusType(tquery)
.then((response) => { .then((response) => {
this.getList(); this.getList()
if (response.code == 20000) { if (response.code == 20000) {
this.$message({ this.$message({
type: "success", type: 'success',
message: "删除成功!", message: '删除成功!'
}); })
} else { } else {
this.$message.error(response.message); this.$message.error(response.message)
} }
}) })
.catch(() => { .catch(() => {
}); })
}, },
handleChange(response, files, fileList) { handleChange(response, files, fileList) {
if (response.code != 20000) { if (response.code != 20000) {
this.$message.error(response.message); this.$message.error(response.message)
} else { } else {
this.$message.success(response.data); this.$message.success(response.data)
this.getList(); this.getList()
} }
}, },
init() { init() {
this.uploadFileUrl = process.env.VUE_APP_BASE_API + "/udiwms/bussinessType/file/upload"; this.uploadFileUrl = process.env.VUE_APP_BASE_API + '/udiwms/bussinessType/file/upload'
this.headers = { this.headers = {
ADMIN_ID: store.getters.adminId, ADMIN_ID: store.getters.adminId,
ADMIN_TOKEN: store.getters.token, ADMIN_TOKEN: store.getters.token
}; }
}, },
getSyncConfig() { getSyncConfig() {
findConfig() findConfig()
.then((response) => { .then((response) => {
if (response.code == 20000) { if (response.code == 20000) {
this.configParams = response.data; this.configParams = response.data
} }
}) })
.catch(() => { .catch(() => {
}); })
}, }
}, },
components: { components: {
modifyDialog, modifyDialog
}, },
mounted() { mounted() {
}, },
created() { created() {
this.init(); this.init()
this.getSyncConfig(); this.getSyncConfig()
this.getList(); this.getList()
}, }
}; }
</script> </script>
<style scoped> <style scoped>

@ -63,15 +63,14 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11" type="flex"> <el-col :span="11" type="flex">
<el-form-item label="库存方式" prop="actionType"> <el-form-item label="仓库类型" prop="actionType">
<el-select v-model="inputQuery.actionType" <el-select v-model="inputQuery.actionType"
size="small" size="small"
style="width: 90%" style="width: 90%"
clearable
placeholder="请选择入库方式"> placeholder="请选择入库方式">
<el-option label="入账" :value="1"></el-option> <el-option label="入账" :value="1"></el-option>
<el-option label="预验收" :value="2"></el-option> <el-option label="预验收" :value="2"></el-option>
<el-option label="寄售" :value="3"></el-option> <el-option label="寄售" :value="3"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -81,7 +80,7 @@
<el-form-item label="允许手动输入客户信息" prop="genUnit"> <el-form-item label="允许手动输入客户信息" prop="genUnit">
<el-select v-model="inputQuery.genUnit" <el-select v-model="inputQuery.genUnit"
:disabled="inputQuery.corpType != 1 || inputQuery.mainAction!='WareHouseOut'" style="width: 90%" :disabled="inputQuery.corpType != 1 || inputQuery.mainAction!='WareHouseOut'" style="width: 90%"
placeholder="是否允许" clearable placeholder="是否允许"
> >
<el-option label="允许" :value="true"></el-option> <el-option label="允许" :value="true"></el-option>
<el-option label="不允许" :value="false"></el-option> <el-option label="不允许" :value="false"></el-option>
@ -91,7 +90,7 @@
<el-col :span="11"> <el-col :span="11">
<el-form-item label="内部单据自动平衡" prop="supplementOrderType"> <el-form-item label="内部单据自动平衡" prop="supplementOrderType">
<el-select :disabled="inputQuery.corpType !=3 || inputQuery.inStock!= true || inputQuery.actionType != 1" <el-select :disabled="inputQuery.corpType !=3 || inputQuery.inStock!= true"
size="small" size="small"
style="width: 90%" style="width: 90%"
v-model="inputQuery.supplementOrderType" v-model="inputQuery.supplementOrderType"
@ -116,31 +115,32 @@
<el-col :span="11"> <el-col :span="11">
<el-form-item label="供应商使用权限" prop="prefix"> <el-form-item label="供应商使用权限" prop="prefix">
<el-select v-model="inputQuery.spUse" <el-select v-model="inputQuery.spUse"
:disabled=" inputQuery.corpType!=2 " style="width: 90%" placeholder="是否允许" >
style="width: 90%" placeholder="是否允许" clearable>
<el-option label="无" :value="0"></el-option> <el-option label="无" :value="0"></el-option>
<el-option label="可查看" :value="1"></el-option> <el-option label="可查看" :value="1"></el-option>
<el-option label="增删改查" :value="2"></el-option> <el-option label="增删改查" :value="2"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="禁用单据类型" prop="prefix"> <el-form-item label="物资近效期处理方式" prop="prefix">
<el-select v-model="inputQuery.enable" style="width: 90%" placeholder="状态" clearable> <el-select v-model="inputQuery.checkVailDate"
<el-option label="否" :value="true"></el-option> style="width: 90%" placeholder="" >
<el-option label="是" :value="false"></el-option> <el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!--<el-col :span="11">--> <!--<el-col :span="11">-->
<!-- <el-form-item label="预验收使用结束退回" prop="preInBack">--> <!-- <el-form-item label="预验收使用结束退回" prop="preInBack">-->
<!-- <el-select v-model="inputQuery.preInBack"--> <!-- <el-select v-model="inputQuery.preInBack"-->
<!-- :disabled="inputQuery.actionType != 2 || inputQuery.mainAction!='WareHouseIn' ||--> <!-- :disabled="inputQuery.actionType != 2 || inputQuery.mainAction!='WareHouseIn' ||-->
<!-- inputQuery.corpType != 2 || inputQuery.inStock==false "--> <!-- inputQuery.corpType != 2 || inputQuery.inStock==false "-->
<!-- style="width: 90%"--> <!-- style="width: 90%"-->
<!-- placeholder="是否退回" clearable--> <!-- placeholder="是否退回" -->
<!-- >--> <!-- >-->
<!-- <el-option label="是" :value="true"></el-option>--> <!-- <el-option label="是" :value="true"></el-option>-->
<!-- <el-option label="否" :value="false"></el-option>--> <!-- <el-option label="否" :value="false"></el-option>-->
@ -151,9 +151,9 @@
<el-row type="flex"> <el-row type="flex">
<el-col :span="11"> <el-col :span="11">
<el-form-item label="是否检查近效期" prop="prefix"> <el-form-item label="物资过期处理方式" prop="prefix">
<el-select v-model="inputQuery.checkVailDate" <el-select v-model="inputQuery.checkExpire"
style="width: 90%" placeholder="" clearable> style="width: 90%" placeholder="" >
<el-option label="不处理" :value=0></el-option> <el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option> <el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option> <el-option label="禁止录入" :value=2></el-option>
@ -161,9 +161,9 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="是否检查过期" prop="prefix"> <el-form-item label="资质过期处理方式" prop="prefix">
<el-select v-model="inputQuery.checkExpire" <el-select v-model="inputQuery.checkCertExpire"
style="width: 90%" placeholder="" clearable> style="width: 90%" placeholder="" >
<el-option label="不处理" :value=0></el-option> <el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option> <el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option> <el-option label="禁止录入" :value=2></el-option>
@ -173,16 +173,6 @@
</el-row> </el-row>
<el-row type="flex"> <el-row type="flex">
<el-col :span="11">
<el-form-item label="是否检查资质过期" prop="prefix">
<el-select v-model="inputQuery.checkCertExpire"
style="width: 90%" placeholder="" clearable>
<el-option label="不处理" :value=0></el-option>
<el-option label="弹框提醒" :value=1></el-option>
<el-option label="禁止录入" :value=2></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="单据前缀" prop="prefix"> <el-form-item label="单据前缀" prop="prefix">
<el-input <el-input
@ -191,18 +181,23 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="11">
<el-form-item label="排序" prop="sortNum">
<el-input v-model="inputQuery.sortNum" type="number" size="small" style="width: 90%">
</el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row type="flex"> <el-row type="flex">
<el-col :span="11">
<!--<el-col :span="11">--> <el-form-item label="禁用单据类型" prop="prefix">
<!-- <el-form-item label="禁用单据类型" prop="prefix">--> <el-select v-model="inputQuery.enable" style="width: 90%" placeholder="状态" >
<!-- <el-select v-model="inputQuery.enable" style="width: 90%" placeholder="状态" clearable>--> <el-option label="否" :value="true"></el-option>
<!-- <el-option label="否" :value="true"></el-option>--> <el-option label="是" :value="false"></el-option>
<!-- <el-option label="是" :value="false"></el-option>--> </el-select>
<!-- </el-select>--> </el-form-item>
<!-- </el-form-item>--> </el-col>
<!--</el-col>-->
<el-col :span="11"> <el-col :span="11">
<el-form-item prop="remark" label="备注"> <el-form-item prop="remark" label="备注">
<el-input v-model="inputQuery.remark" size="small" style="width: 90%" type="textarea" autosize <el-input v-model="inputQuery.remark" size="small" style="width: 90%" type="textarea" autosize
@ -244,7 +239,7 @@
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.codeFillCheck" style="width: 65%" <el-select v-model="inputQuery.codeFillCheck" style="width: 65%"
:disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'" :disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'"
placeholder="是否启用" clearable> placeholder="是否启用" >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
</el-select> </el-select>
@ -261,7 +256,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.fillCodeRel" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.fillCodeRel" style="width: 65%" placeholder="是否启用"
:disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'" :disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'"
> >
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
@ -280,7 +275,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.vailDispatch" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.vailDispatch" style="width: 65%" placeholder="是否启用"
:disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'" :disabled="inputQuery.corpType!=2 || inputQuery.mainAction!= 'WareHouseIn'"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -300,7 +295,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.vailGroupBuy" style="width: 65%" placeholder="是否启用" clearable> <el-select v-model="inputQuery.vailGroupBuy" style="width: 65%" placeholder="是否启用" >
<el-option label="无需校验" :value=0></el-option> <el-option label="无需校验" :value=0></el-option>
<el-option label="只采集集采产品" :value=1></el-option> <el-option label="只采集集采产品" :value=1></el-option>
<el-option label="只采集非集采产品" :value=2></el-option> <el-option label="只采集非集采产品" :value=2></el-option>
@ -340,7 +335,7 @@
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.scanPreIn" style="width: 65%" <el-select v-model="inputQuery.scanPreIn" style="width: 65%"
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.advancePreIn==1 || inputQuery.vailInv==1" :disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.advancePreIn==1 || inputQuery.vailInv==1"
placeholder="是否启用" clearable> placeholder="是否启用" >
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option> <el-option label="否" :value="false"></el-option>
</el-select> </el-select>
@ -360,7 +355,7 @@
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.advancePreIn" style="width: 65%" <el-select v-model="inputQuery.advancePreIn" style="width: 65%"
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.scanPreIn==1 || inputQuery.vailInv==1" :disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.scanPreIn==1 || inputQuery.vailInv==1"
placeholder="是否启用" clearable> placeholder="是否启用" >
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option> <el-option label="否" :value="false"></el-option>
</el-select> </el-select>
@ -380,7 +375,7 @@
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.vailInv" style="width: 65%" <el-select v-model="inputQuery.vailInv" style="width: 65%"
:disabled=" inputQuery.mainAction!= 'WareHouseOut' || inputQuery.advancePreIn==1 || inputQuery.scanPreIn==1" :disabled=" inputQuery.mainAction!= 'WareHouseOut' || inputQuery.advancePreIn==1 || inputQuery.scanPreIn==1"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -401,7 +396,7 @@
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.useDyCount" style="width: 65%" <el-select v-model="inputQuery.useDyCount" style="width: 65%"
:disabled=" inputQuery.mainAction!= 'WareHouseOut' || inputQuery.corpType != 1" :disabled=" inputQuery.mainAction!= 'WareHouseOut' || inputQuery.corpType != 1"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option> <el-option label="否" :value="false"></el-option>
@ -423,7 +418,7 @@
<el-select v-model="inputQuery.preInBack" <el-select v-model="inputQuery.preInBack"
:disabled="inputQuery.scanPreIn ==false " @change="getPreInBack" :disabled="inputQuery.scanPreIn ==false " @change="getPreInBack"
style="width: 65%" style="width: 65%"
placeholder="是否退回" clearable placeholder="是否退回"
> >
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
<el-option label="否" :value="false"></el-option> <el-option label="否" :value="false"></el-option>
@ -441,7 +436,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.backPreinType" style="width: 65%" clearable> <el-select v-model="inputQuery.backPreinType" style="width: 65%" >
<el-option label="按单使用和退库" :value="1"></el-option> <el-option label="按单使用和退库" :value="1"></el-option>
<el-option label="按货位(仓库)使用和退库" :value="2"></el-option> <el-option label="按货位(仓库)使用和退库" :value="2"></el-option>
</el-select> </el-select>
@ -459,7 +454,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.preInBackAction" style="width: 65%" clearable> <el-select v-model="inputQuery.preInBackAction" style="width: 65%" >
<el-option <el-option
v-for="item in preInBackList" v-for="item in preInBackList"
:key="item.name" :key="item.name"
@ -532,7 +527,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkWebNew" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkWebNew" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -552,7 +547,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkPdaUn" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkPdaUn" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -572,7 +567,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkPdaEd" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkPdaEd" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -592,7 +587,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkUdims" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkUdims" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -612,7 +607,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkPc" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkPc" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -632,7 +627,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkSp" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkSp" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -651,7 +646,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkChange" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkChange" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -671,7 +666,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkBalance" :disabled="!inputQuery.checkEnable" style="width: 65%" <el-select v-model="inputQuery.checkBalance" :disabled="!inputQuery.checkEnable" style="width: 65%"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -690,7 +685,7 @@
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.checkCopy" style="width: 65%" :disabled="!inputQuery.checkEnable" <el-select v-model="inputQuery.checkCopy" style="width: 65%" :disabled="!inputQuery.checkEnable"
placeholder="是否启用" clearable placeholder="是否启用"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
<el-option label="不启用" :value="false"></el-option> <el-option label="不启用" :value="false"></el-option>
@ -737,7 +732,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckWebNew" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckWebNew" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -757,7 +752,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckPdaUn" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckPdaUn" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -777,7 +772,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckPdaEd" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckPdaEd" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -797,7 +792,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckUdims" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckUdims" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -817,7 +812,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckPc" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckPc" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -837,7 +832,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckSp" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckSp" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -857,7 +852,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckChange" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckChange" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -877,7 +872,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckBalance" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckBalance" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -897,7 +892,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.thrCheckCopy" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.thrCheckCopy" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.thrCheckEnable" :disabled="!inputQuery.thrCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -946,7 +941,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckWebNew" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckWebNew" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -966,7 +961,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckPdaUn" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckPdaUn" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -986,7 +981,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckPdaEd" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckPdaEd" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1006,7 +1001,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckUdims" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckUdims" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1026,7 +1021,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckPc" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckPc" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1046,7 +1041,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckSp" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckSp" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1066,7 +1061,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckChange" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckChange" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1086,7 +1081,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckBalance" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckBalance" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1106,7 +1101,7 @@
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="5"> <el-col span="5">
<el-select v-model="inputQuery.secCheckCopy" style="width: 65%" placeholder="是否启用" clearable <el-select v-model="inputQuery.secCheckCopy" style="width: 65%" placeholder="是否启用"
:disabled="!inputQuery.secCheckEnable" :disabled="!inputQuery.secCheckEnable"
> >
<el-option label="启用" :value="true"></el-option> <el-option label="启用" :value="true"></el-option>
@ -1130,7 +1125,7 @@
import {candidateBusType} from '@/api/basic/busType' import {candidateBusType} from '@/api/basic/busType'
import busTypeAdvancedSettings from '@/views/basic/busType/busTypeAdvancedSettings.vue' import busTypeAdvancedSettings from '@/views/basic/busType/busTypeAdvancedSettings.vue'
import {isBlank} from '@/utils/strUtil' import {isBlank} from '@/utils/strUtil'
import {getOriginBusType, selectList} from '@/api/basic/busOriginType' import {getOriginBusType,selectList} from '@/api/basic/busOriginType'
import {getBasicUnitMaintains2} from '@/api/basic/basicUnitMaintain' import {getBasicUnitMaintains2} from '@/api/basic/basicUnitMaintain'
export default { export default {
@ -1255,7 +1250,7 @@ export default {
if (this.inputQuery.corpType != 2) { // if (this.inputQuery.corpType != 2) { //
this.inputQuery.actionType = 1; this.inputQuery.actionType = 1;
this.inputQuery.spUse = null; this.inputQuery.spUse = 0;
} }
// if (this.inputQuery.corpType == 3) {// // if (this.inputQuery.corpType == 3) {//
@ -1265,17 +1260,17 @@ export default {
}, },
selectBussinessList() { selectBussinessList(){
selectList().then((res) => { selectList().then((res) => {
this.preInBackList = res.data; this.preInBackList=res.data;
}) })
}, },
getPreInBack() { getPreInBack(){
if (this.inputQuery.preInBack == false) { if(this.inputQuery.preInBack==false){
this.inputQuery.preInBackAction = null; this.inputQuery.preInBackAction=null;
this.inputQuery.backPreinType = ''; this.inputQuery.backPreinType='';
} else { }else{
this.inputQuery.backPreinType = 1; this.inputQuery.backPreinType=1;
} }
}, },
// //
@ -1361,9 +1356,9 @@ export default {
this.selectBussinessList() this.selectBussinessList()
this.oldData = Object.assign({}, this.inputQuery) this.oldData = Object.assign({}, this.inputQuery)
debugger debugger
if (this.inputQuery.id == null || this.inputQuery.id == '') { if(this.inputQuery.id==null || this.inputQuery.id==''){
this.inputQuery.codeFillCheck = false; this.inputQuery.codeFillCheck=false;
this.inputQuery.preInBack = false; this.inputQuery.preInBack=false;
} }
} }

Loading…
Cancel
Save