no message
parent
6543dd21d2
commit
c8eef05273
|
|
@ -117,6 +117,18 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="点位">
|
||||||
|
<el-select v-model="form.point" @focus="findByPoint" clearable value-key="id" filterable style="width:180px"
|
||||||
|
placeholder="请选择点位">
|
||||||
|
<el-option
|
||||||
|
v-for="point in pointList"
|
||||||
|
:key="point.id"
|
||||||
|
:label="point.code"
|
||||||
|
:value="point"></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button type="text" @click="crud.cancelCU">取消</el-button>
|
<el-button type="text" @click="crud.cancelCU">取消</el-button>
|
||||||
|
|
@ -204,7 +216,6 @@ import rrOperation from '@crud/RR.operation'
|
||||||
import crudOperation from '@crud/CRUD.operation'
|
import crudOperation from '@crud/CRUD.operation'
|
||||||
import udOperation from '@crud/UD.operation'
|
import udOperation from '@crud/UD.operation'
|
||||||
import pagination from '@crud/Pagination'
|
import pagination from '@crud/Pagination'
|
||||||
import DonMessage from "@/utils/message";
|
|
||||||
import {getToken} from "@/utils/auth";
|
import {getToken} from "@/utils/auth";
|
||||||
import {getAres} from "@/api/area";
|
import {getAres} from "@/api/area";
|
||||||
import ContainerIn from "@/views/base-data/stock/containerIn.vue";
|
import ContainerIn from "@/views/base-data/stock/containerIn.vue";
|
||||||
|
|
@ -218,7 +229,7 @@ const defaultForm = {
|
||||||
stockType: null,
|
stockType: null,
|
||||||
code: null,
|
code: null,
|
||||||
pid: null,
|
pid: null,
|
||||||
pointId: null,
|
point: null,
|
||||||
subCount: null,
|
subCount: null,
|
||||||
name: null,
|
name: null,
|
||||||
typeId: null,
|
typeId: null,
|
||||||
|
|
@ -261,6 +272,7 @@ export default {
|
||||||
//地标点数据
|
//地标点数据
|
||||||
fileList: [],
|
fileList: [],
|
||||||
areas: [],
|
areas: [],
|
||||||
|
pointList: [],
|
||||||
ContainerIn: {
|
ContainerIn: {
|
||||||
containerCode: '',
|
containerCode: '',
|
||||||
position: ''
|
position: ''
|
||||||
|
|
@ -286,6 +298,7 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.getArea();
|
this.getArea();
|
||||||
|
this.findByPoint();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleSuccess(response, file, fileList, crud) {
|
handleSuccess(response, file, fileList, crud) {
|
||||||
|
|
@ -333,6 +346,11 @@ export default {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
findByPoint() {
|
||||||
|
queryPointList({status: 'FREE'}).then(res => {
|
||||||
|
this.pointList = res
|
||||||
|
})
|
||||||
|
},
|
||||||
toContainerIn(data) {
|
toContainerIn(data) {
|
||||||
this.$refs.containerIn.dialogVisible = true
|
this.$refs.containerIn.dialogVisible = true
|
||||||
this.$refs.containerIn.containerInClick(data);
|
this.$refs.containerIn.containerInClick(data);
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@
|
||||||
<el-button :loading="crud.status.cu === 2" type="primary" @click="crud.submitCU">确认</el-button>
|
<el-button :loading="crud.status.cu === 2" type="primary" @click="crud.submitCU">确认</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!--满料入库组件-->
|
<!--原材料入库组件-->
|
||||||
<el-dialog :visible.sync="manliao" title="原材料入库" width="400px" :before-close="doManLiaoCancel">
|
<el-dialog :visible.sync="manliao" title="原材料入库" width="400px" :before-close="doManLiaoCancel">
|
||||||
<el-form ref="manLiaoform" :model="BindStock" :rules="manLiaoRules" size="small" label-width="80px">
|
<el-form ref="manLiaoform" :model="BindStock" :rules="manLiaoRules" size="small" label-width="80px">
|
||||||
<el-form-item label="MO" prop="itemCode">
|
<el-form-item label="MO" prop="itemCode">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue