外包材
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
try {
|
||||
let res = await insideCodeInsert(e)
|
||||
if (res) {
|
||||
this.dataList.push(res.data)
|
||||
this.dataList = [...this.dataList, ...res.data]
|
||||
} else {
|
||||
this.dataList = []
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</view>
|
||||
<view class="zd-row border-bottom">
|
||||
<view class="zd-col-7">
|
||||
<span class="filter_label">总数量</span>
|
||||
<span class="filter_label filter_input_disabled">总数量</span>
|
||||
</view>
|
||||
<view class="zd-col-24">
|
||||
<input type="number" v-model="num" class="filter_input filter_input_disabled" disabled>
|
||||
@@ -124,7 +124,7 @@
|
||||
try {
|
||||
let res = await getPalletAssembly(e)
|
||||
if (res) {
|
||||
this.dataList.push(res.data)
|
||||
this.dataList = [...this.dataList, ...res.data]
|
||||
this.num = this.dataList.reduce((sum, item) => sum + Number(item.qty), 0)
|
||||
} else {
|
||||
this.dataList = []
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
try {
|
||||
let res = await directlyOutCodeInsert(e)
|
||||
if (res) {
|
||||
this.dataList.push(res.data)
|
||||
this.dataList = [...this.dataList, ...res.data]
|
||||
this.dataList.forEach(e => {
|
||||
e.initialQty = e.qty
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user