|
|
@ -99,7 +99,7 @@ |
|
|
|
<el-form-item label="流水号:" prop="hostSN"> |
|
|
|
<!-- <el-form-item label="大众顺序号:" prop="hostSN"> --> |
|
|
|
<el-input |
|
|
|
v-model="listQuery.HostSNBegin" |
|
|
|
v-model="listQuery.hostSN" |
|
|
|
placeholder="" |
|
|
|
clearable |
|
|
|
size="small" |
|
|
@ -189,7 +189,7 @@ |
|
|
|
end-placeholder="结束日期" |
|
|
|
></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="单据状态" prop="State" v-show="isShowState"> |
|
|
|
<!-- <el-form-item label="单据状态" prop="State" v-show="isShowState"> |
|
|
|
<el-checkbox-group v-model="listQuery.state"> |
|
|
|
<el-checkbox |
|
|
|
v-for="(item, index) in billState" |
|
|
@ -200,7 +200,7 @@ |
|
|
|
{{ item.name }} |
|
|
|
</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
<el-form-item > |
|
|
|
<el-button |
|
|
@ -475,11 +475,11 @@ export default { |
|
|
|
{ required: true, message: "必须输入!", trigger: "blur" }, |
|
|
|
], |
|
|
|
}, |
|
|
|
billState: [ |
|
|
|
{ id: 2, name: "未打印" }, |
|
|
|
{ id: 3, name: "已打印" }, |
|
|
|
// { id: 4, name: "不可打印" }, |
|
|
|
], |
|
|
|
// billState: [ |
|
|
|
// { id: 2, name: "未打印" }, |
|
|
|
// { id: 3, name: "已打印" }, |
|
|
|
// // { id: 4, name: "不可打印" }, |
|
|
|
// ], |
|
|
|
valueSelect: "", |
|
|
|
customerInfos: [], |
|
|
|
customerInfosMB: [], |
|
|
@ -610,25 +610,25 @@ export default { |
|
|
|
this.getPLChildGroupList() |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.billState.forEach((element, index) => { |
|
|
|
if (index === 0) { |
|
|
|
this.listQuery.state.push(element.id); |
|
|
|
} |
|
|
|
}); |
|
|
|
// this.billState.forEach((element, index) => { |
|
|
|
// if (index === 0) { |
|
|
|
// this.listQuery.state.push(element.id); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
this.getProductLine(); |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
getDefaultField() { |
|
|
|
var tempsTabs = []; |
|
|
|
tempsTabs.push({ label: "流水号", prop: "serialNum", width: 100 }); |
|
|
|
tempsTabs.push({ label: "大众顺序号", prop: "hostSN", width: 120 }); |
|
|
|
// tempsTabs.push({ label: "流水号", prop: "serialNum", width: 100 }); |
|
|
|
tempsTabs.push({ label: "流水号", prop: "hostSN", width: 120 }); |
|
|
|
// tempsTabs.push({ |
|
|
|
// label: "底盘号", |
|
|
|
// prop: "vin", |
|
|
|
// width: 130, |
|
|
|
// }); |
|
|
|
tempsTabs.push({ |
|
|
|
label: "KNR", |
|
|
|
label: "车身号", |
|
|
|
prop: "knr", |
|
|
|
width: 150, |
|
|
|
}); |
|
|
@ -886,9 +886,9 @@ export default { |
|
|
|
this.listQuery.ZHBBillStatus = null; |
|
|
|
} else { |
|
|
|
this.listQuery.canNotPrint = null; |
|
|
|
if (this.listQuery.state !== undefined) { |
|
|
|
this.listQuery.billStatus = this.listQuery.state[0]; |
|
|
|
} |
|
|
|
// if (this.listQuery.state !== undefined) { |
|
|
|
// this.listQuery.billStatus = this.listQuery.state[0]; |
|
|
|
// } |
|
|
|
|
|
|
|
if (this.listQuery.productType === 2) { |
|
|
|
this.listQuery.ZHBBillStatus = this.listQuery.billStatus; |
|
|
@ -1573,7 +1573,7 @@ export default { |
|
|
|
this.$refs.btn1.$el.innerText = "打印门板发货排序单"; |
|
|
|
this.$refs.btn2.$el.innerText = "重新打印门板发货排序单"; |
|
|
|
this.$refs.btn3.$el.innerText = "补打门板发货排序单"; |
|
|
|
this.listQuery.state.push(this.billState[0].id); |
|
|
|
// this.listQuery.state.push(this.billState[0].id); |
|
|
|
this.isShowState = true; |
|
|
|
} else if (this.listQuery.productType === 2) { |
|
|
|
this.listQuery.GroupName = this.PLChildGroupList[0] |
|
|
|