新建片仔癀诊断UDI管理系统分支

wms_pzh
anthonyywj2 3 years ago
parent fad77aab35
commit aecea406ab

@ -171,36 +171,36 @@
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<!-- <el-col :span="10" class="el-col">--> <!-- <el-col :span="10" class="el-col">-->
<!-- <div class="text item">--> <!-- <div class="text item">-->
<!-- <div class="itemTag">--> <!-- <div class="itemTag">-->
<!-- <span>补单默认仓库:&nbsp;</span>--> <!-- <span>补单默认仓库:&nbsp;</span>-->
<!-- </div>--> <!-- </div>-->
<!-- <el-select v-model="inputQuery.defaultInv" placeholder="默认仓库" clearable="true"--> <!-- <el-select v-model="inputQuery.defaultInv" placeholder="默认仓库" clearable="true"-->
<!-- @change="invChange"--> <!-- @change="invChange"-->
<!-- style="width: 30%"--> <!-- style="width: 30%"-->
<!-- size="small">--> <!-- size="small">-->
<!-- <el-option--> <!-- <el-option-->
<!-- v-for="item in storageList"--> <!-- v-for="item in storageList"-->
<!-- :key="item.name"--> <!-- :key="item.name"-->
<!-- :label="item.name"--> <!-- :label="item.name"-->
<!-- :value="item.code">--> <!-- :value="item.code">-->
<!-- <span style="float: left">{{ item.name }}</span>--> <!-- <span style="float: left">{{ item.name }}</span>-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- <el-select v-model="inputQuery.defaultSubInv" placeholder="默认分库" clearable="true"--> <!-- <el-select v-model="inputQuery.defaultSubInv" placeholder="默认分库" clearable="true"-->
<!-- style="width: 30%"--> <!-- style="width: 30%"-->
<!-- size="small">--> <!-- size="small">-->
<!-- <el-option--> <!-- <el-option-->
<!-- v-for="item in subInvList"--> <!-- v-for="item in subInvList"-->
<!-- :key="item.name"--> <!-- :key="item.name"-->
<!-- :label="item.name"--> <!-- :label="item.name"-->
<!-- :value="item.code">--> <!-- :value="item.code">-->
<!-- <span style="float: left">{{ item.name }}</span>--> <!-- <span style="float: left">{{ item.name }}</span>-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-col>--> <!-- </el-col>-->
<el-col :span="10" class="el-col"> <el-col :span="10" class="el-col">
<div class="text item"> <div class="text item">
@ -223,7 +223,8 @@
<div class="text item" style="margin-top: 6px"> <div class="text item" style="margin-top: 6px">
<el-checkbox v-model="inputQuery.enable" :disabled="inputQuery.localAction==null"></el-checkbox> <el-checkbox v-model="inputQuery.enable" :disabled="inputQuery.localAction==null">
</el-checkbox>
<el-checkbox v-model="inputQuery.genUnit" :disabled="inputQuery.corpType !=2"> <el-checkbox v-model="inputQuery.genUnit" :disabled="inputQuery.corpType !=2">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.useDyCount" :disabled="true">使 <el-checkbox v-model="inputQuery.useDyCount" :disabled="true">使
@ -256,7 +257,8 @@
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'"> <el-checkbox v-model="inputQuery.scanPreIn" :disabled="inputQuery.corpType!='2'">
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'"> <el-checkbox v-model="inputQuery.vailInv" :disabled="inputQuery.mainAction!='WareHouseOut'">
是否允许无库存出库
</el-checkbox> </el-checkbox>
<el-checkbox v-model="inputQuery.codeFillCheck">UDI <el-checkbox v-model="inputQuery.codeFillCheck">UDI
</el-checkbox> </el-checkbox>
@ -579,7 +581,7 @@ export default {
, ,
// //
getOrderType() { getOrderType() {
this.orderTypeList = []; this.orderTypeList = [];
let query = { let query = {
mainAction: this.inputQuery.mainAction, mainAction: this.inputQuery.mainAction,

@ -651,7 +651,7 @@ export default {
code: this.formData.code.trim(), code: this.formData.code.trim(),
} }
enterCodeWeb(tQuery).then((response) => { enterCodeWeb(tQuery).then((response) => {
if (response.code === 20000) { if (response.code === 20000) {
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();
this.$refs.inputRef.select(); this.$refs.inputRef.select();
@ -927,7 +927,7 @@ export default {
} }
getLocalJoinByUser(query) getLocalJoinByUser(query)
.then((response) => { .then((response) => {
this.busTypes = response.data.list || []; this.busTypes = response.data.list || [];
if (this.formData.action != null) { if (this.formData.action != null) {
this.curAction = this.getActionItem(this.formData.action); this.curAction = this.getActionItem(this.formData.action);
@ -976,7 +976,7 @@ export default {
this.formData.fromCorpId = this.curAction.defaultUnit; this.formData.fromCorpId = this.curAction.defaultUnit;
} else if (this.curAction.corpType == 2)// } else if (this.curAction.corpType == 2)//
{ {
cQuery.corpType = 4; cQuery.corpType = 1;
cQuery.outType = 2; cQuery.outType = 2;
} else if (this.curAction.corpType == 0) { } else if (this.curAction.corpType == 0) {
@ -1217,7 +1217,7 @@ export default {
} }
, ,
created() { created() {
this.formData.code = ''; this.formData.code = '';
this.formData.actDate = new Date(); this.formData.actDate = new Date();
this.codeArray = []; this.codeArray = [];

Loading…
Cancel
Save