1.修复bug

fengcang
x_z 3 years ago
parent d0d9eb4003
commit 8004ecfffa

@ -794,6 +794,7 @@
<selectLocalUdi <selectLocalUdi
:closeDialog="closeDialog" :closeDialog="closeDialog"
:relId="relId" :relId="relId"
:isImport="isImport"
:isImportUdi="isImportUdi" :isImportUdi="isImportUdi"
:data="thisData" :data="thisData"
@closeUdi="closeUdi" @closeUdi="closeUdi"
@ -1156,6 +1157,7 @@ export default {
intentSelectUdi(val) { intentSelectUdi(val) {
this.relId = val.id; this.relId = val.id;
this.isImportUdi = true; this.isImportUdi = true;
this.isImport = true;
this.thisData = val; this.thisData = val;
this.selectLocalVisible = true; this.selectLocalVisible = true;
}, },
@ -1163,6 +1165,13 @@ export default {
intentImportUdi() { intentImportUdi() {
this.relId = null; this.relId = null;
this.thisData = {
nameCode: null,
cpmctymc: null,
ggxh: null,
ylqxzcrbarmc: null
};
this.isImport = false;
this.selectLocalVisible = true; this.selectLocalVisible = true;
}, },

@ -344,6 +344,7 @@
</div> </div>
<el-input <el-input
style="width: 65%" style="width: 65%"
:disabled="true"
size="small" size="small"
splaceholder="请输入内容" splaceholder="请输入内容"
v-model="editQuery.sptm" v-model="editQuery.sptm"
@ -357,6 +358,7 @@
</div> </div>
<el-input <el-input
style="width: 65%" style="width: 65%"
:disabled="true"
size="small" size="small"
splaceholder="请输入内容" splaceholder="请输入内容"
v-model="editQuery.ybbm" v-model="editQuery.ybbm"
@ -643,13 +645,13 @@
<el-checkbox v-model="editQuery.isAdavence" disabled <el-checkbox v-model="editQuery.isAdavence" disabled
>是否寄售 >是否寄售
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoBatch" class="" <el-checkbox v-model="editQuery.allowNoBatch" disabled
>允许无批次号 >允许无批次号
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoExpire" class="" <el-checkbox v-model="editQuery.allowNoExpire" disabled
>允许无失效日期 >允许无失效日期
</el-checkbox> </el-checkbox>
<el-checkbox v-model="editQuery.allowNoProduct" class="" <el-checkbox v-model="editQuery.allowNoProduct" disabled
>允许无生产日期 >允许无生产日期
</el-checkbox> </el-checkbox>
</div> </div>
@ -1033,7 +1035,6 @@ export default {
handleSelectionChange(val) { handleSelectionChange(val) {
console.log("----" + val);
this.multipleSelection = val; this.multipleSelection = val;
}, },
@ -1066,7 +1067,6 @@ export default {
page: 1, page: 1,
limit: 10, limit: 10,
}; };
console.log("this.editQuery.isUseDy = " + this.editQuery.isUseDy);
this.getDetailList(ttquery); this.getDetailList(ttquery);
this.getThirdSysDetail(); this.getThirdSysDetail();

@ -157,8 +157,8 @@
</div> </div>
</el-card> </el-card>
<el-card class="el-card" v-if="!isImportUdi"> <el-card class="el-card" v-if="isImport">
<div v-if="!isImport"> <div >
<el-row :gutter="20" class="el-row" type="flex"> <el-row :gutter="20" class="el-row" type="flex">
<el-col :span="12" class="el-col"> <el-col :span="12" class="el-col">
<div class="text item"> <div class="text item">
@ -533,7 +533,6 @@ export default {
return ""; return "";
}, },
handleErpChange(val) { handleErpChange(val) {
console.log(val);
this.currentRow = val; this.currentRow = val;
}, },
intentBack() { intentBack() {
@ -640,11 +639,9 @@ export default {
}, },
handleSelectionUdiChange(val) { handleSelectionUdiChange(val) {
console.log("----" + val);
this.multipleUdiSelection = val; this.multipleUdiSelection = val;
}, },
findMethod(query) { findMethod(query) {
console.log(query);
let cQuery = { let cQuery = {
ylqxzcrbarmc: query, ylqxzcrbarmc: query,
page: 1, page: 1,
@ -664,6 +661,8 @@ export default {
components: { components: {
selectDiDetail, selectDiDetail,
}, },
created() {
}
}; };
</script> </script>

Loading…
Cancel
Save