新增预选单选入

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

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

@ -125,7 +125,7 @@
border
@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="扫码单据类型"
@ -245,7 +245,6 @@ export default {
type: Function,
required: true,
},
},
data() {
return {
@ -362,8 +361,8 @@ export default {
resultTotal: 0,
resultDetailLoading: false,
resultDetailList: [],
selectboxs:[],
selectbox:"",
selectboxs: [],
selectbox: "",
};
},
components: {},
@ -402,25 +401,23 @@ export default {
},
//
combine() {
this.closeDialogtwo()
this.$emit("giveselectbox", this.selectbox);
this.closeDialogtwo();
this.$emit("giveselectbox", this.currentRow.billNo);
},
//
select(selection,row){
// //
// select(selection,row){
// console.log(row);
this.selectboxs.push(row)
let nerArr = JSON.parse(JSON.stringify(this.selectboxs))
let qwe = nerArr.map(item=>{
//
return item.billNo
})
this.selectbox=qwe
},
// // console.log(row);
// this.selectboxs.push(row)
// let nerArr = JSON.parse(JSON.stringify(this.selectboxs))
// let qwe = nerArr.map(item=>{
// //
// return item.billNo
// })
// this.selectbox=qwe
// },
//
closeLocalDialog(){
},
closeLocalDialog() {},
hideSearch() {
this.showSearch = !this.showSearch;
},
@ -437,7 +434,7 @@ export default {
},
handleSelectionChange(val) {
this.currentRow = val;
console.log(this.currentRow);
console.log(this.currentRow.billNo);
this.getOrderDetails();
},
//

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

Loading…
Cancel
Save