diff --git a/app/components/modal/deliver-product.vue b/app/components/modal/deliver-product.vue index 5359758..b357d08 100644 --- a/app/components/modal/deliver-product.vue +++ b/app/components/modal/deliver-product.vue @@ -103,7 +103,6 @@ export default { }); params.expressGoodsMap = goods; - service.allotDelivery(params) .then(res => { console.log(res) diff --git a/app/components/modal/upload-stock-out.vue b/app/components/modal/upload-stock-out.vue index df242cb..67f1006 100644 --- a/app/components/modal/upload-stock-out.vue +++ b/app/components/modal/upload-stock-out.vue @@ -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; } diff --git a/app/pages/trade/allot/views/undone.vue b/app/pages/trade/allot/views/undone.vue index 6f1df15..c5e9fb9 100644 --- a/app/pages/trade/allot/views/undone.vue +++ b/app/pages/trade/allot/views/undone.vue @@ -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); } },