bug修改

fencang
anthonywj 3 years ago
parent b81ccc6d58
commit f85fe11718

@ -165,7 +165,9 @@
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px"> <el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
<div style="float: right;margin-bottom: 10px;margin-right: 25px"> <div style="float: right;margin-bottom: 10px;margin-right: 25px">
<el-button type="primary" size="small" @click="addBusTypeDialog()"></el-button> <el-button type="primary" size="small" @click="addBusTypeDialog()"
:disabled="configQuery.downstreamEnable">添加扫码单据类型
</el-button>
</div> </div>
<el-table <el-table
:data="checkedBusTypes" :data="checkedBusTypes"

@ -453,22 +453,22 @@
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="24" class="el-col"> <el-col :span="24" class="el-col">
<div style="margin-top: 18px;margin-bottom: 18px"> <div style="margin-top: 18px;margin-bottom: 18px">
<el-checkbox v-model="checked" <el-checkbox v-model="checked" disabled
>以使用单元数量入库 >以使用单元数量入库
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.isDisable" <el-checkbox v-model="editQuery.isDisable" disabled
>是否禁用 >是否禁用
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.isAdavence" <el-checkbox v-model="editQuery.isAdavence" disabled
>是否寄售 >是否寄售
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoBatch" <el-checkbox v-model="editQuery.allowNoBatch" disabled
>允许无批次号 >允许无批次号
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoExpire" <el-checkbox v-model="editQuery.allowNoExpire" disabled
>允许无失效日期 >允许无失效日期
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoProduct" <el-checkbox v-model="editQuery.allowNoProduct" disabled
>允许无生产日期 >允许无生产日期
</el-checkbox> </el-checkbox>
</div> </div>
@ -572,7 +572,7 @@ export default {
selectErpDialogVisible: false, //ERP selectErpDialogVisible: false, //ERP
selectLocalVisible: false, //UDI selectLocalVisible: false, //UDI
isUseDyCheck: false, isUseDyCheck: false,
loading:false, loading: false,
}; };
}, },

@ -1163,9 +1163,19 @@ export default {
} }
}, },
actionChange(item) { actionChange(item) {
// console.log("item = " + item);
// if (item == '') {
// this.formData.locStorageCode == null;
// } else {
this.curAction = this.getActionItem(item); this.curAction = this.getActionItem(item);
this.formData.locStorageCode = this.curAction.storageCode;
if (this.curAction.storageCode != null)
this.formData.locStorageCode = this.curAction.storageCode;
this.findMethod(); this.findMethod();
// }
}, },
locInChange(item) { locInChange(item) {
console.log(item); console.log(item);

@ -569,7 +569,7 @@ export default {
if (this.$isBlank(this.codeArray[i].productDate) && this.$isBlank(this.codeArray[i].expireDate)) { if (this.$isBlank(this.codeArray[i].productDate) && this.$isBlank(this.codeArray[i].expireDate)) {
return this.$message.error('生产日期与失效日期不能全部为空'); return this.$message.error('生产日期与失效日期不能全部为空');
} }
if (this.$isBlank(this.codeArray[i].reCount) || this.codeArray[i].reCount === '0') { if (this.$isBlank(this.codeArray[i].reCount) || this.codeArray[i].reCount <1) {
return this.$message.error('配货数量不能小于0'); return this.$message.error('配货数量不能小于0');
} }
if (this.detailCountMax) { if (this.detailCountMax) {

Loading…
Cancel
Save