跟单表修订
This commit is contained in:
@@ -1,16 +1,36 @@
|
||||
<template>
|
||||
<div>
|
||||
首页
|
||||
</div>
|
||||
<Row>
|
||||
<div class="wrapper">
|
||||
<h4>
|
||||
<Icon type="heart"></Icon> save
|
||||
</h4>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<Input v-model="value1" @on-change="value1Change"></Input>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<Input v-model="value2" @on-change="value2Change"></Input>
|
||||
</div>
|
||||
</Row>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name:"Index"
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
export default {
|
||||
name: 'add',
|
||||
data() {
|
||||
return {
|
||||
value1:'',
|
||||
value2:''
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
value1Change:function() {
|
||||
var obj = this
|
||||
this.$emit('value1', obj.value1)
|
||||
},
|
||||
value2Change:function() {
|
||||
var obj = this
|
||||
this.$emit('value2', obj.value2)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -192,16 +192,10 @@ export default {
|
||||
{
|
||||
title: "未完成量",
|
||||
align: "center",
|
||||
|
||||
key: "wwc",
|
||||
fixed: "left",
|
||||
width: 95,
|
||||
render: (h, params) => {
|
||||
return (
|
||||
<span>
|
||||
{numberFormat(params.row.qty - params.row.qualified_in_qty)}
|
||||
</span>
|
||||
);
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
@@ -245,27 +239,29 @@ export default {
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: "单行需求",
|
||||
title: "单台用量",
|
||||
align: "center",
|
||||
key: "dtty",
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
title: "应领量",
|
||||
align: "center",
|
||||
key: "qty1",
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
title: "单行已领",
|
||||
title: "已领",
|
||||
align: "center",
|
||||
key: "issqty",
|
||||
width: 110,
|
||||
},
|
||||
{
|
||||
title: "单行未领",
|
||||
title: "未领",
|
||||
align: "center",
|
||||
|
||||
key: "wll",
|
||||
width: 110,
|
||||
render: (h, params) => {
|
||||
return (
|
||||
<span>{numberFormat(params.row.qty1 - params.row.issqty)}</span>
|
||||
);
|
||||
},
|
||||
|
||||
},
|
||||
{
|
||||
title: "条件内未领",
|
||||
@@ -274,6 +270,20 @@ export default {
|
||||
width: 110,
|
||||
key: "mdqty",
|
||||
},
|
||||
{
|
||||
title: "锁定",
|
||||
align: "center",
|
||||
|
||||
width: 110,
|
||||
key: "sdwl",
|
||||
},
|
||||
{
|
||||
title: "审核",
|
||||
align: "center",
|
||||
|
||||
width: 110,
|
||||
key: "shwl",
|
||||
},
|
||||
{
|
||||
title: "总未领量",
|
||||
align: "center",
|
||||
@@ -293,12 +303,7 @@ export default {
|
||||
width: 100,
|
||||
},
|
||||
|
||||
{
|
||||
title: "现存无废品",
|
||||
align: "center",
|
||||
key: "dqty",
|
||||
width: 110,
|
||||
},
|
||||
|
||||
{
|
||||
title: "采购在途",
|
||||
align: "center",
|
||||
@@ -323,6 +328,30 @@ export default {
|
||||
key: "momqty",
|
||||
width: 90,
|
||||
},
|
||||
{
|
||||
title: "净存",
|
||||
align: "center",
|
||||
key: "q",
|
||||
width: 90,
|
||||
},
|
||||
{
|
||||
title: "计划开工",
|
||||
align: "center",
|
||||
key: "start_date",
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: "计划开工",
|
||||
align: "center",
|
||||
key: "due_date",
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: "结案天数",
|
||||
align: "center",
|
||||
key: "jandete",
|
||||
width: 90,
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -167,6 +167,7 @@ export default {
|
||||
key: "rqty",
|
||||
width: 100,
|
||||
},
|
||||
|
||||
{
|
||||
title: "预计到货日期",
|
||||
align: "center",
|
||||
|
||||
Reference in New Issue
Block a user