界面修改

20240912_adapter_z
yewj 10 months ago
parent c96e1b7d9d
commit 5e8e80b3d3

@ -196,26 +196,26 @@
<!-- :refreshPanel="refreshCodesPanelP"--> <!-- :refreshPanel="refreshCodesPanelP"-->
<!-- ></PanelOrderManuTagCode>--> <!-- ></PanelOrderManuTagCode>-->
<!-- </el-tab-pane>--> <!-- </el-tab-pane>-->
<el-tab-pane label="拆零详情" name="prescribeCodePanel1"> <!-- <el-tab-pane label="拆零详情" name="prescribeCodePanel1">-->
<prescribeCodePanel <!-- <prescribeCodePanel-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
:fifoSplit="1" <!-- :fifoSplit="1"-->
></prescribeCodePanel> <!-- ></prescribeCodePanel>-->
</el-tab-pane> <!-- </el-tab-pane>-->
<el-tab-pane label="整取详情" name="prescribeCodePanel2"> <!-- <el-tab-pane label="整取详情" name="prescribeCodePanel2">-->
<prescribeCodePanel <!-- <prescribeCodePanel-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
:fifoSplit="2" <!-- :fifoSplit="2"-->
></prescribeCodePanel> <!-- ></prescribeCodePanel>-->
</el-tab-pane> <!-- </el-tab-pane>-->
<el-tab-pane label="整单详情" name="PanelOrderAllDetail"> <!-- <el-tab-pane label="整单详情" name="PanelOrderAllDetail">-->
<PanelOrderAllDetail <!-- <PanelOrderAllDetail-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
></PanelOrderAllDetail> <!-- ></PanelOrderAllDetail>-->
</el-tab-pane> <!-- </el-tab-pane>-->
</el-tabs> </el-tabs>
@ -324,7 +324,7 @@ export default {
}, },
data() { data() {
return { return {
tabsName:[ tabsName: [
'prescribeOriginPanel', 'prescribeOriginPanel',
'prescribeCodePanel1', 'prescribeCodePanel1',
'prescribeCodePanel2', 'prescribeCodePanel2',
@ -729,6 +729,8 @@ export default {
this.finishOrder(); this.finishOrder();
}).catch(() => { }).catch(() => {
}); });
} else {
this.$message.error(res.message)
} }
}).catch(() => { }).catch(() => {
this.loading = false this.loading = false
@ -835,11 +837,11 @@ export default {
this.refreshCodesPanel(this); this.refreshCodesPanel(this);
this.$refs.inputRef.focus(); this.$refs.inputRef.focus();
}, },
selectTabsname(value){ selectTabsname(value) {
if (this.$isBlank(this.filterQuery.code) && this.busTypeList.length > 0){ if (this.$isBlank(this.filterQuery.code) && this.busTypeList.length > 0) {
let busType = this.busTypeList.find(item => item.documentTypeCode === value); let busType = this.busTypeList.find(item => item.documentTypeCode === value);
let autoTag = busType.autoTag; let autoTag = busType.autoTag;
if (autoTag == 1){ if (autoTag == 1) {
this.editableTabsValue = this.tabsName[1] this.editableTabsValue = this.tabsName[1]
} }
} }

@ -20,26 +20,26 @@
></prescribeOriginPanel> ></prescribeOriginPanel>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="拆零详情" name="prescribeCodePanel1"> <!-- <el-tab-pane label="拆零详情" name="prescribeCodePanel1">-->
<prescribeCodePanel <!-- <prescribeCodePanel-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
:fifoSplit="1" <!-- :fifoSplit="1"-->
></prescribeCodePanel> <!-- ></prescribeCodePanel>-->
</el-tab-pane> <!-- </el-tab-pane>-->
<el-tab-pane label="整取详情" name="prescribeCodePanel2"> <!-- <el-tab-pane label="整取详情" name="prescribeCodePanel2">-->
<prescribeCodePanel <!-- <prescribeCodePanel-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
:fifoSplit="2" <!-- :fifoSplit="2"-->
></prescribeCodePanel> <!-- ></prescribeCodePanel>-->
</el-tab-pane> <!-- </el-tab-pane>-->
<el-tab-pane label="整单详情" name="PanelOrderAllDetail"> <!-- <el-tab-pane label="整单详情" name="PanelOrderAllDetail">-->
<PanelOrderAllDetail <!-- <PanelOrderAllDetail-->
v-if="panelALive" <!-- v-if="panelALive"-->
:prescribeData="curRow" <!-- :prescribeData="curRow"-->
></PanelOrderAllDetail> <!-- ></PanelOrderAllDetail>-->
</el-tab-pane> <!-- </el-tab-pane>-->
</el-tabs> </el-tabs>
</el-form> </el-form>

Loading…
Cancel
Save