|
|
@ -154,8 +154,9 @@
|
|
|
|
<el-form-item label="是否检查近效期" prop="prefix">
|
|
|
|
<el-form-item label="是否检查近效期" prop="prefix">
|
|
|
|
<el-select v-model="inputQuery.checkVailDate"
|
|
|
|
<el-select v-model="inputQuery.checkVailDate"
|
|
|
|
style="width: 90%" placeholder="" clearable>
|
|
|
|
style="width: 90%" placeholder="" clearable>
|
|
|
|
<el-option label="是" :value="true"></el-option>
|
|
|
|
<el-option label="不处理" :value=0></el-option>
|
|
|
|
<el-option label="否" :value="false"></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>
|
|
|
@ -309,29 +310,6 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<span class="sptext">预验收使用结束退回</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.preInBack"
|
|
|
|
|
|
|
|
:disabled="inputQuery.actionType != 2 || inputQuery.mainAction!='WareHouseIn' ||
|
|
|
|
|
|
|
|
inputQuery.corpType != 2 || inputQuery.inStock==false "
|
|
|
|
|
|
|
|
style="width: 65%"
|
|
|
|
|
|
|
|
placeholder="是否退回" clearable
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="是" :value="true"></el-option>
|
|
|
|
|
|
|
|
<el-option label="否" :value="false"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="13">
|
|
|
|
|
|
|
|
<span class="sptext">预验收使用结束退回</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
</el-collapse-item>
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-collapse-item title="出库单据设置" v-if="inputQuery.mainAction!='WareHouseIn'">
|
|
|
|
<el-collapse-item title="出库单据设置" v-if="inputQuery.mainAction!='WareHouseIn'">
|
|
|
@ -359,7 +337,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.scanPreIn" style="width: 65%"
|
|
|
|
<el-select v-model="inputQuery.scanPreIn" style="width: 65%"
|
|
|
|
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.actionType !== 2"
|
|
|
|
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.advancePreIn==1 || inputQuery.vailInv==1"
|
|
|
|
placeholder="是否启用" clearable>
|
|
|
|
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>
|
|
|
@ -372,6 +350,26 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<span class="sptext">寄售使用禁止无库存出库</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.advancePreIn" style="width: 65%"
|
|
|
|
|
|
|
|
:disabled=" inputQuery.mainAction == 'WareHouseIn' || inputQuery.corpType !== 1 || inputQuery.scanPreIn==1 || inputQuery.vailInv==1"
|
|
|
|
|
|
|
|
placeholder="是否启用" clearable>
|
|
|
|
|
|
|
|
<el-option label="是" :value="true"></el-option>
|
|
|
|
|
|
|
|
<el-option label="否" :value="false"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="13">
|
|
|
|
|
|
|
|
<span class="sptext">寄售使用禁止无库存出库</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col span="5">
|
|
|
|
<el-col span="5">
|
|
|
|
<span class="sptext">是否只允许有库存产品出库</span>
|
|
|
|
<span class="sptext">是否只允许有库存产品出库</span>
|
|
|
@ -379,7 +377,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.vailInv" style="width: 65%"
|
|
|
|
<el-select v-model="inputQuery.vailInv" style="width: 65%"
|
|
|
|
:disabled=" inputQuery.mainAction!= 'WareHouseOut'"
|
|
|
|
:disabled=" inputQuery.mainAction!= 'WareHouseOut' || inputQuery.advancePreIn==1 || inputQuery.scanPreIn==1"
|
|
|
|
placeholder="是否启用" clearable
|
|
|
|
placeholder="是否启用" clearable
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option label="启用" :value="true"></el-option>
|
|
|
|
<el-option label="启用" :value="true"></el-option>
|
|
|
@ -414,6 +412,69 @@
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<span class="sptext">预验收剩余库存自动退库</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.preInBack"
|
|
|
|
|
|
|
|
:disabled="inputQuery.scanPreIn ==false " @change="getPreInBack"
|
|
|
|
|
|
|
|
style="width: 65%"
|
|
|
|
|
|
|
|
placeholder="是否退回" clearable
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option label="是" :value="true"></el-option>
|
|
|
|
|
|
|
|
<el-option label="否" :value="false"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="13">
|
|
|
|
|
|
|
|
<span class="sptext">预验收剩余库存自动退库</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
<el-row v-if="inputQuery.preInBack==true">
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<span class="sptext">预验收剩余库存退库方式</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.backPreinType" style="width: 65%" clearable>
|
|
|
|
|
|
|
|
<el-option label="按单使用和退库" :value="1"></el-option>
|
|
|
|
|
|
|
|
<el-option label="按货位(仓库)使用和退库" :value="2"></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="13">
|
|
|
|
|
|
|
|
<span class="sptext">预验收剩余库存退库方式</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-divider></el-divider>
|
|
|
|
|
|
|
|
<el-row v-if="inputQuery.preInBack==true && inputQuery.backPreinType==1 ">
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<span class="sptext">预验收退库单据类型</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="5">
|
|
|
|
|
|
|
|
<el-select v-model="inputQuery.preInBackAction" style="width: 65%" clearable>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in preInBackList"
|
|
|
|
|
|
|
|
:key="item.name"
|
|
|
|
|
|
|
|
:label="item.name"
|
|
|
|
|
|
|
|
:value="item.action"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.name }}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-divider direction="vertical"></el-divider>
|
|
|
|
|
|
|
|
<el-col span="13">
|
|
|
|
|
|
|
|
<span class="sptext">预验收退库单据类型</span>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-collapse-item>
|
|
|
|
</el-collapse-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-collapse-item title="是否校验业务单设置">
|
|
|
|
<el-collapse-item title="是否校验业务单设置">
|
|
|
@ -1067,7 +1128,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} 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 {
|
|
|
@ -1114,6 +1175,7 @@ export default {
|
|
|
|
isBuType: true,
|
|
|
|
isBuType: true,
|
|
|
|
isFilterBind: true
|
|
|
|
isFilterBind: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
preInBackList: [],
|
|
|
|
orderTypeList: [],
|
|
|
|
orderTypeList: [],
|
|
|
|
fromSpecialOptions: [],
|
|
|
|
fromSpecialOptions: [],
|
|
|
|
originTypes: [],
|
|
|
|
originTypes: [],
|
|
|
@ -1201,6 +1263,19 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
selectBussinessList(){
|
|
|
|
|
|
|
|
selectList().then((res) => {
|
|
|
|
|
|
|
|
this.preInBackList=res.data;
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getPreInBack(){
|
|
|
|
|
|
|
|
if(this.inputQuery.preInBack==false){
|
|
|
|
|
|
|
|
this.inputQuery.preInBackAction=null;
|
|
|
|
|
|
|
|
this.inputQuery.backPreinType='';
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.inputQuery.backPreinType=1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
//获取单据类型
|
|
|
|
//获取单据类型
|
|
|
|
getOrderType() {
|
|
|
|
getOrderType() {
|
|
|
|
this.orderTypeList = []
|
|
|
|
this.orderTypeList = []
|
|
|
@ -1281,9 +1356,14 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
this.findSpecialMethod()
|
|
|
|
this.findSpecialMethod()
|
|
|
|
|
|
|
|
this.selectBussinessList()
|
|
|
|
this.oldData = Object.assign({}, this.inputQuery)
|
|
|
|
this.oldData = Object.assign({}, this.inputQuery)
|
|
|
|
this.inputQuery.codeFillCheck=false;
|
|
|
|
debugger
|
|
|
|
this.inputQuery.preInBack=false;
|
|
|
|
if(this.inputQuery.id==null || this.inputQuery.id==''){
|
|
|
|
|
|
|
|
this.inputQuery.codeFillCheck=false;
|
|
|
|
|
|
|
|
this.inputQuery.preInBack=false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|