科室使用出库,采购类型

dev_ksck2.0
anthonywj 1 year ago
parent 05ad40a7d8
commit babbc96b8f

@ -372,6 +372,7 @@
> >
<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-select> </el-select>
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
@ -387,7 +388,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.advancePreIn==1 || inputQuery.vailInv==1" :disabled="inputQuery.useDyCount!=2 &&( inputQuery.advancePreIn==1 || inputQuery.vailInv==1)"
@change="outChange" @change="outChange"
placeholder="是否启用"> placeholder="是否启用">
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
@ -408,7 +409,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.advancePreIn" style="width: 65%" <el-select v-model="inputQuery.advancePreIn" style="width: 65%"
:disabled=" inputQuery.scanPreIn==1 || inputQuery.vailInv==1" :disabled="inputQuery.useDyCount!=2 &&( inputQuery.scanPreIn==1 || inputQuery.vailInv==1)"
@change="outChange" @change="outChange"
placeholder="是否启用"> placeholder="是否启用">
<el-option label="是" :value="true"></el-option> <el-option label="是" :value="true"></el-option>
@ -429,7 +430,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' || inputQuery.advancePreIn==1 || inputQuery.scanPreIn==1" :disabled="inputQuery.useDyCount!=2 &&( inputQuery.mainAction!= 'WareHouseOut' || inputQuery.advancePreIn==1 || inputQuery.scanPreIn==1)"
@change="outChange" @change="outChange"
placeholder="是否启用" placeholder="是否启用"
> >

@ -318,20 +318,40 @@
</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="editQuery.isAdavence" 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> <el-row>
<el-col span="5"> <el-col span="5">
<span class="sptext">是否寄售</span> <span class="sptext">采购类型</span>
</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="editQuery.isAdavence" style="width: 65%" placeholder="状态" clearable> <el-select v-model="editQuery.purType" style="width: 65%" placeholder="选择采购类型" clearable>
<el-option label="是" :value="true"></el-option> <el-option label="普通入账产品" :value="1"></el-option>
<el-option label="否" :value="false"></el-option> <el-option label="预验收产品" :value="2"></el-option>
<el-option label="寄售产品" :value="3"></el-option>
</el-select> </el-select>
</el-col> </el-col>
<el-divider direction="vertical"></el-divider> <el-divider direction="vertical"></el-divider>
<el-col span="13"> <el-col span="13">
<span class="sptext">是否寄售</span> <span class="sptext">采购类型</span>
</el-col> </el-col>
</el-row> </el-row>
<el-divider></el-divider> <el-divider></el-divider>

@ -664,6 +664,8 @@ export default {
.catch(() => { .catch(() => {
}); });
}, },
onUpload(data) { onUpload(data) {
this.loading = true; this.loading = true;
var idQuery = { var idQuery = {

@ -149,6 +149,7 @@ export default {
auditStatus: null, auditStatus: null,
busAuditStatus: null, busAuditStatus: null,
createType: null, createType: null,
splitOrder: null,
}, },
enableMap: { enableMap: {
true: "全量补单", true: "全量补单",
@ -302,6 +303,7 @@ export default {
auditStatus: null, auditStatus: null,
busAuditStatus: null, busAuditStatus: null,
createType: null, createType: null,
splitOrder: null,
}; };
this.modifyDialogVisible = true; this.modifyDialogVisible = true;

@ -89,7 +89,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row style="margin-bottom: 20px"> <el-row>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="创建单据模式" prop="createType"> <el-form-item label="创建单据模式" prop="createType">
@ -117,7 +117,19 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row style="margin-bottom: 20px">
<el-col :span="11">
<el-form-item label="单据拆单类型" prop="createType">
<el-select v-model="inputQuery.splitOrder" placeholder="单据拆单类型" size="small"
style="width: 90%">
<el-option label="无需拆单" :value="0"></el-option>
<el-option label="按入账库拆单" :value="1"></el-option>
<el-option label="按预验收库拆单" :value="2"></el-option>
<el-option label="按寄售仓库拆单" :value="3"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="11"> <el-col :span="11">
<el-form-item label="默认补单仓库" prop="defaultInvCode"> <el-form-item label="默认补单仓库" prop="defaultInvCode">
<el-select v-model="inputQuery.defaultInvCode" placeholder="默认补单仓库" clearable size="small" <el-select v-model="inputQuery.defaultInvCode" placeholder="默认补单仓库" clearable size="small"

Loading…
Cancel
Save