Authored by 李奇

发货数量修改

... ... @@ -19,6 +19,9 @@
},
lackNum: {
type: [String, Number]
},
shipNum: {
type: [String, Number]
}
},
data() {
... ... @@ -30,7 +33,7 @@
return this.buyNum - this.lackNum;
},
currentNeed() {
return this.actualNeed - this.lackNum;
return this.actualNeed - this.shipNum;
}
}
}
... ...
... ... @@ -26,9 +26,6 @@
color: {
type: String
},
color: {
type: String
},
size: {
type: String
},
... ... @@ -36,7 +33,7 @@
type: String
},
price: {
type: String
type: [String, Number]
},
name: {
type: String
... ...
... ... @@ -94,7 +94,10 @@ export default () => {
render(row){
return `<cell-prd-info
:sku="row.productSku"
color="mock"
:color="row.colorName"
:name="row.productName"
:brand="row.brandName"
:price="row.salesPrice"
:size="row.sizeName"
></cell-prd-info>`
}
... ... @@ -106,6 +109,7 @@ export default () => {
return `<cell-dispatch
:store-num="row.inStoreNum"
:buy-num="row.buyingNums"
:ship-num="row.shipmentsNums"
:lack-num="row.lackNum">
</cell-dispatch>`;
}
... ...
... ... @@ -83,7 +83,10 @@ export default () => {
render(row){
return `<cell-prd-info
:sku="row.productSku"
color="mock"
:color="row.colorName"
:name="row.productName"
:brand="row.brandName"
:price="row.salesPrice"
:size="row.sizeName"
></cell-prd-info>`
}
... ... @@ -95,6 +98,7 @@ export default () => {
return `<cell-dispatch
:store-num="row.inStoreNum"
:buy-num="row.buyingNums"
:ship-num="row.shipmentsNums"
:lack-num="row.lackNum">
</cell-dispatch>`;
}
... ...