Authored by 李奇

发货修改

... ... @@ -103,7 +103,6 @@ export default {
});
params.expressGoodsMap = goods;
service.allotDelivery(params)
.then(res => {
console.log(res)
... ...
... ... @@ -117,6 +117,14 @@ export default {
title: '商品信息',
key: 'info',
render() {
return `<modal-cell-prd-info
:sku="row.productSku"
:size="row.sizeName"
:color="row.colorName"
:brand="row.brandName"
:name="row.productName"
:price="row.salesPrice"
></modal-cell-prd-info>`
}
},
{
... ... @@ -152,13 +160,12 @@ export default {
</script>
<style lang="scss">
.upload-stock-modal {
.detail {
height: 200px;
}
.danger-tip {
margin-top: 20px;
color: #ff0000;
text-align: center;
}
... ...
... ... @@ -200,6 +200,12 @@
},
showUploadModal(index) {
const row = this.table.list[index];
const lackNum = row.inputLackNum;
if(!lackNum) {
this.$Message.error('请输入缺货数量');
return;
}
this.$refs.stockOutModal.show(row);
}
},
... ...