...
|
...
|
@@ -45,7 +45,13 @@ |
|
|
@on-change="pageChange" :page-size="20" show-total></Page>
|
|
|
</LayoutList>
|
|
|
|
|
|
<DeliverProduct ref="deliver" :deliver-rows="deliverRows"></DeliverProduct>
|
|
|
<DeliverProduct
|
|
|
ref="deliverModal"
|
|
|
:deliver-rows="deliverRows">
|
|
|
</DeliverProduct>
|
|
|
<UploadStockOut
|
|
|
ref="stockOutModal">
|
|
|
</UploadStockOut>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
...
|
...
|
@@ -54,7 +60,7 @@ |
|
|
import moment from 'moment';
|
|
|
import service from 'trade-service';
|
|
|
import Store from '../store/undone';
|
|
|
import { DeliverProduct } from 'components/modal'
|
|
|
import { DeliverProduct, UploadStockOut } from 'components/modal' ;
|
|
|
import { CellPrdInfo, CellDispatch, CellDeliver, CellStockOut } from '../components';
|
|
|
|
|
|
export default {
|
...
|
...
|
@@ -173,7 +179,7 @@ |
|
|
this.$Message.error('请先勾选要发货的订单');
|
|
|
return;
|
|
|
}
|
|
|
this.$refs.deliver.show();
|
|
|
this.$refs.deliverModal.show();
|
|
|
},
|
|
|
setModel(k, v) {
|
|
|
this.filters[k].model = v;
|
...
|
...
|
@@ -186,6 +192,16 @@ |
|
|
return 'over-time';
|
|
|
}
|
|
|
return '';
|
|
|
},
|
|
|
lackNumChange(data) {
|
|
|
console.log(data)
|
|
|
const i = data.index;
|
|
|
const v = data.value;
|
|
|
this.table.list[i].inputLackNum = +v;
|
|
|
},
|
|
|
showUploadModal(index) {
|
|
|
const row = this.table.list[index];
|
|
|
this.$refs.stockOutModal.show(row);
|
|
|
}
|
|
|
},
|
|
|
components: {
|
...
|
...
|
@@ -193,7 +209,8 @@ |
|
|
CellDispatch,
|
|
|
CellDeliver,
|
|
|
CellStockOut,
|
|
|
DeliverProduct
|
|
|
DeliverProduct,
|
|
|
UploadStockOut
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|