Commit fc72b872 authored by renjintao's avatar renjintao

排产顺序

parent 4006cb5c
...@@ -29,7 +29,8 @@ export default { ...@@ -29,7 +29,8 @@ export default {
default: "text" default: "text"
}, },
title: { title: {
type: String type: String,
default:'确定'
}, },
msg: { msg: {
type: String, type: String,
......
...@@ -84,9 +84,9 @@ ...@@ -84,9 +84,9 @@
<h4>请选择排产模型:</h4> <h4>请选择排产模型:</h4>
<RadioGroup v-model="scheduleType" class="radioList" @on-change="onchangeScheduleType"> <RadioGroup v-model="scheduleType" class="radioList" @on-change="onchangeScheduleType">
<Radio label="1" border>APS排产</Radio> <Radio label="1" border>APS排产</Radio>
<Radio label="2" border>智能排产</Radio> <Radio label="4" border>智能排产</Radio>
<Radio label="3" border>整机排产</Radio> <Radio label="2" border>整机排产</Radio>
<Radio label="4" border>流水排产</Radio> <Radio label="3" border>流水排产</Radio>
</RadioGroup> </RadioGroup>
<p class="pl30 pt10" v-show="scheduleType!=''"> <p class="pl30 pt10" v-show="scheduleType!=''">
......
...@@ -6,6 +6,24 @@ ...@@ -6,6 +6,24 @@
<div v-show="!load"> <div v-show="!load">
<DataGrid :columns="columns" :data="result" border :tool="false" :height="820" :page="false"></DataGrid> <DataGrid :columns="columns" :data="result" border :tool="false" :height="820" :page="false"></DataGrid>
</div> </div>
<Modal v-model="modalSplit" title="订单分卡" width="800">
<Form model="entity" label-width="100">
<Row >
<Col span="24">
<FormItem label="选择序列号"></FormItem>
</Col>
<Col span="24">
<FormItem label="选择分卡原因"></FormItem>
</Col>
<Col span="24">
<FormItem label="备注说明"></FormItem>
</Col>
<Col span="24">
<FormItem label="选择序列号"></FormItem>
</Col>
</Row>
</Form>
</Modal>
</div> </div>
</template> </template>
<script> <script>
...@@ -16,6 +34,8 @@ export default { ...@@ -16,6 +34,8 @@ export default {
data() { data() {
return { return {
modalSplit:false,
entity:{},
columns: [ columns: [
{ {
key: "detailId", key: "detailId",
...@@ -144,7 +164,7 @@ export default { ...@@ -144,7 +164,7 @@ export default {
"op", "op",
{ {
attrs: { oprate: "edit" }, attrs: { oprate: "edit" },
style: params.row.status == 5 ? "" : "display:none", style: params.row.status == 12 ? "" : "display:none",
on: { click: () => this.split(params.row) }, on: { click: () => this.split(params.row) },
}, },
"分卡" "分卡"
...@@ -174,6 +194,16 @@ export default { ...@@ -174,6 +194,16 @@ export default {
}, },
created() {}, created() {},
methods: { methods: {
split(row){//工单分卡
alert(JSON.stringify(row))
this.modalSplit=true
},
pause(row){//暂停工单
alert(JSON.stringify(row))
},
continue(row){//继续工单
alert(JSON.stringify(row))
},
//截取字符串 //截取字符串
sliceStr(str, lenS, lenE) { sliceStr(str, lenS, lenE) {
return str.slice(lenS, lenE); return str.slice(lenS, lenE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment