提交 b10d865e authored 作者: Ras's avatar Ras

新的子表页面

上级 dae08dee
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
iostReceivinglist: { iostReceivinglist: {
list: '/basedata/iostReceiving/queryIostReceivinglistByMainId' list: '/basedata/iostReceiving/queryIostReceivinglistByMainId'
}, },
} },
} }
}, },
props: { props: {
...@@ -388,7 +388,8 @@ ...@@ -388,7 +388,8 @@
type: Boolean, type: Boolean,
default: false, default: false,
required: false required: false
} },
}, },
computed: { computed: {
casesTotal:function(){ casesTotal:function(){
...@@ -532,6 +533,7 @@ ...@@ -532,6 +533,7 @@
} }
let result = curRow.packages * row.cases; let result = curRow.packages * row.cases;
console.log(row.cases)
result = result.toFixed(1) result = result.toFixed(1)
result = result.substring(0, result.length - 2) result = result.substring(0, result.length - 2)
target.setValues([{rowKey: curRow.id, values: {packagesTotal: result}}]); target.setValues([{rowKey: curRow.id, values: {packagesTotal: result}}]);
...@@ -617,8 +619,8 @@ ...@@ -617,8 +619,8 @@
popupCallback(row){ popupCallback(row){
this.form.setFieldsValue(pick(row,'receivingNo','deliveryFactory','warehouseName','customerName','deliveryMan','casesTotal','customerCode','telephone','date', 'createBy')) this.form.setFieldsValue(pick(row,'receivingNo','deliveryFactory','warehouseName','customerName','deliveryMan','casesTotal','customerCode','telephone','date', 'createBy'))
}, },
} },
} }
</script> </script>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
title:'', title:'',
width:800, width:800,
visible: false, visible: false,
disableSubmit: false disableSubmit: false,
} }
}, },
methods:{ methods:{
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
handleCancel () { handleCancel () {
this.close() this.close()
} }
} },
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论