|
|
@ -78,6 +78,28 @@
|
|
|
|
></el-date-picker>
|
|
|
|
></el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-form-item prop="workPlaceCode" class="query-form-item" label="当前工位:">
|
|
|
|
|
|
|
|
<el-select
|
|
|
|
|
|
|
|
v-model="filterQuery.workPlaceCode"
|
|
|
|
|
|
|
|
placeholder="当前工位"
|
|
|
|
|
|
|
|
style="width: 90%"
|
|
|
|
|
|
|
|
disabled
|
|
|
|
|
|
|
|
filterable
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="item in curWorkPlaces"
|
|
|
|
|
|
|
|
:key="item.workplaceId"
|
|
|
|
|
|
|
|
:label="item.workplaceName"
|
|
|
|
|
|
|
|
:value="item.workplaceId"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<span style="float: left">{{ item.workplaceName }}</span>
|
|
|
|
|
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{
|
|
|
|
|
|
|
|
item.workplaceId
|
|
|
|
|
|
|
|
}}</span>
|
|
|
|
|
|
|
|
</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
<div class="top-right-btn">
|
|
|
|
<div class="top-right-btn">
|
|
|
@ -676,6 +698,7 @@ import {convertDate} from "@/utils/date";
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
|
|
|
|
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
|
|
|
|
import {getCodeList} from "@/api/inout/code";
|
|
|
|
import {getCodeList} from "@/api/inout/code";
|
|
|
|
|
|
|
|
import { listPage } from '@/api/basic/workPlace/sysWorkplaceManage'
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "chooseDraftOrderDialog",
|
|
|
|
name: "chooseDraftOrderDialog",
|
|
|
@ -858,7 +881,8 @@ export default {
|
|
|
|
curRow: null,
|
|
|
|
curRow: null,
|
|
|
|
//out:预出库扫码;return:预出库退回;search:预出库单查询
|
|
|
|
//out:预出库扫码;return:预出库退回;search:预出库单查询
|
|
|
|
splitType: null,
|
|
|
|
splitType: null,
|
|
|
|
radioCh: ''
|
|
|
|
radioCh: '',
|
|
|
|
|
|
|
|
curWorkPlaces: ''
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
@ -1165,7 +1189,23 @@ export default {
|
|
|
|
choose(){
|
|
|
|
choose(){
|
|
|
|
this.closeChooseDialog()
|
|
|
|
this.closeChooseDialog()
|
|
|
|
this.handleChoose(this.radioCh)
|
|
|
|
this.handleChoose(this.radioCh)
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
//获取当前货位
|
|
|
|
|
|
|
|
findCurWorkPlaces(val) {
|
|
|
|
|
|
|
|
let query = {
|
|
|
|
|
|
|
|
key: val,
|
|
|
|
|
|
|
|
status: 1,
|
|
|
|
|
|
|
|
// invCode: this.orderFormData.invCode,
|
|
|
|
|
|
|
|
page: 1,
|
|
|
|
|
|
|
|
limit: 100,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
listPage(query).then((res) => {
|
|
|
|
|
|
|
|
this.curWorkPlaces = res.data.list || [];
|
|
|
|
|
|
|
|
if (this.curWorkPlaces.length == 1) {
|
|
|
|
|
|
|
|
this.orderFormData.workPlaceCode = this.curWorkPlaces[0].workplaceId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
@ -1177,6 +1217,7 @@ export default {
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getInvList(this);
|
|
|
|
this.getInvList(this);
|
|
|
|
this.getBusType(this);
|
|
|
|
this.getBusType(this);
|
|
|
|
|
|
|
|
this.findCurWorkPlaces();
|
|
|
|
|
|
|
|
|
|
|
|
this.splitType = this.$route.query.splitType;
|
|
|
|
this.splitType = this.$route.query.splitType;
|
|
|
|
if (this.splitType == "search") {
|
|
|
|
if (this.splitType == "search") {
|
|
|
@ -1190,7 +1231,7 @@ export default {
|
|
|
|
this.filterQuery.statusType = 'scan_code';
|
|
|
|
this.filterQuery.statusType = 'scan_code';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getHead("IoSplitFinishCode", "1").then((re) => {
|
|
|
|
getHead("chooseDraftOrder", "1").then((re) => {
|
|
|
|
// 处理返回的数据
|
|
|
|
// 处理返回的数据
|
|
|
|
this.tableObj = re.data;
|
|
|
|
this.tableObj = re.data;
|
|
|
|
this.tableHeader = re.data.tableList;
|
|
|
|
this.tableHeader = re.data.tableList;
|
|
|
|