|
|
@ -64,7 +64,7 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<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"
|
|
|
|
<el-select :disabled="inputQuery.corpType !=3 || inputQuery.inStock!= true || inputQuery.actionType != 1"
|
|
|
|
size="small"
|
|
|
|
size="small"
|
|
|
|
style="width: 90%"
|
|
|
|
style="width: 90%"
|
|
|
|
v-model="inputQuery.supplementOrderType"
|
|
|
|
v-model="inputQuery.supplementOrderType"
|
|
|
@ -86,7 +86,8 @@
|
|
|
|
<el-row type="flex">
|
|
|
|
<el-row type="flex">
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-form-item label="允许手动输入客户信息" prop="genUnit">
|
|
|
|
<el-form-item label="允许手动输入客户信息" prop="genUnit">
|
|
|
|
<el-select v-model="inputQuery.genUnit" :disabled="inputQuery.corpType != 1" style="width: 90%"
|
|
|
|
<el-select v-model="inputQuery.genUnit"
|
|
|
|
|
|
|
|
:disabled="inputQuery.corpType != 1 || inputQuery.mainAction!='WareHouseOut'" style="width: 90%"
|
|
|
|
placeholder="是否允许" clearable
|
|
|
|
placeholder="是否允许" clearable
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option label="允许" :value="true"></el-option>
|
|
|
|
<el-option label="允许" :value="true"></el-option>
|
|
|
@ -96,14 +97,14 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<!-- :disabled="inputQuery.mainAction!='WareHouseIn' || inputQuery.corpType!=2 "-->
|
|
|
|
<!-- :disabled="inputQuery.mainAction!='WareHouseIn' || inputQuery.corpType!=2 "-->
|
|
|
|
<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
|
|
|
|
clearable
|
|
|
|
placeholder="请选择入库方式">
|
|
|
|
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>
|
|
|
|
<el-option label="寄售" :value="3"></el-option>
|
|
|
|
<el-option label="寄售" :value="3"></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
@ -112,12 +113,13 @@
|
|
|
|
</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.spUse"
|
|
|
|
<el-select v-model="inputQuery.spUse"
|
|
|
|
:disabled=" inputQuery.corpType!=2 "
|
|
|
|
:disabled=" inputQuery.corpType!=2 "
|
|
|
|
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>
|
|
|
@ -126,7 +128,7 @@
|
|
|
|
<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.corpType != 2 || inputQuery.inStock==false "
|
|
|
|
|
|
|
|
|
|
|
|
style="width: 90%"
|
|
|
|
style="width: 90%"
|
|
|
|
placeholder="是否退回" clearable
|
|
|
|
placeholder="是否退回" clearable
|
|
|
@ -1155,9 +1157,14 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
if (this.inputQuery.corpType != 2) { //往来类型非供应商时,采购方式未无
|
|
|
|
if (this.inputQuery.corpType != 2) { //往来类型非供应商时,采购方式未无
|
|
|
|
this.inputQuery.actionType = 0;
|
|
|
|
this.inputQuery.actionType = 0;
|
|
|
|
this.inputQuery.spUse = false;
|
|
|
|
this.inputQuery.spUse = null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (this.inputQuery.corpType == 3) {//往来类型为内部科室
|
|
|
|
|
|
|
|
// this.inputQuery.inStock = null;
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
//获取单据类型
|
|
|
|
//获取单据类型
|
|
|
|