新增预选单选入

prod
曹晨晨 2 years ago
parent abf0ad2dda
commit 7d2731439b

@ -14,6 +14,7 @@
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
v-if="documentShow"
@click.native="OptionalDocument()" @click.native="OptionalDocument()"
>选入预验收库单 >选入预验收库单
</el-button> </el-button>
@ -184,10 +185,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row v-if="documentShow">
<el-col :span="11"> <el-col :span="11">
<el-form-item prop="" label="预验收单据:"> <el-form-item prop="" label="预验收单据:">
<el-input v-model="orderFormData.Acceptance"></el-input> <el-input
:disabled="true"
v-model="orderFormData.checkPreInOrders"
></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -284,7 +288,10 @@
append-to-body append-to-body
@close="closeDialogtwo" @close="closeDialogtwo"
> >
<dialog-create-order-select @giveselectbox="giveselectbox" :closeDialogtwo="closeDialogtwo"> <dialog-create-order-select
@giveselectbox="giveselectbox"
:closeDialogtwo="closeDialogtwo"
>
</dialog-create-order-select> </dialog-create-order-select>
</el-dialog> </el-dialog>
</div> </div>
@ -346,7 +353,7 @@ export default {
remark: null, remark: null,
fromType: 2, fromType: 2,
errMsg: null, errMsg: null,
Acceptance: null, checkPreInOrders: null,
}, },
errView: 0, errView: 0,
// //
@ -419,6 +426,8 @@ export default {
viewBizVisible: false, viewBizVisible: false,
viewCodeVisible: false, viewCodeVisible: false,
viewCodeDetailVisible: false, viewCodeDetailVisible: false,
documentShow:false,//
}; };
}, },
components: { components: {
@ -446,14 +455,18 @@ export default {
}) })
.catch(() => {}); .catch(() => {});
}, },
// //
giveselectbox(val){ giveselectbox(val) {
this.orderFormData.Acceptance=val this.orderFormData.checkPreInOrders = val;
}, },
// //
changeInv() { changeInv() {
this.orderFormData.action = null; this.orderFormData.action = null;
this.getBusTypeByInv(); this.getBusTypeByInv();
// if(scanPreIn = true && backPreinType === 1){
// }
}, },
//, //,
@ -552,6 +565,11 @@ export default {
this.orderFormData.fromInvCode = null; this.orderFormData.fromInvCode = null;
this.findFromInvList(); this.findFromInvList();
} }
if(this.curAction.scanPreIn = true && this.curAction.backPreinType == 1){
this.documentShow=true
}
}, },
// //
@ -914,7 +932,7 @@ export default {
created() { created() {
// //
this.codeFormData.code = ""; this.codeFormData.code = "";
this.giveselectbox() this.giveselectbox();
// //
if (this.viewType == 2) { if (this.viewType == 2) {
//2.13 //2.13

@ -125,7 +125,7 @@
border border
@row-click="handleSelectionChange" @row-click="handleSelectionChange"
> >
<el-table-column type="selection" width="55"></el-table-column> <!-- <el-table-column type="selection" width="55"></el-table-column> -->
<el-table-column label="序号" type="index"></el-table-column> <el-table-column label="序号" type="index"></el-table-column>
<el-table-column <el-table-column
label="扫码单据类型" label="扫码单据类型"
@ -241,12 +241,11 @@ const formJson = {
export default { export default {
name: "IoAuditedOrder", name: "IoAuditedOrder",
props: { props: {
closeDialogtwo: { closeDialogtwo: {
type: Function, type: Function,
required: true, required: true,
},
}, },
},
data() { data() {
return { return {
showSearch: true, showSearch: true,
@ -362,8 +361,8 @@ export default {
resultTotal: 0, resultTotal: 0,
resultDetailLoading: false, resultDetailLoading: false,
resultDetailList: [], resultDetailList: [],
selectboxs:[], selectboxs: [],
selectbox:"", selectbox: "",
}; };
}, },
components: {}, components: {},
@ -401,26 +400,24 @@ export default {
this.getList(); this.getList();
}, },
// //
combine() { combine() {
this.closeDialogtwo() this.closeDialogtwo();
this.$emit("giveselectbox", this.selectbox); this.$emit("giveselectbox", this.currentRow.billNo);
}, },
// // //
select(selection,row){ // select(selection,row){
// console.log(row); // // console.log(row);
this.selectboxs.push(row) // this.selectboxs.push(row)
let nerArr = JSON.parse(JSON.stringify(this.selectboxs)) // let nerArr = JSON.parse(JSON.stringify(this.selectboxs))
let qwe = nerArr.map(item=>{ // let qwe = nerArr.map(item=>{
// // //
return item.billNo // return item.billNo
}) // })
this.selectbox=qwe // this.selectbox=qwe
}, // },
// //
closeLocalDialog(){ closeLocalDialog() {},
},
hideSearch() { hideSearch() {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;
}, },
@ -437,7 +434,7 @@ export default {
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.currentRow = val; this.currentRow = val;
console.log(this.currentRow); console.log(this.currentRow.billNo);
this.getOrderDetails(); this.getOrderDetails();
}, },
// //

@ -35,11 +35,9 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
<<<<<<< HEAD
target: `http://192.168.0.166:9991/`,
=======
target: `http://192.168.0.66:9150/UDI_WMS_MC/`, target: `http://192.168.0.66:9150/UDI_WMS_MC/`,
>>>>>>> 9888474ccf2da85118a27d3e30da15957c8302ff
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "", ["^" + process.env.VUE_APP_BASE_API]: "",

Loading…
Cancel
Save