新增业务单新增编辑时上方扫码栏位信息动态配置隐藏

20240912_adapter
qyt 6 months ago
parent 85b68ba192
commit cf7a86d94e

@ -6,7 +6,7 @@
ref="dataForm" ref="dataForm"
label-width="110px" label-width="110px"
> >
<el-card style="margin: 5px;margin-top: -20px"> <el-card style="margin: 5px;margin-top: -20px" v-if="scanViewSwitch == true">
<el-row v-if="viewType != 1"> <el-row v-if="viewType != 1">
<el-col :span="18"> <el-col :span="18">
<el-form-item prop="code" label="扫码录入:"> <el-form-item prop="code" label="扫码录入:">
@ -689,7 +689,11 @@ export default {
type: Object, type: Object,
required: true, required: true,
}, },
scanViewSwitch: {
type: Boolean,
required: false,
default: true,
},
}, },
data() { data() {

@ -353,6 +353,7 @@
:closeDialog="closeDialog" :closeDialog="closeDialog"
:orderQuery="idQuery" :orderQuery="idQuery"
:viewType="viewType" :viewType="viewType"
:scanViewSwitch="scanViewSwitch"
></addOrder> ></addOrder>
</el-dialog> </el-dialog>
<el-dialog <el-dialog
@ -532,6 +533,7 @@ export default {
thisData: {}, thisData: {},
selectThrOrderVisible: false, selectThrOrderVisible: false,
selectReceiveVisible: false, selectReceiveVisible: false,
scanViewSwitch:false,
}; };
}, },
@ -573,7 +575,6 @@ export default {
let query = { let query = {
code: this.filterQuery.invCode, code: this.filterQuery.invCode,
enabled: true, enabled: true,
productType:1
}; };
getLocalJoinByUserOptimize(query) getLocalJoinByUserOptimize(query)
.then((response) => { .then((response) => {

Loading…
Cancel
Save